Commit Graph

7005 Commits

Author SHA1 Message Date
Bo Liu e697998828 fix sdlog2 self deadlock bug 2016-03-26 13:59:33 -05:00
Daniel Agar 26bb2fd22f capitalize param values 2016-03-25 20:38:08 -04:00
Daniel Agar 6888545037 remove @unit enum 2016-03-25 20:33:25 -04:00
Daniel Agar bee39d93d9 battery param add units 2016-03-25 20:27:48 -04:00
Daniel Agar 70a68def83 params correct boolean tag 2016-03-25 20:25:17 -04:00
Daniel Agar ff9b8118ab fw_att_control add units 2016-03-25 17:24:48 -04:00
Daniel Agar b26f90406b group l1 control and tecs as FW 2016-03-25 17:04:59 -04:00
Daniel Agar c748eb6757 cleanup mission params 2016-03-25 16:28:51 -04:00
Lorenz Meier 6d42595c79 Fix MAVLink app teardown with mavlink stop-all command 2016-03-25 15:20:32 +01:00
Lorenz Meier c385d5e32b Adjust multicopter position control default params 2016-03-25 14:22:49 +01:00
Lorenz Meier 391f366a03 MAVLink app: formatting 2016-03-24 14:21:49 +01:00
Lorenz Meier e28b9edc8b Fix MAVLink log output and priorities 2016-03-24 14:21:36 +01:00
Julian Oes d3f710dbb5 mavlink: don't use the file logging on Snapdragon 2016-03-24 13:10:02 +01:00
Julian Oes 13866400fa commander: workaround to get calibration status
If mavlink_log calls follow close after each other a later one will
replace the previous one. Therefore do a quick usleep to get the
calibration status out the door.
2016-03-24 13:10:02 +01:00
Julian Oes de0e467150 mavlink: bring buffering for log messages back 2016-03-24 13:10:02 +01:00
Julian Oes 1fc9b99307 commander: some rebase fixes 2016-03-24 13:10:02 +01:00
Julian Oes aecdd4e32f mavlink: add logging of mavlink messages back
The logging into a text file was commented out in the recent changes but
is added back in with this commit.
2016-03-24 13:10:02 +01:00
Julian Oes 198b8a299e mavlink: remove file added by accident 2016-03-24 13:10:02 +01:00
Julian Oes 4ed29bf66b mc_pos_control_multiplatform: comment mavlink_log
The mavlink log didn't seem to be used anyway. This should fix jenkins.
2016-03-24 13:10:02 +01:00
Julian Oes bba0d0384d drivers/modules: changes after mavlink_log change
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Julian Oes 2d4179a35b mavlink: refactor mavlink_log
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
2016-03-24 13:09:16 +01:00
Julian Oes 790fa7667c commander: cherry-pick fixes 2016-03-24 13:08:31 +01:00
Julian Oes 88a812618c commander: fix the calibration for NuttX.
This fixes some regressions on the calibration using NuttX, especially
considering the PRIME param and the device ids.
2016-03-24 13:08:31 +01:00
Julian Oes d0e9ec0c67 commander: get PRIME parameter back
The PRIME param got lost on the way of the refactoring.
2016-03-24 13:08:31 +01:00
Julian Oes e949d6d18a commander: get PRIME parameter back
The PRIME param got lost on the way of the refactoring.
2016-03-24 13:08:31 +01:00
Julian Oes 10ce1c19a2 mag_calibration: small fix for non QURT 2016-03-24 13:08:31 +01:00
Julian Oes 1b5210ca13 sensors/calibration: use params in DF wrappers
Instead of using a uORB topic with the calibration values published in
sensors and consumed by the DriverFramework driver wrappers, let's just
use the the params directly. This is quite a rough change and needs
definitely some cleanup and refactoring.
2016-03-24 13:08:31 +01:00
Julian Oes c152f88f7f uavcan: fix after calibration refactor 2016-03-24 13:08:30 +01:00
Julian Oes b9cc0b74e2 drivers: re-use calibration topic
E.g. instead of defining a gyro_scale struct in drv_gyro.h, use the
gyro_calibration message.
2016-03-24 13:08:30 +01:00
Julian Oes 98e407696e commander: whitespace only
Trailing whitespace all over.
2016-03-24 13:08:30 +01:00
Julian Oes f24b2a701f sensors: first part of a calibration refactor
This adds uORB messages to publish calibration data by sensors which is
then consumed by the sensors. Currently this is only used on Snapdragon
and guarded by QURT ifdefs.
2016-03-24 13:08:30 +01:00
Lorenz Meier 76a8bea1c1 Fix mixer reporting 2016-03-24 12:07:06 +01:00
Lorenz Meier 2fa1673ee0 Make 800 bytes space on IO. From @tridge. 2016-03-24 10:40:29 +01:00
Lorenz Meier 1f47aa1180 SD log: Fix skipped statistics 2016-03-23 20:08:45 +01:00
Lorenz Meier 2dcd529ad8 sdlog2: Use more appropriate priorities and locking strategies. 2016-03-23 20:08:45 +01:00
Julian Oes a446a337e9 Revert "mavlink: send out parameters faster over UDP"
This reverts commit 213cdf1a91.

Raising the stream rate of param values had the nice effect that
receiving the params became really quick. However, on the downside it
set all other streams pretty slow. This needs to be fixed differently.
2016-03-23 11:46:25 +01:00
Julian Oes 2e3093cd8f sdlog2: put defines around QURT path 2016-03-22 22:22:30 +01:00
Kevin Mehall 46bc1774f4 sdlog2: hard-code path to work on Linux 2016-03-22 22:21:24 +01:00
Siddharth Bharat Purohit 91a32ff7fb landdetector: use PX4_WARN and remove printf statements 2016-03-22 22:20:11 +01:00
Julian Oes 4a1e9d610b param_shmem: fix the "unknown param id" bug
The recent workaround to flag all params as used did not include
param_for_used_index(). However, this function got used in the case if
one param had not been received by QGC and was requested by its index.
2016-03-22 20:38:11 +01:00
Daniel Agar 25cb671a6c mission_block.h add TODO 2016-03-22 06:54:42 +01:00
Daniel Agar 408d147a18 MissionFeasibilityChecker geofence ignore NAV_CMD_DO_*
-closes #4040
2016-03-22 06:54:41 +01:00
Andreas Antener f3a1abf659 added support for SP type idle 2016-03-21 20:32:19 +01:00
Andreas Antener 664b0ee0a9 read setpoint type from type mask in offboard 2016-03-21 20:32:19 +01:00
Andreas Antener 46ad873d00 add nan protection to attitude and actuator targets 2016-03-21 20:32:19 +01:00
Andreas Antener b1ee89b5ca add nan protection for position target local 2016-03-21 20:32:18 +01:00
Andreas Antener a1f4ab21bf fixed code style 2016-03-20 14:48:47 +01:00
Andreas Antener 6782bdaf69 prevent alternate flight control group (1) throttle from being active when safety is disabled 2016-03-20 11:19:23 +01:00
Andreas Antener 4847023cad reset current setpoint when entering RTL 2016-03-19 19:30:09 +04:00
Lorenz Meier f3f01ad960 Fix NuttX compilation 2016-03-19 19:28:42 +04:00