Lorenz Meier
ad3ca2a9d2
Commander: Indicate low battery
2016-04-10 10:57:38 -07:00
Lorenz Meier
e3d6bad3fe
Revert "report sensor init failure"
...
This reverts commit 407f467b456a393a891a936c79cc90e64e52fd45.
2016-04-10 10:37:03 -07:00
Lorenz Meier
b66967a8a5
Revert "add low battery warning and comment out the "resolved" messages"
...
This reverts commit 221e259d01b32f23d14270af78d0996b728bf9d1.
2016-04-10 10:36:48 -07:00
Lorenz Meier
34a9449df9
Include cal status data for mag
2016-04-09 18:00:38 -07:00
Lorenz Meier
224aaeddfe
Harden calibration experience on master
2016-04-09 13:44:53 -07:00
Lorenz Meier
d9b32221e7
Commander: Reduce mag output
2016-04-09 11:53:44 -07:00
Lorenz Meier
275fe8ee2d
Play safe with calibration done messages
2016-04-09 11:50:50 -07:00
Lorenz Meier
9fdbaa5a22
Mag cal
2016-04-06 14:30:51 -07:00
Lorenz Meier
6d24e33819
Commander: Space out mag feedback further
2016-04-06 14:23:49 -07:00
Lorenz Meier
43e0186eb3
Commander: Space out MAVLink log messages more
2016-04-05 21:33:40 -07:00
Mark Whitehorn
817c0eafbc
add low battery warning and comment out the "resolved" messages
2016-04-05 19:13:49 -07:00
Mark Whitehorn
b4520f538e
report sensor init failure
2016-04-05 19:13:49 -07:00
Julian Oes
8707cfe9f2
commander: use macro with wait in all calibrations
2016-04-05 15:36:03 -07:00
Julian Oes
f583f51027
commander: add macros for log messages and wait
...
As a current workaround we need to wait some time after publishing a
mavlink log message in order for it to arrive in QGC.
2016-04-05 15:36:02 -07:00
Julian Oes
7352dc6f2e
commander: workaround to wait 1s before param save
...
Without this wait, we end up saving the old parameters on Snapdragon.
2016-04-05 13:02:53 +02:00
tumbili
94aaf0d298
increase sleep time in accel calibration routine to make accel calibration work on snapdragon
2016-04-04 11:17:26 +02:00
Julian Oes
f4f1f5f027
commander: raise stack of low prio thread
...
The accel calibration sometimes lead to a crash. Raising the stack size
resolved the issue.
2016-04-01 15:12:08 +02:00
Felix Hu
bd580e09bf
supports MindPXv2 borad which is a product from AirMind.
2016-03-30 19:45:39 +02:00
Julian Oes
9a5aa4f112
commander: pass PreflightCheck on Snapdragon
...
The tests don't work properly on Snapdragon yet, so just report happy
for now. Otherwise users get messages such as "No Gyro found" which is
wrong.
2016-03-30 10:00:22 +02:00
Lorenz Meier
3981f06d42
Reject arming timeout
2016-03-29 22:42:57 +02:00
Julian Oes
f718c25dbe
commander: remove QURT workaround
...
Timestamps didn't exist when commander was run on the Linux side.
However, commander is now always run on the QURT side, so the hack is no
longer needed.
2016-03-27 12:40:10 +02:00
Jimmy Johnson
38c40d5601
fixing var change after rebase, setting min mission takeoff altitude to 10m for safety
2016-03-27 12:10:57 +02:00
Jimmy Johnson
dfc2d9b5e0
more clean up
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
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
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
1fc9b99307
commander: some rebase fixes
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
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
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
Daniel Agar
7a9427bc34
param remove empty @unit
2016-03-14 09:12:34 +01:00
Daniel Agar
13932103ba
commander param @unit
2016-03-14 09:10:29 +01:00
Lorenz Meier
d81d0c21ed
More debug output in commander shell
2016-03-13 19:49:18 +01:00
Lorenz Meier
36a8f3f45a
Commander: Ignore speed commands
2016-03-13 18:09:04 +01:00
Daniel Agar
31a975e501
VEHICLE_CMD_DO_SET_MODE missing RATTITUDE
2016-03-13 17:44:55 +01:00
Lorenz Meier
1fdf252e96
Remove duplicate LAND mode, clean up mode reporting across the board to ensure consistency
2016-03-13 15:39:35 +01:00
Lorenz Meier
c198388dd5
Use new data for mode changes
2016-03-12 16:36:04 +01:00
Lorenz Meier
3373e994b4
Commander params: Hold mode is now called hold mode
2016-03-12 16:21:16 +01:00
Lorenz Meier
bac1903a43
param meta data cleanup
2016-03-12 16:15:35 +01:00
Daniel Agar
f944ac7e26
commander add mode argument
2016-03-12 12:23:31 +01:00
Mark Whitehorn
8e4a1ca36e
change large mag offset from error to warning
2016-03-11 13:58:26 -07:00