Commit Graph

4409 Commits

Author SHA1 Message Date
Lorenz Meier da5b06a5df land detector: Use less RAM 2015-03-01 18:32:07 +01:00
Lorenz Meier f9e525bbab commander: Do not allocate excessive stack 2015-03-01 18:32:07 +01:00
Lorenz Meier 030348eddd commander: Improve status feedback to make status parsing simpler in UI 2015-03-01 18:10:14 +01:00
Lorenz Meier 6635d4113e Remove header which is now auto-generated 2015-03-01 11:38:11 +01:00
Lorenz Meier 675b86550f Sensors: Clear old mag rotation param once new values is present 2015-02-28 20:49:54 +01:00
Thomas Gubler 7fb82e74c8 tiny comment improvement 2015-02-28 18:39:36 +01:00
Thomas Gubler 1c9509c235 move offboard_control_mode topic to msg mode 2015-02-28 18:25:34 +01:00
Matt Beall 0f51907dd6 Check if offboard mode was activated before publishing controls 2015-02-28 15:19:16 +01:00
Matt Beall 220fb19eb7 Removed actuator_control_mode flags...Using pre-existing flags instead 2015-02-28 15:19:16 +01:00
Matt Beall d7dc3a3ee8 Cleaned up some chunky code 2015-02-28 15:19:16 +01:00
Matt Beall b0e878dbae Compiler error 2015-02-28 15:19:16 +01:00
Matt Beall b8aa79cae4 Made changes to have actuator controls mirror other syntax more closely 2015-02-28 15:19:16 +01:00
Matt Beall 7d6723aa2d small change 2015-02-28 15:19:16 +01:00
Matt Beall fd4fd4eaaa Set the actuator control flag in receiver 2015-02-28 15:19:16 +01:00
Matt Beall e2de72b882 Added offboard actuator controls flags to offboard control mode and vehicle control mode to disable controls in att_control apps 2015-02-28 15:19:16 +01:00
Matt Beall 5e199b3984 Set ignore flags to true 2015-02-28 15:19:16 +01:00
Matt Beall 877232119f Small changes 2015-02-28 15:19:16 +01:00
Matt Beall 40ae0ebdac Set up to receive mavlink actuator control messages and publish to uorb 2015-02-28 15:19:16 +01:00
Thomas Gubler ee6dc51ef2 improve offboard attitude setpoint handling 2015-02-28 15:19:15 +01:00
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 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
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
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
Johan Jansen ae6adbea1e mc_pos_control: Fix yaw in PosHold and reset yaw setpoints 2015-02-18 16:57:08 +01:00
Johan Jansen 51fcb440d0 mc_pos_control: Fix autonomous landing without GPS
Due to a regression bug in #1741 the autonomous landing without GPS used manual RC
input to determine setpoints which broke auto landing without GPS.
2015-02-18 16:56:53 +01:00
Ziyang LI 63fd54f44e fixed 'NaN' yaw setpoint in offboard mode 2015-02-17 09:29:29 +01:00
Atsunori Saito 71c6c6aba4 mavlink: Fix for divide by zero. 2015-02-16 06:49:27 +01:00
Lorenz Meier f26a1cb3f1 Merge pull request #1794 from PX4/ekf-fixes
EKF Fixes from @Zefz
2015-02-15 22:55:09 +01:00