Commit Graph

591 Commits

Author SHA1 Message Date
Andrew Tridgell 24c85ff9d8 AntennaTracker: added Parameters.pde for old MissionPlanner 2015-06-01 15:08:08 +10:00
Andrew Tridgell f8adea2ddd AntennaTracker: complete conversion to .cpp files 2015-06-01 15:08:08 +10:00
Andrew Tridgell 1660b027ca AntennaTracker: rename pde files to cpp 2015-06-01 15:06:32 +10:00
Andrew Tridgell 4512e408f7 AntennaTracker: fixed build 2015-05-27 14:28:48 +10:00
Andrew Tridgell ce0ee69a3b AntennaTracker: fix for scheduler API change 2015-05-26 14:36:34 +10:00
Andrew Tridgell 65a95039c3 AntennaTracker: removed NOINLINE define 2015-05-21 09:35:47 +10:00
Andrew Tridgell a5c5ab2581 AntennaTracker: adjust for new AP_Scheduler syntax 2015-05-21 07:48:48 +10:00
Randy Mackay d467507b88 Tracker: version and release notes for 0.7 2015-05-17 15:30:40 +09:00
Andrew Tridgell 4a290cd2f1 AntennaTracker: support setting just accel trim with preflight-cal
use param5==2
2015-05-16 07:56:34 +10:00
Randy Mackay 35275aab85 Tracker: add support for 4th mavlink channel 2015-05-15 15:07:26 +09:00
Randy Mackay 6e97f2e1fb Tracker: clarify SYSID_MAV parameter description 2015-05-11 09:23:08 +09:00
Andrew Tridgell 295041ef45 AntennaTracker: revert AP_Math class change 2015-05-05 13:27:03 +10:00
Tom Pittenger 0e3d54d9e4 Tracker: compile warnings: float to double. print statements require doubles 2015-05-05 13:27:00 +10:00
Tom Pittenger 896c86bcc6 Tracker: compile warnings: remove unused function update_servo_test 2015-05-05 13:26:59 +10:00
Tom Pittenger 1020be9d9f Tracker: compile warnings: float to double. print statements require doubles 2015-05-05 13:26:59 +10:00
Tom Pittenger d8d8593708 AntennaTracker: compiler warnings: apply is_zero(float) or is_equal(float) 2015-05-05 13:26:53 +10:00
Andrew Tridgell 429efc4d6c AntennaTracker: fix for HAL_SITL rename 2015-05-05 09:45:57 +10:00
Randy Mackay 1f80e8859c Tracker: 0.5 release notes 2015-04-29 14:50:04 +09:00
Randy Mackay 94737e4df6 Tracker: add SYSID_TARGET and request 1hz pos data from vehicle 2015-04-27 16:58:05 +09:00
Randy Mackay 10b9f2ebe0 Tracker: snoop on all channels
This ensures we check for vehicle data on all channels
2015-04-27 16:58:02 +09:00
Randy Mackay 212e4940d4 Tracker: version to 0.5 2015-04-27 12:10:21 +09:00
Randy Mackay 404df7fe7d Tracker: add DISTANCE_MIN parameter
Vehicles will only be tracked if they are at least DISTANCE_MIN meters
away from the tracker
2015-04-27 12:10:20 +09:00
Randy Mackay f74d2101d1 Tracker: add SERVO_TEST mode
tracker switches into this mode when it receives a do-set-servo command
from the GCS.  In this mode the tracker simply moves the servo to the
specified pwm.
2015-04-27 12:10:19 +09:00
Randy Mackay f7f5040d2d Tracker: replace abs with labs for yaw servo 2015-04-27 12:10:18 +09:00
Randy Mackay ebf700d736 Tracker: fix notify initialisation
notify should be initialised before setting the initial startup flag
status
2015-04-27 12:10:16 +09:00
Randy Mackay 253a19a7fe Tracker: add range finder include
NavEKF constructor requires a range finder object even if not used
2015-04-24 14:39:09 +09:00
Niels Joubert eae9452cd1 AntennaTracker: Handle GPS Injection 2015-04-24 08:01:33 +10:00
Jonathan Challinger 90d74e55d3 AntennaTracker: fix newlines 2015-04-18 09:50:44 +09:00
Andrew Tridgell 2f8764d31a AntennaTracker: added LOCAL_POSITION message 2015-04-06 15:29:47 -07:00
Randy Mackay 912a5d80b1 Tracker: fix serial manager integration 2015-04-01 15:13:41 -07:00
Randy Mackay a32220636a Tracker: integrate Serial Manager instance 2015-04-01 14:59:30 -07:00
Vic 53275ab8af AntennaTracker: Update compass to new interface 2015-03-13 18:46:16 +11:00
Randy Mackay 94bd357c57 Tracker: add EKF_STATUS_REPORT to enum
avoids a compiler warning
2015-03-12 13:44:04 +09:00
Andrew Tridgell bd4476cb84 AntennaTracker: removed 1D accel cal 2015-03-12 12:50:29 +11:00
Andrew Tridgell e6b291f270 AntennaTracker: use new interactive accelcal 2015-03-07 21:56:40 +11:00
Randy Mackay 343bcbb1c9 Tracker: fixed MAVLink stream trigger calculations 2015-02-20 13:16:05 +09:00
Randy Mackay 73f40c697b Tracker: remove unused definitions 2015-02-15 12:16:27 +09:00
Andrew Tridgell 6ec65bf629 AntennaTracker: implement MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES 2015-02-12 09:04:16 +11:00
Andrew Tridgell 4484465b38 AntennaTracker: support AUTOPILOT_VERSION command 2015-02-11 19:52:45 +11:00
Andrew Tridgell 91df1ba738 AntennaTracker: fixed build warning 2015-02-03 09:49:15 +11:00
Randy Mackay 2684d55b59 Tracker: version to 0.4 and release notes 2015-01-31 17:42:28 +09:00
Randy Mackay b12cf4644c Tracker: initialise telem2 2015-01-29 14:05:16 +11:00
Randy Mackay c7fb252fbb Tracker: integrate SerialManager 2015-01-29 14:05:16 +11:00
Randy Mackay eced90f3a7 Tracker: version number and release notes for 0.3 2015-01-28 11:32:47 +09:00
Andrew Tridgell f8962d2439 AntennaTracker: updates for new AP_Baro API 2015-01-09 11:50:55 +11:00
Andrew Tridgell 17eee56b89 AntennaTracker: fixed build warnings 2015-01-09 11:38:23 +11:00
Staroselskii Georgii 67dc638840 Antenna: added AK8963 support 2015-01-07 08:41:13 +11:00
Andrew Tridgell 86c5d2932a AntennaTracker: fixed build with AHRS change 2015-01-03 14:16:34 +11:00
Randy Mackay 860e4b1ce2 Tracker: pre_arm_gps_check flag always true 2014-12-26 12:32:43 +09:00
Randy Mackay 43901dce65 Tracker: mavlink component id to 1
The antenna tracker's system id (aka SYSID) should be different from
other vehicles but it's component id should be "1" like copter, plane
and rover.
2014-12-11 21:09:15 +09:00
Andrew Tridgell 0d2308f754 AntennaTracker: removed old PROXY_MODE parameter
this should not be needed any more
2014-12-11 12:32:42 +09:00
Andrew Tridgell c94e934fdf AntennaTracker: use generic mavlink routing
this replaces the special purpose routing in the AntennaTracker
2014-12-11 12:32:40 +09:00
Andrew Tridgell 6b5492a586 AntennaTracker: fix build with new mavlink repo 2014-11-18 11:19:59 +11:00
Andrew Tridgell a4d2b044f0 AntennaTracker: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Randy Mackay 67a38be7ce Tracker: update version to 0.2 2014-10-11 17:11:07 +09:00
Randy Mackay 32d8e5c8d4 Tracker: only run servo updates when safety is off
Largely removes the sudden jerk that occurs when the user pushes the
safety switch
2014-10-11 17:06:29 +09:00
Michael Oborne e8303475e8 AntennaTracker: fix documentation 2014-10-11 15:25:06 +09:00
Randy Mackay 5e91d49736 Tracker: constrain manual pass through 2014-10-06 19:41:04 +09:00
Randy Mackay 4f5f253656 Tracker: send RADIO_IN msg to GCS 2014-10-06 19:41:02 +09:00
Randy Mackay 1b7ca684ee Tracker: add read_radio 2014-10-06 19:41:01 +09:00
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
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