Commit Graph

429 Commits

Author SHA1 Message Date
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
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 655db3c2d5 AntennaTracker: set GPS non-blocking
the new GPS driver only ever needs a non-blocking port
2014-08-19 10:08:17 +10:00
Andrew Tridgell 565e897336 AntennaTracker: fixed autodoc format errors 2014-08-15 06:19:55 +10:00
Randy Mackay 6195b2b0c8 Antenna: update makefile for new location 2014-08-14 20:56:05 +10:00
Randy Mackay eb4eca8550 Antenna: move up one directory 2014-08-14 20:56:00 +10:00