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
Andreas Antener
55e1259f59
prevent vtol from entering ACRO (temporary)
2016-03-10 21:43:47 +01:00
Lorenz Meier
2e63cfbcfc
Do not check for RC map
2016-03-06 17:55:45 +01:00
Lorenz Meier
8a91ce65e8
Ensure RC switches get evaluated on first run
2016-03-06 14:56:25 +01:00
Lorenz Meier
82a390c125
Commander: Better user feedback for kill switch
2016-03-06 12:48:28 +01:00
Lorenz Meier
74694e3c77
Commander: Support fallback strategies for rejected control modes
2016-03-06 12:34:31 +01:00
Lorenz Meier
ffd24e8cf0
Commander: Support single channeel flight mode selection
2016-03-05 20:41:02 +01:00
Lorenz Meier
f34f5c4f5a
Mag: Shift output argument
2016-03-02 02:37:23 +01:00
Lorenz Meier
4185d0ae41
Better error reporting on mag failure
2016-03-02 02:12:48 +01:00
Lorenz Meier
984f07d8c4
Commander: Relax mag offset to maximum
2016-03-02 02:03:12 +01:00
Lorenz Meier
3001d08df6
Commander params for single switch flight mode selection
2016-02-28 20:50:47 +01:00
Lorenz Meier
3af73e4022
More commander meta data
2016-02-28 19:53:23 +01:00
Lorenz Meier
d6f7ced274
Commander: Add param meta data
2016-02-28 19:48:43 +01:00