Commit Graph

12297 Commits

Author SHA1 Message Date
Andrew Tridgell 94876dccb1 autotest: added Ballarat to autotest locations 2014-06-07 20:52:08 +10:00
Randy Mackay 915dad2da4 AC_Circle: use fast_atan2 to calc bearing from center
This does not save much time because it's only called at initialisation
2014-06-06 18:51:09 +09:00
Randy Mackay f23e94707c AC_WPNav: use fast_atan2 for bearing calcs 2014-06-06 18:51:08 +09:00
Randy Mackay 083f2898a9 Copter: use fast_atan2 for bearings to home and next WP 2014-06-06 18:51:06 +09:00
Randy Mackay 919b0ea29b CPUInfo: add fast_atan2 2014-06-06 18:51:05 +09:00
David Dewey 17374ff5e8 AP_Math: fast_atan2
This is 126us per call vs 199us on the AVR.  it is accurate to about
0.28 degrees

Committed by rmackay9 but contribution is from David Dewey
2014-06-06 18:50:41 +09:00
Randy Mackay f5f206b055 Copter: set inav alt to zero when arming 2014-06-06 18:42:45 +09:00
Ju1ien 28ce66f314 INav: clear historic z-axis position estimate when set_altitude called 2014-06-06 18:42:42 +09:00
Ju1ien abd1370b2c Copter: flag stays landed unless pilot raises throttle 2014-06-06 18:42:30 +09:00
Valentin Brossard 9fcfea5404 Copter: accept DO_CHANGE_SPEED outside of missions
https://github.com/diydrones/ardupilot/issues/1095
2014-06-06 16:13:22 +09:00
Ju1ien fd9502d3fa Copter: Improve surface tracking dynamics
This little fix will allow much higher sonar_gain without the
oscillating effect it used to bring.
2014-06-06 15:32:49 +09:00
Randy Mackay 4f75cbcce0 AutoTest: fix error reporting for copter AVC mission 2014-06-06 11:42:57 +09:00
Randy Mackay efd6d6dc70 AC_WPNav: spline div by zero fix
Also add check for straight line navigation to ensure speed is not
reduced below zero when it hits the leash limit
Also minor formatting changes
2014-06-05 22:23:38 +09:00
lthall 0912bec8f5 Spline div zero and leash limit fix 2014-06-05 22:23:35 +09:00
Andrew Tridgell ea086fa79c Plane: added MAV_CMD_DO_INVERTED_FLIGHT support
allows for mission control over inverted flight
2014-06-05 16:12:10 +10:00
Andrew Tridgell f0df912a11 AP_Mission: added support for MAV_CMD_DO_INVERTED_FLIGHT 2014-06-05 15:44:18 +10:00
Andrew Tridgell ef4a79cc9a GCS_MAVLink: rebuild MAVLink headers 2014-06-05 15:44:03 +10:00
Andrew Tridgell 67937b5b79 GCS_MAVLink: added MAV_CMD_DO_INVERTED_FLIGHT
used to invert from a mission
2014-06-05 15:43:46 +10:00
Andrew Tridgell 55e7f9b1d6 Plane: calculate next_turn_angle to prevent early WP completion
this should help for ball drop and camera trigger with straight line
runs
2014-06-05 09:35:09 +10:00
Andrew Tridgell 5a1aa8dfe7 AP_L1_Control: implement turn_distance() with turn angle
uses a linear approximation for now.
2014-06-05 09:34:23 +10:00
Andrew Tridgell 7a6186f7e6 AP_Navigation: added a turn_distance() method with turn_angle 2014-06-05 09:33:42 +10:00
Andrew Tridgell a72b362c1f Rover: prepare for new beta 2014-06-04 14:03:23 +10:00
Andrew Tridgell 69349f7fb0 autotest: added TomCarpark test location 2014-06-04 14:02:19 +10:00
Andrew Tridgell a1b94bf852 Rover: prevent unsupported command messages
this prevents errors on DO_CHANGE_SPEED
2014-06-04 14:00:31 +10:00
Andrew Tridgell 0ca5a60f25 autotest: added -R to sim_vehicle.sh for reverse throttle 2014-06-04 09:40:07 +10:00
Andrew Tridgell a7868dd6b3 Plane: fixed zero throttle in FBWA glide failsafe 2014-06-04 09:39:45 +10:00
Andrew Tridgell 9ae32addc8 autotest: convert Rascal back to a tail dragger 2014-06-03 16:16:00 +10:00
Andrew Tridgell 0a79efae61 autotest: fixed problem with initial JSBSim headings to east
this avoids an auto-trim problem in JSBSim
2014-06-03 16:15:22 +10:00
Andrew Tridgell 4607fe9bf1 autotest: cope with newer versions of JSBSim 2014-06-03 16:14:16 +10:00
Andrew Tridgell f6160cf78f autotest: added AVC_plane location
point along takeoff path
2014-06-03 16:13:49 +10:00
Andrew Tridgell a3b91660eb AntennaTracker: build fixes for new GCS_MAVLink API 2014-06-03 10:40:10 +10:00
Mike McCauley 7e3daacda0 AntennaTracker: add support for PROXY_MODE 2014-06-03 10:40:07 +10:00
Andrew Tridgell 43059fbff5 Rover: release 2.46beta 2014-06-02 11:20:14 +10:00
Andrew Tridgell 49f93b91b2 APM_OBC: fixed formatting to match APM coding standard 2014-06-02 10:47:02 +10:00
Andrew Tridgell e9e1799700 AP_Compass: fixed VRBrain build 2014-06-02 10:42:37 +10:00
Andrew Tridgell d554616e86 AP_EPM: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell 3705c90b8e AP_Baro: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell d70bee9249 AP_AHRS: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell 0d83d4f4f5 APM_OBC: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell 1e2b644b1b Plane: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell e35c0a578d Rover: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell 1e2214f8d1 DataFlash: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell 732cd0e130 AP_Relay: fix for HAL_GPIO_* 2014-06-02 10:42:36 +10:00
Andrew Tridgell 50c08ced4c AP_Notify: fixes for HAL_GPIO_* 2014-06-02 10:42:35 +10:00
Andrew Tridgell 4c43cd9775 AP_InertialSensor: fixes for HAL_GPIO_* 2014-06-02 10:42:35 +10:00
Andrew Tridgell 805d79debe HAL_FLYMAPLE: fix for HAL_GPIO_* 2014-06-02 10:42:35 +10:00
Andrew Tridgell 3015356671 HAL_AVR: fixes for HAL_GPIO_ define change 2014-06-02 10:42:35 +10:00
Andrew Tridgell 18a64d17d3 AP_HAL: added HAL_ prefix to GPIO_ defines
this fixes a bug caused by GPIO_INPUT and GPIO_OUTPUT already being
defined in NuttX, which caused pinMode() not to setup pins for output
when requested
2014-06-02 09:24:52 +10:00
Andrew Tridgell fa4eb5475a HAL_PX4: implement analog input stop pins
this allows multiple sonars to cooperate without interference
2014-06-02 08:35:41 +10:00
Andrew Tridgell 24325a5c62 Plane: fixed takeoff throttle slew rate
when TKOFF_THR_SLEW is zero use the normal slew rate
2014-05-31 16:47:45 +10:00