Commit Graph

14958 Commits

Author SHA1 Message Date
Jonathan Challinger
4311fa8952 Copter: 90-atan2(-x,y) is the same as atan2(y,x) 2015-02-03 14:48:02 +09:00
Jonathan Challinger
f77b359e83 Copter: increase get_roi_yaw from 40hz to 100hz 2015-02-03 14:46:17 +09:00
Andrew Tridgell
28341a6c7a Plane: handle very steep landings more gracefully
prevent us trying to put the flare point too high or too far back if
the mission requires a steep landing
2015-02-03 16:44:28 +11:00
Andrew Tridgell
2ae412d513 Plane: only reset mission on disarm if not in AUTO mode
disarming while in a mission should leave the plane still flying the
mission, but with motor stopped. The user may do this during a landing
for example, but we want to keep gliding
2015-02-03 16:44:27 +11:00
Andrew Tridgell
a172d898c5 Plane: force throttle to zero when disarmed
don't rely on the safety switch
2015-02-03 16:44:27 +11:00
Randy Mackay
ae487ca88b AutoTest: remove calibrate level from copter tests 2015-02-03 14:29:11 +09:00
Randy Mackay
112f6a1854 AP_InertialNav: add comments
No functional change
2015-02-03 12:05:24 +09:00
Jonathan Challinger
2cb63dc792 Copter: don't assume home is at the origin 2015-02-03 11:38:25 +09:00
Jonathan Challinger
9c2865f6a8 Copter: update pv_location_to_vector to use get_origin instead of get_home 2015-02-03 11:38:23 +09:00
Jonathan Challinger
c95e7b2282 AP_InertialNav: add get_origin function 2015-02-03 11:38:21 +09:00
Jason Short
3b5228922e Copter: increased ESC auto-cal delay 2015-02-03 11:33:54 +09:00
Andrew Tridgell
579048803c autotest: removed PX4IO firmware link 2015-02-03 09:51:42 +11:00
Andrew Tridgell
fa7c584733 AP_Mount: fixed build on non-EKF systems 2015-02-03 09:49:17 +11:00
Andrew Tridgell
f77f919588 AP_Mount: enable pan pointing in MAVLink backend 2015-02-03 09:49:17 +11:00
Andrew Tridgell
81f60bde06 AP_Mount: fill in all Location flags in ROI pointing 2015-02-03 09:49:17 +11:00
Andrew Tridgell
cf76dcfbf3 AP_Mount: fixed mount MAVLink backend to match SITL sim behaviour
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:17 +11:00
Andrew Tridgell
75b1330843 AP_Mount: fixed radians to degrees error 2015-02-03 09:49:17 +11:00
Andrew Tridgell
032dcc3660 AP_Mount: fixed references to state in backends 2015-02-03 09:49:17 +11:00
Paul Riseborough
fe0c434d2b Simulator: Gimbal debug output changes 2015-02-03 09:49:17 +11:00
Paul Riseborough
925d625ed1 AP_NavEKF: fix bug in small EKF velocity fusion 2015-02-03 09:49:17 +11:00
Paul Riseborough
8d6f0d08c9 AP_Mount: Update attitude control calculations and debug printing 2015-02-03 09:49:17 +11:00
Paul Riseborough
84029f8f7c Simulator: Bypass angle limiting to allow debugging 2015-02-03 09:49:17 +11:00
Paul Riseborough
255252f387 AP_Math: Fix bug in quaternion division 2015-02-03 09:49:16 +11:00
Paul Riseborough
1660aefc90 AP_Mount: Add a simple attitude control loop to the gimbal report handling 2015-02-03 09:49:16 +11:00
Paul Riseborough
5f24603ceb AP_NavEKF: Publish small EKF quaternion and gyro bias outputs 2015-02-03 09:49:16 +11:00
Paul Riseborough
17445d03f0 AP_Math: Add quaternion division 2015-02-03 09:49:16 +11:00
Andrew Tridgell
79017096e2 AP_Mount: prototype code to send biases 2015-02-03 09:49:16 +11:00
Andrew Tridgell
9bdefd0bba autotest: updates for new GIMBAL_REPORT format 2015-02-03 09:49:16 +11:00
Andrew Tridgell
da27a8696d AP_Mount: added initial ekf estimation of gimbal bias
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:16 +11:00
Andrew Tridgell
ee9c778834 AP_AHRS: added a get_NavEKF_const() function
needed for AP_Mount_MAVLink

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:16 +11:00
Andrew Tridgell
4c8b663200 AP_NavEKF: added initial version of SmallEKF
This will be used for gimbal bias estimations. 

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:16 +11:00
Andrew Tridgell
1bbe633691 GCS_MAVLink: re-generate headers 2015-02-03 09:49:15 +11:00
Andrew Tridgell
b81cdf9250 GCS_MAVLink: change to delta_time in GIMBAL_REPORT 2015-02-03 09:49:15 +11:00
Andrew Tridgell
734cc61838 Replay: fixed build 2015-02-03 09:49:15 +11:00
Andrew Tridgell
2b0ccae776 Plane: fixed build warning 2015-02-03 09:49:15 +11:00
Andrew Tridgell
91df1ba738 AntennaTracker: fixed build warning 2015-02-03 09:49:15 +11:00
Andrew Tridgell
c8d140f17b Rover: fixed build warning 2015-02-03 09:49:15 +11:00
Andrew Tridgell
51dc3c120d Copter: handle GIMBAL_REPORT receive and send
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-02-03 09:49:15 +11:00
Andrew Tridgell
c58397020a autotest: send targeted GIMBAL_REPORT messages 2015-02-03 09:49:15 +11:00
Andrew Tridgell
01b264951a AP_Mount: added handling of GIMBAL_REPORT messages 2015-02-03 09:49:15 +11:00
Andrew Tridgell
35c14c787e GCS_MAVLink: added handle_gimbal_report() function
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-02-03 09:49:15 +11:00
Andrew Tridgell
a1536d575b GCS_MAVLink: added GIMBAL msgs to routing 2015-02-03 09:49:14 +11:00
Andrew Tridgell
01325b701a GCS_MAVLink: re-generate headers 2015-02-03 09:49:14 +11:00
Andrew Tridgell
3b2332a0c7 GCS_MAVLink: added target_system/component to GIMBAL_REPORT 2015-02-03 09:49:14 +11:00
Andrew Tridgell
28cf93d300 autotest: added maths for correct gimbal joint limits
This adds (more) correct join rate limiting based on Pauls maths. It
avoids the coupling of the axes inherent in the last implementation

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:14 +11:00
Andrew Tridgell
f63eb870cf autotest: change euler312 ordering conventions 2015-02-03 09:49:14 +11:00
Andrew Tridgell
51ce4d3217 GCS_MAVLink: re-generate 2015-02-03 09:49:14 +11:00
Andrew Tridgell
df735e2ddb GCS_MAVLink: change euler312 order conventions 2015-02-03 09:49:13 +11:00
Andrew Tridgell
53adcc9a25 GCS_MAVLink: regenerate MAVLink headers 2015-02-03 09:49:13 +11:00
Andrew Tridgell
73670edda6 GCS_MAVLink: added GIMBAL messages, mavlink ID and type 2015-02-03 09:49:13 +11:00