Matthias Grob
b241cf5c95
Quaternion: Adjusted rotate() to the Hamilton convention (which we switched to)
...
Note: This error was not caught by a test because the test included only trivial cases which do not explore non-commuting quaternions.
2017-10-17 17:37:23 +02:00
Matthias Grob
6b1fea76d0
Quaternion: added and adjusted comments to further explain conjugation and derivative functionality
2017-10-17 17:37:23 +02:00
Matthias Grob
0527471a52
Matrix: adjust buffer size calculation to account for additional characters
...
Note: If the buffer is too small there's no memory corruption because of the snprintf limit but part of the output gets missing.
2017-10-17 17:37:23 +02:00
Daniel Agar
c607805154
travis-ci allow coverage failures ( #8145 )
2017-10-17 10:54:45 -04:00
Matthias Grob
e12bfa30d4
mc_att_control: defualt parameters set maximal acro rates to 2/1.5 turns per second for roll,pitch/yaw
2017-10-17 16:54:16 +02:00
Matthias Grob
8b09eaf124
mc_att_control: use SuperExpo input curve for acro mode to further enhance the stick feel
2017-10-17 16:54:16 +02:00
Matthias Grob
455ba0e1b5
mathlib Functions: added SuperExpo function for stick feel enhancement
2017-10-17 16:54:16 +02:00
Matthias Grob
3ce5525b7c
mc_att_control: use expo input for acro mode to allow for high input rates without loosing input sensitivity
2017-10-17 16:54:16 +02:00
CarlOlsson
c81cdfa1ce
EKF: Fix bug when resetting position and velocities for fw due to something else than bad yaw estimate
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-10-17 15:08:09 +02:00
Paul Riseborough
410697cb0c
Merge pull request #337 from CarlOlsson/fix/comment
...
EKF: fixed comment
2017-10-17 21:15:06 +11:00
CarlOlsson
8c83167857
EKF: fixed comment
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-10-17 11:41:55 +02:00
Beat Küng
747e392be6
px4fmu-v2 cmake config: disable team blacksheep telemetry driver
...
we're out of flash again :/
2017-10-17 09:56:01 +02:00
Beat Küng
291872a28d
mavlink: fix flight_information: use COM_FLIGHT_UUID instead of the board id
...
The board id was used as flight id which does not make sense.
2017-10-17 09:56:01 +02:00
Beat Küng
85e82dca0d
commander: add COM_FLIGHT_UUID param, increased upon disarm
2017-10-17 09:56:01 +02:00
Beat Küng
fa8453443f
fix commander: remove arming_state_changed, check for was_armed != armed.armed instead
...
arming_state_changed was not set in all places where an arming transition
occurred, for example when calling arm_disarm() from auto-disarm.
We did not notice because the state is published with at least 5 Hz already.
2017-10-17 09:56:01 +02:00
José Roberto de Souza
239de7191f
dataman: Prevent database corruption
...
The size in g_per_item_size[item] is the real struct size
+ DM_SECTOR_HDR_SIZE bytes of header and the backend functions were
not taking in care it. So a call to dm_write() with more bytes than
the real struct is allowed, causing corruption in the header of the
next item.
Kudos to jeonghwan-lee for finding it. https://github.com/PX4/Firmware/issues/7927
2017-10-16 23:38:03 +02:00
Luís Felipe Strano Moraes
cc724438f9
Adding Sugnan as maintainer for Intel Aero ( #8133 )
...
Adding Sugnan Prabhu as maintainer for Intel Aero.
With great power comes great responsibility!
2017-10-16 11:25:32 -04:00
rde-mato
78a9658163
define SDP3X_SCALE_PRESSURE_SDP3X corrected
2017-10-15 15:54:08 +02:00
sanderux
fd6f2192ac
Code style
2017-10-15 15:34:59 +02:00
sanderux
b01d887700
When switching to land in VTOL, update land target during back transition
2017-10-15 15:34:59 +02:00
Khoi Tran
ff6ffa73b5
Fix typos in MPU6000 driver comments
2017-10-15 15:33:25 +02:00
Khoi Tran
1594c80bf4
Add icm20602 to auav-x21 sensors startup
2017-10-15 15:33:25 +02:00
Beat Küng
98e6ba858d
logger: change SDLOG_PROFILE into a bitset
...
This is more flexible, allowing a combination of sets.
The default enables the same set & rates as before
2017-10-14 14:21:11 +02:00
Beat Küng
be6079bc52
logger: add high rate & debug profiles
2017-10-14 14:21:11 +02:00
Julian Oes
07ae1e4044
posix-configs: attitude quaternion for DroneCore
...
DroneCore uses the attitude quaternion, and not the attitude
Euler angles.
2017-10-13 18:11:33 +02:00
Julian Oes
2837870733
posix-configs: send gimbal attitude to mavros port
...
The gimbal attitude is required by DroneCore.
2017-10-13 18:11:33 +02:00
Julian Oes
1e91b8cd32
posix-configs: send gimbal attitude over mavlink
2017-10-13 18:11:33 +02:00
Beat Küng
30bc248138
rc_check: cleanup mavlink log messages
2017-10-13 15:50:37 +02:00
Paul Riseborough
32b795ee10
EKF: Add readme file to EKF documentation directory
2017-10-13 21:46:41 +11:00
Paul Riseborough
8dd4800a2c
EKF: Add preliminary documentation for filter mathematics
2017-10-13 21:34:49 +11:00
Daniel Agar
c47cd972a8
attitude_estimator_q remove unused ( #8106 )
2017-10-13 00:54:52 -04:00
Paul Riseborough
a34bba87fc
Merge pull request #322 from PX4/pr-ekfMagFusionMode
...
EKF Add mag fusion mode for VTOL
2017-10-13 07:27:54 +11:00
Beat Küng
4da4093839
logger status output: print 'Not logging' if not actually logging
2017-10-12 16:40:47 +02:00
Beat Küng
e65547b6af
mpu6000: add support for revision 1
2017-10-12 14:27:04 +02:00
acfloria
3929afd617
Fix format in test_mixer.cpp
2017-10-12 12:03:22 +02:00
acfloria
5f165e8b3e
Add the flaperons again to the AAERTWF mixer
2017-10-12 12:03:22 +02:00
acfloria
9d2da611f6
Fix mixer issue with undefined return in callback and non value initialized variables.
2017-10-12 12:03:22 +02:00
Paul Riseborough
dbff89fbcb
EKF: Fix error preventing selection of MAG_FUSE_TYPE_AUTOFW
2017-10-12 19:54:35 +11:00
Lucas De Marchi
fdc1a2fd39
aerofc-v1: fix mentions to tap board
2017-10-12 10:00:51 +02:00
Lucas De Marchi
4a0ee8be6e
aerofc-v1: fix chip selection
...
aerofc-v1 uses a STM32F429V not STM32F427V.
2017-10-12 10:00:51 +02:00
Lucas De Marchi
3a84d4cfeb
build: fix NuttX menuconfig
...
There was and extra "nuttx" dir:
cp: cannot stat '/home/lucas/p/dronecode/PX4/Firmware/build/aerofc-v1_default/NuttX/nuttx/nuttx/.config': No such file or directory
FAILED: NuttX/CMakeFiles/menuconfig
And the board fixup being executed from the wrong working directory:
nuttx-configs/aerofc-v1/nsh/defconfig
fatal: Path 'nuttx-configs/aerofc-v1/nsh/defconfig' does not exist in 'HEAD'
2017-10-12 10:00:51 +02:00
Beat Küng
0247d7bdd7
fmu: minor refactoring & fixes
...
- initialize rc lost with true
- refactor for simpler downstream code-plugin
- allow for the addition of different binding commands
- fix st24 RC lost logic
2017-10-12 08:55:24 +02:00
Paul Riseborough
6f7f05fdc0
EKF: Move MAG_FUSE_TYPE_AUTOFW control to the expected place
2017-10-12 14:50:23 +11:00
Paul Riseborough
e834522f62
EKF: Use fixed wing status flag in MAG_FUSE_TYPE_AUTOFW logic
2017-10-12 14:50:23 +11:00
Paul Riseborough
7b4c957ad4
ekf2: Add new mag fusion mode
...
Adds a mode where mag fusion is only used update the field estimates
2017-10-12 14:50:23 +11:00
Paul Riseborough
9c65968c3d
Merge pull request #334 from PX4/pr-ekf_minor_flow_fix
...
ekf: fix optical flow bugs
2017-10-12 09:14:29 +11:00
Paul Riseborough
68bad48598
Merge pull request #330 from CarlOlsson/pr-add_get_wind_vel_var
...
EKF: added get_wind_velocity_var function
2017-10-12 09:12:54 +11:00
Paul Riseborough
4db23b7b2e
EKF: Don't report terrain estimate invalid immediately when HAGL observations fail checks
2017-10-12 08:26:04 +11:00
Paul Riseborough
1119a9b0ac
EKF: Enable optical flow reversion to work if flow data is lost
...
Also improve reporting.
2017-10-12 08:02:54 +11:00
Daniel Agar
bb78931e69
cmake fix ctest output on failure for coverage ( #8112 )
2017-10-11 14:08:40 -04:00