10806 Commits

Author SHA1 Message Date
Paul Riseborough
07eb4feed8 ekf2: publish GPS check status 2016-04-20 21:47:29 +02:00
Mark Whitehorn
f097e118df assign timestamp 2016-04-19 21:19:44 +02:00
Julian Oes
91133021d6 posix/qurt cmake: fix eagle upload 2016-04-19 15:10:43 +01:00
tumbili
d227c61246 update all fields of the control state message 2016-04-19 13:25:41 +02:00
Sebastian Verling
184a2fa7de publishing velocity and position to control state in ekf2
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2016-04-19 13:25:41 +02:00
Roman
b1b8ab62a3 updated ecl ekf 2016-04-19 13:25:41 +02:00
Roman
c6668cae6c provide ekf2 with eas2tas factor 2016-04-19 11:20:57 +02:00
Roman
f5730dc7b5 updated ecl ekf 2016-04-19 11:19:36 +02:00
Beat Küng
80e05dd3a3 orb: fix memory leaks, forgotten unlock & wrong exit condition in advertisement
How can someone just add a FIXME for such a simple case?!
2016-04-19 11:12:36 +02:00
Beat Küng
fdc10d212b orb: fix when orb_subscribe_multi is called before orb_advertise_multi
This fixes the previously introduced unit test. It fixes the case where
orb_subscribe_multi is called multiple times with different instances,
and no publisher advertised the topic yet. In this case all subscribers
got the same instance 0.
2016-04-19 11:12:36 +02:00
Beat Küng
8fa18f412a uorb: add unit test that currently fails (simulation of a queue with a single topic)
This fails both on NuttX & Linux
2016-04-19 11:12:36 +02:00
Beat Küng
9041b7e16d fix formatting style for uORB 2016-04-19 11:12:35 +02:00
Beat Küng
934207b518 uORB: merge the files uORBManager_{nuttx,posix}.cpp, largely the same code 2016-04-19 11:12:35 +02:00
Beat Küng
c598429547 uORB doc: remove redundant doc & update existing one (describe the _multi methods) 2016-04-19 11:12:35 +02:00
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
Benoit Landry
10b9fde169 parameters for esc duty cycles 2016-04-18 23:43:05 +02:00
Mark Charlebois
169259059b Updated cmake_hexagon and all the associated files that use it
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-04-18 23:40:56 +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
Andrew Tridgell
3bad8131cf px4io: don't call io_set_rc_config when rc config disabled 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
cc0fbdd549 px4fmu: added SET_MODE ioctl
this gives control over timer capture driver
2016-04-18 11:45:44 +02:00
Andrew Tridgell
e60f2c3f41 drv_pwm: added new PWM_SERVO_SET_MODE ioctl 2016-04-18 11:45:44 +02:00
Andrew Tridgell
c66fab01e5 drv_pwm: expand range of PWM ioctl indexes
we had run out of them. _IOC_MASK is 0xFF, so we can add an extra 16
without an issue
2016-04-18 11:45:13 +02:00
Andrew Tridgell
fde635ef5a px4iofirmware: fixed display of sbus rate in px4io status 2016-04-18 11:43:24 +02:00
Andrew Tridgell
c5f5b9f53c drv_pwm_output: added IOCTL for SBUS rate 2016-04-18 11:43:24 +02:00
Andrew Tridgell
30ce7fdd48 px4io: display SBUS rate in px4io status 2016-04-18 11:43:24 +02:00
Andrew Tridgell
6290e621d4 px4io: added control for setting SBUS rate 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
Andrew Tridgell
58122ed33d sbus: added support for changing SBUS output rate 2016-04-18 11:43:24 +02:00
Andrew Tridgell
05790ff540 px4fmu: prevent checking of safety switch parameter in main loop 2016-04-18 11:41:01 +02:00
Andrew Tridgell
3fda934d1b px4io: on config error ask IO to reboot to bootloader
this allows us to update fw when core config settings have changed,
such as the actuators/servos change that happened recently
2016-04-18 11:40:07 +02:00
Andrew Tridgell
85e8cd89b6 px4io: set reasonable default voltage scaling
needed for when px4 param system not available in ardupilot
2016-04-18 11:39:37 +02:00
Andrew Tridgell
5928569321 px4fmu: fixed signed/unsigned comparison 2016-04-18 11:39:06 +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
Andrew Tridgell
9984555faa motor_test: fixed build
this is C, not C++
2016-04-18 11:37:43 +02:00