7015 Commits

Author SHA1 Message Date
Jimmy Johnson
142884bcd8 fixing code style and enter/exit radius logic 2016-03-27 12:10:57 +02:00
Jimmy Johnson
dfc2d9b5e0 more clean up 2016-03-27 12:10:57 +02:00
Jimmy Johnson
515882ac0e more clean up 2016-03-27 12:10:57 +02:00
Jimmy Johnson
8829db8844 code clean up complete 2016-03-27 12:10:57 +02:00
Jimmy Johnson
26cb645ee0 follow me working 2016-03-27 12:10:57 +02:00
Jimmy Johnson
01e971b342 Tests 2016-03-27 12:10:57 +02:00
Jimmy Johnson
0797c7fc21 velocity smoothing 2016-03-27 12:10:57 +02:00
Jimmy Johnson
554d1ac013 making first setpoint on follow target activation loiter in place 2016-03-27 12:10:57 +02:00
Jimmy Johnson
69351675b6 follow target mode working 2016-03-27 12:10:57 +02:00
Jimmy Johnson
bbc8eaefd7 Adding new follow target navigation and main states. New follow target
topic added. New follow fsm added to the navigator
2016-03-27 12:10:57 +02:00
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 213cdf1a9139488f156721a72feded53d839d964.

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