Roman Bapst
9b4b67644d
WIP: Manual attitude setpoint for large heading errors ( #4564 )
...
* mc pos control: in manual mode calculate attitude setpoint
such that it reflects the users intuition of roll and pitch
for any given heading error
* added some comments on the new manual attitude setpoint generation
* make calculation shorter
2016-05-19 15:32:08 +02:00
Lorenz Meier
556c33cf8c
Battery lib: Set valid flag
2016-05-19 15:32:08 +02:00
Lorenz Meier
ac256eb64d
MAVLink: Use valid flag to initialize fields
...
Conflicts:
src/modules/mavlink/mavlink_messages.cpp
2016-05-19 15:32:08 +02:00
Lorenz Meier
d091af4fc0
EKF: Be less verbose, avoid floating ng point printing stack smashing
2016-05-14 18:22:58 +02:00
Lorenz Meier
2807e53838
Navigator: Do not publish an empty triplet
2016-05-13 11:05:18 +02:00
Lorenz Meier
2cc613cf64
Commander: Better status feedback
2016-05-13 11:05:12 +02:00
Lorenz Meier
d017514d59
sdlog2: Start / stop logging on arming even if enabled already during boot
2016-05-11 14:46:23 +02:00
Lorenz Meier
165f75589b
MAVLink app: Use proper C99 NaN define
2016-05-11 12:59:57 +02:00
Lorenz Meier
34baf01d7e
Fix altitude estimate
2016-05-11 10:02:03 +02:00
sander
29dd1ad47a
Code style
2016-05-10 21:34:11 +02:00
sander
e0a8571254
Use filtered voltage and current values for mavlink sys message
2016-05-10 21:34:11 +02:00
sander
9a09c5af5c
Add low pass filtered current draw
2016-05-10 21:34:11 +02:00
CarlOlsson
6b5e77250f
ekf2: Added airspeed to rpl logging
2016-05-10 21:32:55 +02:00
Lorenz Meier
8960ab3402
Navigator: differentiate between takeoff and reposition commands, perform calculations for repositions only when armed.
2016-05-10 13:58:42 +02:00
Lorenz Meier
befab7303f
Commander: Fix modes switching back to prev mode
2016-05-10 13:57:05 +02:00
Lorenz Meier
06938064c1
MAVLink: Always accept commands to avoid corner case with USB power
2016-05-10 12:41:48 +02:00
Lorenz Meier
86a5244bc9
RTL: Set RTL messages to info so they do not distract the user from the actual operation
2016-05-10 12:40:59 +02:00
Lorenz Meier
098db8595f
Style fix
2016-05-10 12:40:28 +02:00
Lorenz Meier
05b19c8e85
Fix yaw handling for land command
2016-05-10 12:09:47 +02:00
Lorenz Meier
65f9a86c19
Navigator: Only run FOH logic when in mission mode
2016-05-10 10:13:37 +02:00
Lorenz Meier
a686d9a166
Navigator: Add mission state feedback
2016-05-10 10:12:29 +02:00
Lorenz Meier
09d8476c1d
Navigator: update header
2016-05-10 10:12:10 +02:00
Lorenz Meier
c31c29097d
Rename params, add transitional support
2016-05-10 09:27:00 +02:00
Adyasha Dash
468b0b25de
added different parameters for ascent and descent rates
2016-05-10 09:18:40 +02:00
Lorenz Meier
ffb0d37c8a
Commander: Fix reposition handling, run faster to allow catching of consecutive commands
2016-05-09 23:01:54 +02:00
Lorenz Meier
b9333d95f4
Navigator: Run faster
2016-05-09 23:01:54 +02:00
Lorenz Meier
c5a6442ce6
Perf print: Fix division by zero
2016-05-09 09:03:30 +02:00
Lorenz Meier
d369a26db4
Fix ESC calibration
2016-05-09 08:44:50 +02:00
Lorenz Meier
32cd154d7c
Revert "ESC cal: Increase timeouts"
...
This reverts commit d2575c2556 .
2016-05-09 08:37:05 +02:00
Lorenz Meier
0917a346e4
Mag cal: allow 6, 3 and 2 side calibrations (and anything in-between with bitfields)
2016-05-09 00:32:54 +02:00
Lorenz Meier
3f169d9b78
Fix instructions for airspeed calibration
2016-05-07 14:37:55 +02:00
Sander Smeets
1815b47fbf
Add reserved type, fixes #4466 ( #4476 )
...
* Add reserved type, fixes #4466
* Additional reserved vtol types added to is_vtol
2016-05-07 10:59:49 +02:00
Lorenz Meier
755176b247
Sim compile fix
2016-05-06 19:22:18 +02:00
Lorenz Meier
ebaca071f6
Battery charge estimation: Factor in voltage drop for idle props
2016-05-06 18:14:34 +02:00
Lorenz Meier
48d7295be6
Default to a multicopter
2016-05-06 07:28:36 +02:00
Lorenz Meier
7dbef87ca0
FW pos control: Reduce excessive stack ssize
2016-05-05 20:11:00 +02:00
Lorenz Meier
5e099d8d16
sensors: Reduce perf counters
2016-05-05 20:09:09 +02:00
Lorenz Meier
901461f301
FW att ctrl: Reduce perf counters
2016-05-05 20:08:54 +02:00
Lorenz Meier
34c7dea08c
EKF: Reduce perf counters
2016-05-05 20:08:43 +02:00
Lorenz Meier
2e23d01b60
Systemlib: harden perf counter handling for null ptrs
2016-05-05 20:07:48 +02:00
Lorenz Meier
ae75ba26b7
MAVLink: Remove excessive stack
2016-05-05 19:36:39 +02:00
Lorenz Meier
639a589233
Fix RTL abort detection on stick change
2016-05-05 16:55:04 +02:00
Lorenz Meier
bbd2b763a3
Fix battery charge level filter
2016-05-05 16:13:58 +02:00
Lorenz Meier
2801a54544
Snapdragon param build fix
2016-05-05 14:15:25 +02:00
Lorenz Meier
192510ee1c
FMUv4 compile fix
2016-05-05 14:09:03 +02:00
Daniel Agar
7aa6e85563
enable Wshadow
2016-05-05 13:32:42 +02:00
Lorenz Meier
45a5f2aaa4
MC vel control: Better defaults, better min and max gains
2016-05-04 22:49:36 +02:00
Beat Küng
e24bef1f70
fix AttPosEKF::FuseOptFlow: move fuse block into 'if (fuseOptFlowData)' block
...
if fuseOptFlowData == false, then K_LOS was not initialized, but it was
accessed in the next fuse block to update states variable.
2016-05-03 17:34:42 +02:00
Beat Küng
27d821ac9f
fix position_estimator_inav_main: put terrain_estimator on the stack
...
This fixes a memory leak
2016-05-03 17:34:42 +02:00
tumbili
57f73e59b7
warn immediately if ekf2 instance allocation has failed
2016-05-03 16:09:26 +02:00