Commit Graph

13535 Commits

Author SHA1 Message Date
Randy Mackay f4d45c9b6d Tracker: limit yaw to YAW_RANGE 2014-10-06 19:40:59 +09:00
Randy Mackay e7e0dd3509 Tracker: remove outdated comments 2014-10-06 19:40:58 +09:00
Randy Mackay b6634bb416 Tracker: reorder servo functions
No functional change.
Flow runs from top to bottom with functions at top of file calling those
lower down.
2014-10-06 19:40:57 +09:00
Randy Mackay a43a8ccfa0 Tracker: remove servo debug 2014-10-06 19:40:55 +09:00
Randy Mackay 704a720412 Tracker: move servo init to servos.pde 2014-10-06 19:40:54 +09:00
Randy Mackay c69bfa2cb1 Tracker: limit pitch to PITCH_RANGE
Also set servo_limit flags for pitch
2014-10-06 19:40:53 +09:00
Randy Mackay f2dab17230 Tracker: add YAW_RANGE and PITCH_RANGE params
These capture the yaw and pitch range of movement in degrees
2014-10-06 19:40:51 +09:00
Randy Mackay 1786c36457 Tracker: move nav_status lower in AntennaTracker.pde
No functional change
2014-10-06 19:40:50 +09:00
Randy Mackay b9eaec8e97 Tracker: rename err variable to angle_err
No functional change
2014-10-06 19:40:48 +09:00
Randy Mackay bf4ba9ffc4 Tracker: auto move servos only with valid vehicle position 2014-10-06 19:40:47 +09:00
Randy Mackay 0d1fefc23d Tracker: vehicle state made global 2014-10-06 19:40:46 +09:00
Randy Mackay 2155951e63 Tracker: move startup delay to update_tracking call
This ensure the tracker does not move in any mode until after the
startup delay has passed
2014-10-06 19:40:44 +09:00
Randy Mackay 1135ef3610 Tracker: move servo control to servos.pde file 2014-10-06 19:40:43 +09:00
Randy Mackay 643a680fed Tracker: move pos estimate to separate function 2014-10-06 19:40:41 +09:00
Randy Mackay 8e548ddabc Tracker: move auto, manual and scan to separate files 2014-10-06 19:40:40 +09:00
Randy Mackay 7afd443f57 Tracker: move bearing and dist calcs to separate function 2014-10-06 19:40:39 +09:00
Randy Mackay a0e89281ef Tracker: move vehicle pos estimate to separate function 2014-10-06 19:40:37 +09:00
Randy Mackay 1f91306a3b Tracker: remove unused relative_alt 2014-10-06 19:40:36 +09:00
Randy Mackay 8fde1aabe9 Tracker: add vehicle struct comments
No functional change
2014-10-06 19:40:34 +09:00
Randy Mackay ac158f15e9 Tracker: check target of manual control msgs 2014-10-06 19:40:33 +09:00
Randy Mackay df827fdb8c Tracker: add nav_status comments
no functional impact
2014-10-06 19:40:31 +09:00
Andrew Tridgell e0e534628b HAL_Linux: support direct UDP output from UART drivers
this allows safe operation over WiFi links without MAVProxy
2014-10-06 15:13:03 +11:00
Randy Mackay 4e27dbdc42 Copter: ReleaseNotes for AC3.2-rc11 2014-10-06 11:55:46 +09:00
Randy Mackay 1754cacf3c AC_PosControl: remove completed to-do comments 2014-10-04 23:49:24 +09:00
Randy Mackay f65e81cb07 AC_AttControl: remove some old comments 2014-10-04 23:49:21 +09:00
Randy Mackay 793ed20534 CoaxCopter: set throttle upper and lower flags 2014-10-04 23:49:19 +09:00
Randy Mackay 57f6d0ff60 SingleCopter: set throttle upper and lower flags 2014-10-04 23:49:16 +09:00
Randy Mackay 85fb4b122a MotorsMatrix: _min_throttle interpreted as 0 ~ 1000 range for throttle_lower flag
Also trigger throttle_upper flag when throttle in reaches 1000
2014-10-04 23:49:14 +09:00
Randy Mackay 91e5201439 Tri: _min_throttle interpreted as 0~1000 range for throttle_lower flag
limit.throttle_lower flag becomes true when the throttle passed into the
motors lib (which is in the 0 ~ 1000 range) is below _min throttle.
This makes the interpretation of the THR_MIN parameter consistent
between the main code (which uses 0 ~ 1000 range) and the motors lib
(which previously used the RC3_MIN ~ RC3_MAX range).
The remaining problem however is that the output of the motors continues
to use THR_MIN as if it were a pwm.  I don't believe this is a dangerous
problem however.
2014-10-04 23:49:11 +09:00
Craig Elder 7367ea04a7 AP_GPS: Adding support for the NEO7 GPS 2014-10-03 03:21:28 -07:00
Randy Mackay 68a9286086 Copter: use define for pre-arm compass offset check 2014-10-03 13:59:31 +09:00
priseborough 8aa267f75f AP_NavEKF : Fix bug in reset of GPS glitch offset
The GPS glitch offset was being zeroed during position resets. This caused the filter to reject subsequent GPS measurements if the GPS error persisted long enough to invoke a timeout and a position reset.
2014-10-03 09:17:03 +10:00
Randy Mackay b3bbec24e4 RangeFinder: TYPE param description to PX4-I2C 2014-10-02 20:24:14 +09:00
Randy Mackay 8ce4893180 RangeFinder: TYPE param description to PX4-MaxbotixI2C
This hopefully reduces confusion for PX4/Pixhawk users with MaxBotix I2C
sonar
2014-10-02 16:49:15 +09:00
Randy Mackay 7ced9b1bd3 TradHeli: remove overall throttle level from landing check 2014-10-02 16:10:44 +09:00
Randy Mackay b17c6d3368 Plane: only report ahrs unhealthy after initialisation 2014-10-02 14:41:28 +09:00
Randy Mackay 799f559c1d Rover: only report ahrs unhealthy after initialisation 2014-10-02 14:41:27 +09:00
Randy Mackay f059af2386 Copter: only report ahrs unhealthy after initialisation 2014-10-02 14:41:26 +09:00
Randy Mackay 85eee31510 AHRS: rename ekfNotStarted method to initialised
Also created default implementation in AP_AHRS class so AP_AHRS_DCM does
not need to implement it.
2014-10-02 14:40:54 +09:00
priseborough 7cea7c6a18 AP_AHRS : add method to report if EKF is waiting to start 2014-10-02 14:38:29 +09:00
Randy Mackay b06d3d3f52 Tracker: remove forwarding of pos and pressure to vehicle 2014-10-01 15:54:26 +09:00
Randy Mackay 111ec147f0 Tracker: GCS_Mavlink format fix-up of indentation 2014-10-01 15:54:24 +09:00
Randy Mackay 3e62b188a1 Tracker: process mavlink msgs from vehicle once
previously heartbeat messages from the vehicle could be processed twice.
Once at the top of hte handleMessage function where they were forwarded
onto the GCS and then again lower down in the function where all
received heartbeats were sent to the vehicle.
2014-10-01 15:54:21 +09:00
Randy Mackay 7a06ed8a8a AntennaTracker: minor comment and format fix 2014-10-01 15:54:18 +09:00
Randy Mackay 72053a8a74 AntennaTracker: notify armed after receiving vehicle position 2014-10-01 15:54:16 +09:00
Randy Mackay dbc1c03d49 Tracker: use handle_set_mode() 2014-10-01 15:54:13 +09:00
Andrew Tridgell 9453154b75 Rover: use handle_set_mode() 2014-10-01 14:19:42 +10:00
Andrew Tridgell f2e6fa3fb0 Copter: use handle_set_mode() 2014-10-01 14:19:31 +10:00
Andrew Tridgell c4b17b74e2 Plane: use handle_set_mode() 2014-10-01 14:19:20 +10:00
Andrew Tridgell 60aa017e11 GCS_MAVLink: added handle_set_mode() function 2014-10-01 14:19:04 +10:00