Martin K. Schröder
cb1528008f
Update Matrix.hpp ( #4966 )
...
This was horribly wrong. Matrix is first cast into a matrix of size NxM (which is supposed to be the size of the result - NOT the starting point) so the transpose result becomes garbage. Instead make "Me" an MxN matrix as the original. Took me a whole evening to figure out this problem. Now my Kalman filter finally returns good results.
v1.3.4
2016-07-03 12:30:24 +02:00
Julian Oes
403d76c7a7
px4io: set safety on before going into bootloader ( #4860 )
...
Sometimes when flashing new firmware, the IO update fails because safety
is off. In this case, we should set safety on first before putting the
IO board into bootloader mode.
2016-06-21 09:18:45 +02:00
Julian Oes
a031f6eec8
land_detector: fix timestamp type ( #4710 )
...
The overflow of the uint32_t lead to the land_detector start getting
aborted.
v1.3.3
2016-06-01 17:16:29 +02:00
Pavel Kirienko
0749b04c9f
Fixed stack overflow in UAVCAN process ( #4643 )
...
* Increased uavcan stack size; the old value of 1800 was insufficient
* Removed a misleading warning message from uavcan servers initialization
2016-05-26 20:00:46 +02:00
Lorenz Meier
0902401115
SBUS decoding: Fix channel 18 return value
v1.3.1
2016-05-21 15:55:32 +02:00
Lorenz Meier
87a6d36341
EKF2: Remove unused header
2016-05-21 14:13:30 +02:00
Lorenz Meier
bdf01061d0
Bottle drop: Fix uninitialized member
2016-05-21 14:13:22 +02:00
Lorenz Meier
62c76d62cd
LPE: Fix stack smashing
2016-05-21 14:13:15 +02:00
Lorenz Meier
65c4a9190c
EKF1: Simplify output
2016-05-21 14:13:08 +02:00
Lorenz Meier
5070238504
EKF1: Fix stack smashing resulting from uninitialized publication
2016-05-21 14:13:00 +02:00
Lorenz Meier
2f52c90885
Fix compile error in MAVLink app
2016-05-19 15:34:25 +02:00
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
fd3efe168a
Battery status: Add valid flag
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
3ebea78d91
IO driver: Fix PWM load
2016-05-14 18:06:32 +02:00
Lorenz Meier
8361b8b3c6
PWM cmd: better reporting
2016-05-14 18:06:24 +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
e016f6ca38
Clang: Do not use new pointer option
2016-05-11 12:59:41 +02:00
Lorenz Meier
34baf01d7e
Fix altitude estimate
2016-05-11 10:02:03 +02:00
Julian Oes
097840ef83
eagle: fix DSP build
...
The hexagon-clang is clang-3.5 and does not support -fcheck-new.
2016-05-11 09:32:05 +02:00
Lorenz Meier
52af5408d3
Racer: Disable attitude bias estimatition
2016-05-10 22:57:59 +02:00
Mark Whitehorn
b429fbc024
update generic 250 racing quad parameters
2016-05-10 22:33:19 +02:00
sander
29dd1ad47a
Code style
2016-05-10 21:34:11 +02:00
sander
1a04e952f8
Inline comment addition
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
Roman
f4c8bd9be3
updated gains of QAV 250 racer:
...
- tested in acro mode with good orientation lock and good response
- tested in stabilize mode with good attitude tracking
- needs more testing and maybe small adjustments
2016-05-10 21:27:10 +02:00
Beat Küng
7d733c5ccd
cmake: add -fcheck-new to cxx_compile_flags
...
GCC assumes that operator new never returns null, but throws an exception
instead. This is defined by the C++ standard, and thus ok. But we disable
exceptions with -fno-exceptions, so we break this assumption. GCC then goes
ahead and removes some of our nullptr checks. This flag removes the
assumption.
This adds ~1.4kB to the binary size of the px4fmu-v4 target.
2016-05-10 21:23:53 +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
Andreas Antener
3b88937594
added ROTATION_PITCH_90_ROLL_270
2016-05-10 09:29:06 +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
Kabir Mohammed
4ed112b259
Remove old toolchain
2016-05-09 16:13:01 +02:00
Lorenz Meier
c5a6442ce6
Perf print: Fix division by zero
2016-05-09 09:03:30 +02:00