Daniel Agar
3faab909d7
commander move most orb subscriptions to uORB::Subscription
2019-06-04 18:44:51 -04:00
Daniel Agar
777b615cf9
land_detector move to PX4 WQ hp_default
2019-06-04 18:10:21 -04:00
Daniel Agar
53aa4130a8
land_detector move orb subscriptions to uORB::Subscription
2019-06-04 18:10:21 -04:00
baumanta
2320088541
use position controller parameters for limitation instead of acceleration/jerk
2019-06-04 16:47:33 +02:00
baumanta
c497d94616
publish a minimal message for logging/debugging
2019-06-04 16:47:33 +02:00
baumanta
09e1d4888c
use velocity component in bin direction instead of norm
2019-06-04 16:47:33 +02:00
baumanta
33cd032c35
camelcase function name, initialize c++11 style
2019-06-04 16:47:33 +02:00
baumanta
e7d17cc265
consider acceleration ramp-up time
2019-06-04 16:47:33 +02:00
baumanta
ab792093e1
fix wrong if clause
2019-06-04 16:47:33 +02:00
baumanta
23c23e3aa5
clean up
2019-06-04 16:47:33 +02:00
baumanta
f50a1d58b0
bugfixes and cleanup
2019-06-04 16:47:33 +02:00
baumanta
4212ae8b87
sign bug fix and clean up
2019-06-04 16:47:33 +02:00
baumanta
60befdce5b
change collision prevention algorithm
2019-06-04 16:47:33 +02:00
baumanta
8427cd3051
constant acceleration breaking for collision prevention
2019-06-04 16:47:33 +02:00
Julian Oes
6f9598c76a
topic_listener: document how to exit
...
This was left out when the feature was added.
2019-06-04 09:24:00 -04:00
Daniel Agar
ceac68e69d
uORB remove unused SubscriptionInterval and SubscriptionIntervalData
2019-06-04 09:17:34 -04:00
Beat Küng
d68dcb9cf7
log_writer_file: increase stack size by 20 bytes
...
Seems to be due to the console buffer.
2019-06-04 11:57:54 +02:00
Beat Küng
0d71eeccbf
console buffer: write to log as 'boot_console_output' message
2019-06-04 11:57:54 +02:00
Beat Küng
08b8ee4831
replace fprintf(stderr with PX4_{INFO/WARN}
2019-06-04 11:57:54 +02:00
Beat Küng
d947818654
console: add simple dmesg functionality (enable only on v5)
2019-06-04 11:57:54 +02:00
bresch
2307c7c390
Geofence - Rename _warning_action_on to _geofence_warning_action_on
...
since it is only set by the geofence logic. Simplify conditions in IF
statements.
2019-06-04 08:35:56 +02:00
bresch
f8f967f073
Geofence - Change from "re-engage geofence failsafe every 10s when
...
outside the fence" to "engage geofence failsafe on transition". This
way, the pilot is not stucked in the non flight zone and can switch to
a manual mode and fly back or trigger RTL.
2019-06-04 08:35:56 +02:00
bresch
427b2e6636
Geofence - Do not trigger geofence failsafe while in low battery
...
failsafe action.
Also move geofence flags from static variables declared into the if
statement to private members of the class.
2019-06-04 08:35:56 +02:00
pedro-roque
a707403eaf
mc_att_ctrl: added yawrate control from offboard.
...
This commit adds Roll Pitch Yawrate Thrust (RPYrT) setpoint control to the
PX4 stack, enabling the UAV to follow specific yawrates sent from
offboard. It also introduces individual body_rate flags, along the
lines of mavros.
Tested on a MoCap enabled flight arena in KTH Royal Institute of
Technology, Stockholm. The MAV receives RPYrT setpoints from an
external PID controller to stabilize around position setpoints.
The UAV is also externally disturbed to assess the stability to
external unmodeled events.
Fixed Kabir comments.
Removed deprecated ignore_bodyrate.
Fixed integration test.
2019-06-04 08:26:09 +02:00
Matthias Grob
ac002db25c
MAVLink/Commander: @Pedro-Roque's offboard yawrate handling
2019-06-04 08:26:09 +02:00
Daniel Agar
579cbbb42c
mavlink move to new lightweight uORB::Subscription
2019-06-03 17:06:21 -04:00
Daniel Agar
2c63e335e9
uORB::Subscription subscribe directly to uORB device node object
2019-06-03 17:06:21 -04:00
Daniel Agar
2d1c60bc85
SITL offboard ATT test reduce Z boundary requirement
...
- fixes #12155
2019-06-03 12:31:12 -04:00
rfauvet
755eccbe60
simulator: fixing missing declaration
...
The "len" variable was not defined and gave me an error, declaring it as "int" fixed it
2019-06-03 10:02:36 -04:00
mcsauder
8966ad59c7
Add distance sensor id to the the MavlinkStreamDistanceSensor class and format whitespace in mavlink_messages.cpp.
2019-06-01 14:23:49 -04:00
Daniel Agar
32fb2bae8c
InvenSense MPU9250 move to PX4Accelerometer and PX4Gyroscope helpers
2019-05-31 21:43:30 -04:00
Daniel Agar
cd45d8fc68
fxas21002c split out main and header
2019-05-31 18:20:32 -04:00
Daniel Agar
b57dff8594
fxas21002c move to PX4Gyroscope and cleanup
2019-05-31 18:20:32 -04:00
Daniel Agar
c8ea198a78
uavcan cmake FATAL_ERROR if platform isn't set
...
- this indicates a build system error
2019-05-31 12:20:50 -04:00
Daniel Agar
43e3fc707d
simulator move to PX4Accelerometer, PX4Gyroscope, PX4Magnetometer, PX4Barometer helpers ( #12081 )
2019-05-30 21:07:26 -04:00
Daniel Agar
4a4d323a97
Update submodule mavlink v2.0 to latest Thu May 30 13:05:26 UTC 2019 ( #12127 )
...
- mavlink v2.0 in PX4/Firmware (a10b1afb54 ): https://github.com/mavlink/c_library_v2/commit/4b80386684d6823d43a87c53b28dc62570bfd42b
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/60df2613725c21f3eedc51251285f80a22e7d07d
- Changes: https://github.com/mavlink/c_library_v2/compare/4b80386684d6823d43a87c53b28dc62570bfd42b...60df2613725c21f3eedc51251285f80a22e7d07d
2019-05-30 21:01:47 -04:00
Daniel Agar
f85c15e247
board common create generic dma allocator (from fat_dma_alloc)
2019-05-30 19:31:40 -04:00
Daniel Agar
bf12583d80
fw_pos_control_l1 replace FW_LND_THRTC_SC param description < character
...
- fixes #12124
2019-05-30 18:03:03 -04:00
Daniel Agar
e4926373e6
INA226 move to new WQ and cleanup
2019-05-30 10:22:15 -07:00
Daniel Agar
a10b1afb54
vtol_att_control vtol_type enum -> enum class
2019-05-30 09:04:08 -04:00
bresch
d13dfdcd24
AutoLineSmoothVel - Remove duplicate of _yaw_sp_prev update. This is done in the Auto FlightTask, _limit_yaw_rate
2019-05-30 11:14:44 +02:00
bresch
a7cf981c8c
AutoLineSmoothVel - Reduce jerk if acceleration, velocity and desired velocity are small to help the optimizer to converge towards zero
2019-05-30 11:14:44 +02:00
bresch
3499b6ff89
AutoLineSmoothVel - Do not generate heading from trajectory if the velocity vector is smaller than 10cm/s
...
This is done to avoid generating large yaw changes when the velocity
vector is small; for example when switching into loiter or reaching the
last waypoint.
2019-05-30 11:14:44 +02:00
Daniel Agar
21c791e959
listener exit with ctrl-c, escape, or q
2019-05-30 10:53:06 +02:00
Julian Oes
2ac8841f35
vtol/fw/mc: fix VTOL enum shadowing
...
This changes the enums used for various VTOL states to enum classes
which makes them type-safe and should avoid shadowing.
This change was motivated by a Clang warning about shadowing of the
enum const TRANSITION_TO_FW which was declared twice, once in
vtol_type.h and once in standard.h.
This change only removes the shadowing but presumably these enums could
be cleaned up and consolidated further.
2019-05-29 23:51:10 -04:00
Daniel Agar
4b3f68f90c
cmake and Tools/setup.sh default to python3
2019-05-29 20:48:22 -04:00
Daniel Agar
f593e3de9c
AK09916 move to new WQ, PX4Magnetometer, and cleanup
2019-05-29 13:59:08 -04:00
Daniel Agar
a523e18c13
ST L3GD20 move to PX4Gyroscope helper
2019-05-29 13:56:18 -04:00
Martina Rivizzigno
119ccc4256
ObstacleAvoidance: fix comment
2019-05-29 15:16:33 +02:00
Martina Rivizzigno
61f69ed139
ObstacleAvoidance: use convention for paramter name
2019-05-29 15:16:33 +02:00