17729 Commits

Author SHA1 Message Date
Lorenz Meier
3003ed8d40 Make battery failsafe limits configurable 2016-04-25 08:44:51 +02:00
Lorenz Meier
5c70b44d0a Navigator: Support finer granularity of RTL and failsafe actions 2016-04-25 08:44:51 +02:00
Lorenz Meier
55d18949bc Commander: support finer granularity of data llink loss and RC loss actions 2016-04-25 08:44:51 +02:00
Leon
b781006e20 Increase sending of navstate and gpsfix to 2 Hz 2016-04-25 07:55:53 +02:00
Leon
5d114d3984 Small improvements and corrections
Added more SPort GPS Sensors

Fix code style

Adding DIY IDs

Moved navstate and gpsfix away from Temp1 and Temp2 to their own IDs

More consistent names

Fix codestyle

Rebase work off master frsky_telemetry driver

Fixed code-style error

forgot something
2016-04-25 07:55:49 +02:00
Julian Oes
a302e79bb6 param_shmem: be less chatty, printf cleanup 2016-04-24 20:03:10 +02:00
Lorenz Meier
a1e90f4aa7 Better loiter handling 2016-04-24 20:03:05 +02:00
Julian Oes
92afa7c258 mag_calibration: bugfix for device ID of mag
The device ID is defined as a uint32_t in the driver and topic but
stored as a int32_t param. It is therefore sufficient if the device ID
is not 0 in order to be valid.
2016-04-24 17:07:37 +02:00
Lorenz Meier
588133e85d Commander: Only change flight mode immediately if GCS requested it 2016-04-24 12:10:23 +02:00
Lorenz Meier
2244ff167f Navigator: execute on reposition commands 2016-04-24 11:54:20 +02:00
Lorenz Meier
711053fd76 Commander: Switch flight mode so reposition commands can get applied 2016-04-23 20:12:27 +02:00
Lorenz Meier
05aae9410c Navigator: Handle reposition commands. Untested 2016-04-23 20:12:11 +02:00
Lorenz Meier
c99ff66f75 Support disarming fixed wing if landed 2016-04-23 18:27:18 +02:00
Lorenz Meier
1ecfaff6ea Fix up power consumption estimation 2016-04-23 17:51:24 +02:00
Lorenz Meier
4beca408b9 Fix Jenkins build error 2016-04-23 16:59:40 +02:00
Lorenz Meier
25f327c4ac Set RSSI to zero if we loose signal 2016-04-23 16:33:25 +02:00
Lorenz Meier
82d51c5d17 Support more failsafe actions on data link and RC loss 2016-04-23 16:31:03 +02:00
Lorenz Meier
b402cd9336 Battery: Fix code style 2016-04-23 15:51:44 +02:00
Daniel Agar
41c1e56075 FW stabalized mode properly initialize att_sp 2016-04-23 15:50:43 +02:00
Paul Riseborough
f3ec95c3b2 ekf2_replay: Add missing GPS height data 2016-04-23 15:50:01 +02:00
Mark Charlebois
1b3ac22d3f Added missing controllib
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-04-23 15:49:34 +02:00
Andreas Antener
c0177e9795 do not reset VT parameters on every boot 2016-04-23 15:48:42 +02:00
Lorenz Meier
8955fdc0e1 Commander: Decouple land detection states 2016-04-23 15:47:59 +02:00
Lorenz Meier
ba817c7e45 Battery handling: Make critical state accessible 2016-04-23 15:47:20 +02:00
Lorenz Meier
268b2e3546 Improve yaw behaviour in RTL 2016-04-23 15:47:00 +02:00
Lorenz Meier
50433c5eee Commander: Better RTL output 2016-04-23 15:12:20 +02:00
Lorenz Meier
36e2bdf876 Commander: Support battery failsafe 2016-04-23 14:52:37 +02:00
Lorenz Meier
5b897e095a Generalize RTL handling 2016-04-23 14:52:30 +02:00
Lorenz Meier
a49ba1a383 Sensors: Code style 2016-04-23 14:45:12 +02:00
Lorenz Meier
7d57713dd5 Start simulator after params have been loaded and set 2016-04-23 14:33:10 +02:00
Lorenz Meier
19f2a7bff0 Only publish battery if we can measure something, initialize battery topic in commander correctly 2016-04-23 14:29:25 +02:00
Lorenz Meier
4b0f1a6fb1 Battery lib: Fix interfaces and params 2016-04-23 14:25:21 +02:00
Lorenz Meier
0733651d01 Simulator: Fix battery interface 2016-04-23 14:25:01 +02:00
Lorenz Meier
803880a9f8 MAVLink: Fix current reporting 2016-04-23 14:24:36 +02:00
Benoit Landry
1b7319d2e5 adding the position control mode change for accel control back to the commander 2016-04-22 10:31:52 +02:00
Benoit Landry
95faba391a accel control in pos controller 2016-04-22 10:31:52 +02:00
Benoit Landry
ce810542e2 simple NED acceleration control interface 2016-04-22 10:31:52 +02:00
Robert Dickenson
2dac97fe68 Add required rotation option to driver startup command and fix a couple of details in warnings/comments 2016-04-22 10:30:19 +02:00
Robert Dickenson
b797657694 remove the commented out WARN as it's no longer an issue 2016-04-22 10:30:19 +02:00
Robert Dickenson
91241626a9 change type mag_scale to type struct mag_calibration_s for compatibility with master (only noted this thanks to travis build test) 2016-04-22 10:30:19 +02:00
Robert Dickenson
cb3c625ea4 Apply AStyle to fixup formating 2016-04-22 10:30:19 +02:00
Robert Dickenson
630146686e Comment out line which checks for attempt to set sampling rate beyond that supported by device. 2016-04-22 10:30:19 +02:00
Robert Dickenson
edd17771b1 Quiet an annoying warning 2016-04-22 10:30:19 +02:00
Robert Dickenson
45a601b9c1 New driver for the LIS3MDL magnetometer. 2016-04-22 10:30:19 +02:00
Lorenz Meier
ff800a4c97 MAVLink app: Save stack for file name handliling, log only when armed 2016-04-22 10:28:13 +02:00
Lorenz Meier
851b5d02a9 Fix potential string overflow corner case 2016-04-22 09:36:07 +02:00
Lorenz Meier
b046f93173 Better MAVLink app error reporting 2016-04-22 09:34:02 +02:00
Lorenz Meier
4077616264 Significantly reduce stack size needed for calibration in commander 2016-04-22 09:03:57 +02:00
Nicolas de Palezieux
f2c31ec4da passthrough: stop commander s.t. it doesn't disarm. Unfortunately this makes it impossible to stop the no-SD-card beeping with the safety switch 2016-04-22 08:50:25 +02:00
Nicolas de Palezieux
8475b32909 fixes issue with sending PWM signals to ESCs in passthrough mode 2016-04-22 08:50:25 +02:00