Commit Graph

7186 Commits

Author SHA1 Message Date
Thomas Gubler ed16bd6fc6 mavlinkreceiver: set att target: remove memset 2015-02-28 15:19:15 +01:00
Thomas Gubler 0389d30e0e offboard attitude sp: handle thrust only messages
if attitude/rates haven been used previously do not set the ignore flags
even if the message asks us to do so to keep the controllers running
2015-02-28 15:19:15 +01:00
Thomas Gubler 3d29fa5f4e mavlink receiver: fix indentation 2015-02-28 15:19:15 +01:00
Thomas Gubler 2b2f7e9407 introduce offboard control mode topic
Replace offboard_control_setpoint with offboard_control_mode
Remove all setpoint data from the topic as it's  not used anymore
(setpoint data is directly routed into position/attitude setpoint topics
for some time now)
Remove mode enum and replace with ignore booleans which map better to
the mavlink message
Mavlink: Rework parsing of offboard setpoints
Commander: in offboard mode set control flags based on ignore flags
instead of enum
2015-02-28 15:19:15 +01:00
Lorenz Meier 19811bc73f Better timing tests 2015-02-28 14:42:28 +01:00
Lorenz Meier 677bfddcb6 uORB: More timing tests. 2015-02-28 14:42:28 +01:00
Lorenz Meier 3355d77e1f Merge pull request #1827 from sverling/master
Fixing small issues at ekf_att_pos_estimator
2015-02-28 14:34:56 +01:00
Lorenz Meier 4e1905c1d8 FMU: Fix peripheral reset 2015-02-28 14:32:11 +01:00
Lorenz Meier 2cf0aec332 MPU6K: Allow stop 2015-02-28 14:31:39 +01:00
Lorenz Meier dfdf741b13 FMU: Make peripheral rail power controllable 2015-02-28 11:22:19 +01:00
Lorenz Meier e0947c6940 Merge pull request #1845 from UAVenture/fw-defaults
Change FW airspeed defaults
2015-02-28 11:16:53 +01:00
Andreas Antener 5f326650fd added max values for airspeed 2015-02-28 11:14:49 +01:00
Andreas Antener d6962de445 change FW airspeed defaults 2015-02-28 10:57:09 +01:00
Lorenz Meier e4830eb53f mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1. 2015-02-28 04:01:10 +01:00
Andreas Antener 81648f84cd increase RTL descend altitude 2015-02-27 22:22:19 +01:00
Vasily Dybala 6d1df8f721 Update land detector parameters at startup. 2015-02-26 23:19:12 +03:00
Andrew Tridgell 8240e90d26 bl_update: fixed stat() check 2015-02-26 08:22:23 +01:00
Thomas Gubler 59e623a2eb quaternion from dcm: comment and reference 2015-02-25 17:50:16 +01:00
Randy Mackay 90df6c6b58 OreoLED: fix formatting 2015-02-25 15:10:03 +01:00
Randy Mackay 0ac3c80542 OreoLED: driver for attiny88 based LED controller 2015-02-25 15:09:55 +01:00
Stefan 9224738804 update dead link to Ublox Documentation
actualise dead link to Ublox M8 V15-17 Receiver Description Protocol Spec ( new R08 from 4 December 2014)
2015-02-24 20:59:23 +01:00
Thomas Gubler a284a98383 mc pos multi: set R valid in attitude sp in manual mode 2015-02-24 20:33:32 +01:00
Thomas Gubler 4bc2d5f687 mc att multi: style fixes to be consistent with old controller 2015-02-24 20:33:32 +01:00
Thomas Gubler 4d26c2164e fix comment style 2015-02-24 20:33:32 +01:00
Thomas Gubler 5d2b78abef Revert "multiplat pos ctrl: also set yaw sp in manual modes"
This reverts commit c0f1d841af.
2015-02-24 20:33:32 +01:00
Thomas Gubler 61398f5c03 multiplatform port of #1741 and #1801: port attitude setpoint generation in manual to mc_pos_control_multiplatform 2015-02-24 20:33:32 +01:00
Thomas Gubler a56c16dfab multiplatform port of #1741: move params from att control to pos control 2015-02-24 20:33:32 +01:00
Thomas Gubler f1c6b24f7a multiplatform port of #1741: att control: remove yaw sp reset after acro 2015-02-24 20:33:32 +01:00
Thomas Gubler 7b57092a9d multiplatform port of #1741: remove attitude sp generation from mc_att_control_multiplatform 2015-02-24 20:33:32 +01:00
Thomas Gubler 6c3f57f87e port #1752 to multiplatform 2015-02-24 20:31:02 +01:00
Thomas Gubler 4f38512334 port #1703 to multiplatform 2015-02-24 20:29:18 +01:00
Lorenz Meier 6e07c8c9e4 mathlib tests: Fix typo 2015-02-23 23:56:22 +01:00
Lorenz Meier 9d8651c10c mathlib test: Print all test types which are actually performed 2015-02-23 23:27:51 +01:00
Lorenz Meier 71a5351deb mathlib test: Code style fixes 2015-02-23 23:24:38 +01:00
tumbili a252f4a991 fixed quaternion method from_dcm() 2015-02-23 22:30:49 +01:00
tumbili 41377709e6 added test for quaternion methods 2015-02-23 22:18:51 +01:00
Andrew Tridgell 9a875c53af px4fmu: added "mode_pwm4" startup mode
this is the default mode ArduPilot uses, and by setting it in the init
script we avoid any pin activity on the two GPIO pins during boot
2015-02-23 19:52:57 +01:00
Andrew Tridgell 41cc04c064 pwm_input: added PWM input driver
this allows for input of PWM signals on the FMUv2 aux5 pins
2015-02-23 19:52:47 +01:00
Andrew Tridgell 322392d853 fmuv2: setup for PWM input on timer4, channel 2 2015-02-23 19:52:38 +01:00
Evan Slatyer 1302650ab6 drivers: added header for pwm_input 2015-02-23 19:52:22 +01:00
Lorenz Meier 3532a09a15 PWM command: Fix min/max/disarmed/failsafe commands to also read the current settings first before modifying them. 2015-02-23 19:50:51 +01:00
Lorenz Meier 653b3e71be PWM command: Do not modify disarmed PWM values 2015-02-23 19:50:42 +01:00
Sebastian Verling a77420ede8 corrected rate offset calculation such that units match 2015-02-23 18:44:38 +01:00
Sebastian Verling aeef634f9b adapted comment about accelerometer offset 2015-02-23 18:40:48 +01:00
Sebastian Verling bbd5f33a22 removed duplicate line 2015-02-23 18:38:55 +01:00
NosDE e4ad2f8e48 cmd switch for min_rc and max_rc added 2015-02-23 07:17:31 +01:00
Randy Mackay d57dd250b9 batt_smbus: reverse reported current
smart batteries report a negative current when being discharged
2015-02-20 16:57:23 +01:00
Lorenz Meier 8f29a9d83b Merge branch 'rover' of github.com:mstuettgen/Firmware 2015-02-20 16:52:37 +01:00
Lorenz Meier 95dd7d415f LL40S driver: Signedness of ticks and comment fix. 2015-02-20 09:22:12 +01:00
Andrew Tridgell 9d288a9a9a ll40ls: added reset and backoff logic to driver
this adds automatic resets of the lidar when it becomes unresponsive,
and also tries to cope with NACKs from long acquisition times. It also
adds a "ll40ls regdump" command, and fixes "ll40ls reset" to reset the
sensor.

The default acquisition period is changed to 50ms, with backoff to
100ms on a NACK

Note that there are still times when the sensor can get into an
unrecoverable state.

Thanks to Austin, Dennis and Bob from PulseLight for assistance in
tracking down the problems.
2015-02-20 09:10:24 +01:00