Beat Küng
e9019582cc
uORB::DeviceMaster::ioctl: avoid operator[], since we already have the iterator
...
In the existing implementation, the map had to be searched twice.
2016-04-19 11:12:35 +02:00
Beat Küng
9c360e9f88
uORB: fix node_open: *instance is read even though it's an output parameter
...
This fixes a subtle bug: the instance parameter of orb_advertise is an output
parameter and thus its value can be random. However in node_open this value
is accessed and thus the open(...) call could succeed even though it should
not. This can happen for example if a second advertiser of a topic calls
orb_advertise_multi with *instance=0.
The existing implementation worked only because *instance was initialized
with -1 in most cases.
2016-04-19 11:12:35 +02:00
tumbili
852e33697d
fixed ekf2_replay:
...
we are now using the vehicle_landing_detected topic
instead of getting the landed flag from the vehicle status topic
2016-04-19 10:58:14 +02:00
Emmanuel Roussel
b3841e5ea5
ran astyle
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
ec427f61c4
fix a small mistake: parameter LNDMC_FFALL_TRIG was not shown in QGC.
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
f350bab67b
use accelerations provided by the control_state message instead of
...
sensor_combined
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
e6b3cf3ac9
Fix code style
...
(Ran AStyle)
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
59c9f6b4fb
Removed debug parts
...
Disable free-fall detection when threshold is 0
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
776c7f5d60
Updated commander to take free-fall into account
...
Added free-fall status in vehicle_status topic
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
98d51179ad
Added time to trigger free-fall as a parameter
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
78a99797fb
Implemented first try on multicopter free-fall detection
2016-04-18 22:27:11 +02:00
Emmanuel Roussel
35110a52f9
Added room in land_detector code for free-fall detection
2016-04-18 22:27:11 +02:00
devbharat
e70804c9d0
Removed debug comments
2016-04-18 18:45:50 +02:00
Roman
cf7145c8d9
calculate large error rotation correclty in attitude controller
2016-04-18 18:44:14 +02:00
Andrew Tridgell
9daf6c336b
px4iofirmware: removed unused PX4IO_P_CONFIG_CONTROL_GROUP_COUNT
2016-04-18 18:44:05 +02:00
Lorenz Meier
7dae3abac9
Sensors: Adjust mode switch ranges
2016-04-18 18:29:21 +02:00
Lorenz Meier
0adb4d8e8c
Commander: Fix single channel mode switching
2016-04-18 18:29:07 +02:00
Lorenz Meier
b90f6dc157
Fix text print to logfile
2016-04-18 17:06:12 +02:00
Andrew Tridgell
fde635ef5a
px4iofirmware: fixed display of sbus rate in px4io status
2016-04-18 11:43:24 +02:00
Andrew Tridgell
f19761d278
px4iofirmware: support setting the SBUS output frame rate
...
this allows for helicopters and multicopters with SBUS output
2016-04-18 11:43:24 +02:00
Gustavo Jose de Sousa
955af32b1c
systemlib: properly check for MULT_COUNT value
...
Checking with preprocessor directives doesn't have any effect because
MULT_COUNT is an enum value rather than a macro. Thus, since MULT_COUNT is
undefined from the preprocessor perspective, even if the number of items in
`enum MULT_PORTS` (except MULT_COUNT) was greater than 33, the error wouldn't
be raised.
2016-04-18 11:38:28 +02:00
Paul Riseborough
25dbb5d628
ekf2: Add missing tuning parameters
2016-04-18 11:15:38 +02:00
Paul Riseborough
0d50dd03d6
ekf2: Specify display precision for parameters
2016-04-18 11:15:38 +02:00
Paul Riseborough
81292c1e65
ekf2: Enable position of range finder and flow sensor to be adjusted
2016-04-18 11:15:38 +02:00
Paul Riseborough
66fe3ab583
ekf2: Use corrected local position and velocity
...
Corrects for IMU offset from body frame origin
2016-04-18 11:15:38 +02:00
Paul Riseborough
43e56f9fdc
ekf2: Add tuneable parameters for sensor positions
2016-04-18 11:12:09 +02:00
Paul Riseborough
7acd5fda22
ekf2: send flow sensor yaw rate data
2016-04-18 11:12:09 +02:00
stmoon
717c90eab4
enable commander hil option when hils mode
...
test for merge...
recover modification part
2016-04-18 11:10:02 +02:00
Lorenz Meier
98443e8712
Update UAVCAN
2016-04-18 11:07:44 +02:00
Jonathan Challinger
d5dfb17f0d
px4iofirmware: return failure when FORCE_SAFETY_OFF fails
2016-04-17 21:38:16 +02:00
Lorenz Meier
51f94809d8
UAVCAN update
2016-04-17 21:20:48 +02:00
Lorenz Meier
cdeb7df43c
MAVLink: More robust string operations
2016-04-17 20:03:48 +02:00
Andrew Tridgell
943e6ffbc9
px4iofirmware: blink blue LED more rapidly when override is active
...
this makes it easier for a user to test that override is working
correctly in pre-flight checks. Otherwise override is hard to
distinguish from normal manual mode
2016-04-17 19:10:23 +02:00
Lorenz Meier
f164500580
Commander: optimize text for voice output
2016-04-17 19:06:00 +02:00
Lorenz Meier
74db7bdf84
Multiplatform: Resolve compile warning
2016-04-17 18:32:52 +02:00
Lorenz Meier
a663aa68af
Send out ADS-B reports to GCS
2016-04-17 18:19:32 +02:00
Lorenz Meier
2c2a87cea1
MAVLink app: Read MAVLink transponder report
2016-04-17 17:57:00 +02:00
Lorenz Meier
1da25db617
Add ADSB transponder report
2016-04-17 17:56:39 +02:00
Lorenz Meier
40546647b3
Update EKF2 interface
2016-04-17 16:21:49 +02:00
Lorenz Meier
7e8f434869
Update UAVCAN library version
2016-04-17 16:16:39 +02:00
Lorenz Meier
236304b929
Update EKF2 version
2016-04-17 16:16:29 +02:00
Holger Steinhaus
59ee9ea1ae
uavcan: add IOCTL interface for queryiung node discovery progress
2016-04-17 16:06:09 +02:00
James Goppert
0f0f354acd
Added warning for MPC_ALT_MODE.
2016-04-15 11:02:32 -04:00
James Goppert
372de3fca9
Added LPE to testing, fix LPE logging, add SENS_EN_SF0X
2016-04-14 18:17:58 -04:00
James Goppert
f905276958
Added mpc_alt_mode.
2016-04-14 17:52:28 -04:00
James Goppert
d45e5ca50e
Added control state subscription.
2016-04-14 17:41:08 -04:00
James Goppert
f73af95b38
Added SYS_MC_EST_GROUP to allow fine grained algorithm selection.
2016-04-14 15:22:25 -04:00
James Goppert
0bfe3a4403
Updated lpe for separate sensor source files, also made more quiet.
2016-04-14 14:32:22 -04:00
James Goppert
afcc5b4695
Moved control library.
2016-04-14 14:28:32 -04:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00