Commit Graph

689 Commits

Author SHA1 Message Date
Peter Barker 9b459a1e6c AntennaTracker: remove comment for already-removed in-delay-callback function
These are now attached to completely unrelated functions, which is
pretty bad.
2020-04-16 15:11:35 +09:00
Peter Barker f6ab998924 Tracker: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Rishabh b1cb3b10ca Tracker: Logger documentation TimeUS and typo fix 2020-04-07 18:57:01 +10:00
Peter Barker 64b54fd92a Tracker: add information on onboard log messages 2020-03-28 13:00:07 +11:00
Peter Barker 2f159288e2 AntennaTracker: move initialisation of serial and gcs to AP_Vehicle 2020-02-25 11:50:55 +11:00
Peter Barker 6dd204d52c Tracker: correct missing parameter documentation 2020-02-19 15:09:16 +11:00
Peter Barker d8f6089f64 Tracker: add arming library to avoid segmentation fault
Places make assumptions that the AP_Arming singleton is non-null
2020-02-19 11:50:54 +11:00
Peter Barker 465bde5339 AntennaTracker: remove unused compass_init_location state 2020-02-18 10:35:49 +11:00
Matt Lawrence 7c5f67227b Tracker: Remove links to AP_Camera
No longer needed
2020-02-12 22:55:29 +11:00
Peter Barker 449ca74951 Tracker: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker de2689bddd AntennaTracker: move some common init_ardupilot code up to AP_Vehicle 2020-01-28 11:34:51 +11:00
Peter Barker dfc274e547 Tracker: move setup method up to AP_Vehicle base class 2020-01-28 11:34:51 +11:00
Peter Barker 0c355bef90 Tracker: let AP_Vehicle base class worry about scheduler delay callback 2020-01-21 11:37:28 +11:00
Andrew Tridgell 5e1378a6e3 Tracker: remove linkage of AP_Stats 2020-01-16 20:36:54 +11:00
Peter Hall 1c57a6a527 Tracker: set_likely_flying in vehicle 2020-01-14 22:34:37 -07:00
Tatsuya Yamaguchi b4f2c8cfa0 Tracker: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Andrew Tridgell 1c80e510db Tracker: removed init_vehicle from separate vehicles
use common call from AP_BoardConfig
2019-12-30 13:02:04 +11:00
Andy Piper 1b7c49b662 Tracker: create generic vehicle management and move runcam to it
add RCMapper and OSD to build
2019-12-30 13:02:04 +11:00
Andrew Tridgell 69ea4882d2 Tracker: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Peter Barker 78e1cf1dad Tracker: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
Peter Barker a8e2923774 Tracker: correct scan mode pitch clamping 2019-12-06 08:21:30 +08:00
Peter Barker da184ffdaf Tracker: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Peter Barker 21f7b2fe4f Tracker: consolidate camera dummy functions into system.cpp 2019-12-04 14:49:00 +11:00
Peter Barker 1d6d78c0d4 Tracker: initialise RC library
Without this MANUAL mode is broken as all RC_Channel objects use the
first RC input channel.
2019-12-04 13:38:32 +11:00
Peter Barker 47f9defe3f Tracker: clean up mode.cpp 2019-12-03 22:01:12 +11:00
Peter Barker 1e451e8165 Tracker: move update_scan into mode.cpp
Consolidating Mode:: methods in mode.cpp
2019-12-03 22:01:12 +11:00
Peter Barker f3d3f01e76 Tracker: rename control_auto.cpp to mode.cpp
Turns out all of the functions in here are in the Mode:: namespace...
2019-12-03 22:01:12 +11:00
Peter Barker 2b8628d6bb Tracker: remove empty mode.cpp 2019-12-03 22:01:12 +11:00
Peter Barker 8b302a4975 Tracker: rename mode files to be consistent with other vehicles 2019-12-03 22:01:12 +11:00
Randy Mackay 3502f5d449 Tracker: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Peter Barker 16103f08d8 Tracker: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Peter Barker 3d5a6cb074 Tracker: rename system_status as it won't be called from base class 2019-11-27 14:27:53 +11:00
Marian Soban 6af2262597 Tracker: add stubs to avoid linking LTM telemetry 2019-11-26 12:14:13 +11:00
Peter Barker ee06faed88 AntennaTracker: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends 2019-11-26 10:17:17 +11:00
Peter Barker 8c2c38c80a Tracker: remove unused includes 2019-11-25 14:43:15 +08:00
Peter Barker ad97009e00 Tracker: rename parameter to avoid name conflict with lock 2019-11-12 16:33:12 +11:00
Peter Barker 54373a6703 Tracker: add method to avoid linking AP_Avoidance 2019-11-12 13:48:09 +11:00
Peter Barker deb0fdccc8 Tracker: move all dummy methods to system.cpp
MAVLink makes less sense than this
2019-11-12 13:48:09 +11:00
Peter Barker bfcd3bc425 Tracker: add ModeGuided 2019-11-11 10:06:21 +11:00
Peter Barker 531bdcc130 Tracker: create a Mode hierarchy to handle different control modes 2019-11-11 10:06:21 +11:00
Peter Barker 88ba3e051c Tracker: let GCS superclass specify compass and param float capabilitiy 2019-11-05 11:26:23 +11:00
Andrew Tridgell 4afade2769 AntennaTracker: moved AC_PID dependency to core 2019-11-02 16:31:04 +11:00
Michael du Breuil 6d7b196212 Tracker: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Peter Barker 52ec1dba5e Tracker: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Peter Barker 65d1183bb0 Tracker: move many members up to base class 2019-10-08 11:26:04 +11:00
Peter Barker 91cf090864 Tracker: become an AP_Vehicle 2019-10-08 11:26:04 +11:00
Peter Barker 8deec7b60f Tracker: implement dummy afs singleton getting to avoid linking AFS 2019-09-17 09:13:43 +10:00
ashvath eecdf56c3b Tracker: Rename AntennaTracker.cpp to Tracker.cpp 2019-08-28 22:49:15 +10:00
Michael du Breuil 580ee459be Tracker: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Peter Barker ab9614a3de Tracker: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker 2428487383 Tracker: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker e5ea748e7f Tracker: integrate AP_Stats library 2019-08-07 07:57:46 +09:00
Peter Barker d99c836360 Tracker: tidy compass offset saving 2019-08-06 17:48:42 +09:00
Peter Barker a312249eea Tracker: bump development version number to 1.2.0 2019-08-03 11:30:02 +10:00
Peter Barker 142a4a105a Tracker: update release notes for Tracker-1.1 release 2019-08-03 11:28:00 +10:00
Leonard Hall d61aa7a4ce Tracker: support for upgrade to PID object 2019-07-25 17:38:15 +09:00
Leonard Hall 157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Peter Hall c128c80d56 Tracker: add disarmed pwm param 2019-07-19 21:12:36 +09:00
Pierre Kancir 4180345fdc AntennaTracker: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker c14a4b5c2b Tracker: RangeFinder uses AP_SerialManager singleton 2019-07-16 09:29:48 +10:00
Peter Barker 9910a44dcc Tracker: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker befc150d0e Tracker: EKF logging moved into EKF from logger 2019-07-06 19:05:51 +10:00
Peter Barker 77187cd7e2 Tracker: add sanity check when fetching GCS_MAVLink instance 2019-06-27 07:54:45 +10:00
Michael du Breuil 99872ea9e2 Tracker: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Peter Barker 932c36a3fb Tracker: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 4f85d45fcb Tracker: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Jaaaky f9c35772fe AntennaTracker: convert to unix style end-of-line 2019-06-19 16:39:09 +09:00
Michael du Breuil 2dddd9e673 Tracker: Enable scripting parameters 2019-06-18 00:06:32 -07:00
Peter Barker e60f92cb43 Tracker: set os_sw_version to date fw was compiled
Also avoids non-trivial-designator compilation error
2019-06-18 10:54:01 +10:00
Peter Barker be9aac4444 Tracker: build and link against AP_Arming 2019-05-30 07:37:30 +09:00
Peter Barker f97ea174a6 Tracker: adjust for new ap_message ids 2019-05-22 08:53:45 +10:00
Peter Barker a148e9648e Tracker: remove use of defunct state variables 2019-05-22 08:53:45 +10:00
Tom Pittenger fb0c9c7813 Tracker: move heartbeat sending to gcs instead of by vehicles 2019-05-14 10:54:45 -06:00
Peter Hall e6c7fd2acc Tracker: initialise battery 2019-04-27 10:43:01 +10:00
Peter Barker 5e683261a4 Tracker: update release notes for 1.1.0 2019-04-26 15:27:06 +10:00
Peter Barker 89f43c0318 Tracker: move responsibility for logging into library 2019-04-23 10:06:17 +10:00
Peter Barker 09a11429e1 Tracker: call compass cal routine directly from sched table 2019-04-23 10:06:17 +10:00
Peter Barker 5449fe142f Tracker: move setting of compass sys_status bits up 2019-04-16 09:48:23 +10:00
Michael du Breuil d28f9151c5 Tracker: Fix RangeFinder init 2019-04-06 09:15:22 +11:00
Pierre Kancir dfdef294e3 AntennaTracker: move get_bearing_cd to Location and rename to get_bearing_to 2019-04-06 09:10:28 +11:00
Michael du Breuil e0448a6e24 Tracker: include FWversion 2019-04-05 20:12:53 +11:00
Peter Barker 39db4eb871 Tracker: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
Tom Pittenger e9ba121467 Tracker: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Peter Barker 18a211f3e6 Tracker: stream out EKF status report
Resolves a problem in autotest where we wait in vain for an
EKF_STATUS_REPORT
2019-03-26 20:55:32 +11:00
IamPete1 59526efa02 Tracker: restore scan mode functionality 2019-03-26 17:16:02 +11:00
Peter Barker b976442e64 Tracker: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Pierre Kancir 1d8cc85cb9 AntennaTracker: zero initialize vehicle instead of memsetting it
Solve gcc8 warning
2019-03-26 10:43:23 +11:00
Peter Barker 65e6875acf Tracker: remove definition of Devo constructor 2019-03-23 11:25:21 +11:00
Peter Barker c7a9bed5ba Tracker: add dummy methods to avoid linking DevoTelem 2019-03-19 14:39:14 +11:00
Peter Barker 4e49e89b33 Tracker: move base_mode and frame_type into GCS from GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker 6b4733c9f0 Tracker: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker 6e67481355 Tracker: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
IamPete1 2d14d79a65 Tracker: clamp output angles to relevant ranges 2019-03-18 12:08:12 +11:00
IamPete1 1ac74e2fe5 Tracker: add initial mode parameter 2019-03-18 10:37:39 +11:00
IamPete1 392b59d7d6 Tracker: set actual and desired for GCS-PID message 2019-03-18 10:11:33 +11:00
IamPete1 144e3ed39a Tracker: initialize mission object 2019-03-18 10:11:33 +11:00
IamPete1 836adb6b0b Tracker: use pitch-min and pitch-max in place of constants 2019-03-14 13:19:32 +11:00
IamPete1 a967caa924 Tracker: add parameters for yaw and pitch scan speed 2019-03-14 11:36:20 +11:00
Peter Barker b933f050b8 Tracker: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker 166f246744 Tracker: move sending of send_pid_tuning up 2019-03-05 10:41:56 +11:00
IamPete1 f33ba58549 Tracker: add PID_TUNING message 2019-03-05 10:41:56 +11:00
Michael du Breuil 76743b7f1d AntennaTracker: Allow scripting to run 2019-03-05 08:45:54 +11:00
Peter Barker 54cb76ca83 Tracker: remove dead case in message switch 2019-03-02 09:29:38 +11:00
Peter Barker 3f6dd706d1 Tracker: accept arm/disarm to any component ID, not just MAV_COMP_ID_SYSTEM_CONTROL 2019-03-02 09:29:38 +11:00
IamPete1 70d4d2ac8f Tracker: honour vehicle arm status
Also don't indicate we are armed if we are in INITIALISING
2019-03-01 21:33:12 +11:00
IamPete1 5399b659ea Tracker: handle Tracker fixed position 2019-03-01 20:57:54 +11:00
IamPete1 1bade761a1 Tracker: factor out compass functions 2019-02-28 15:17:26 +11:00
IamPete1 87a0166c1c Tracker: fix communication lock out when vehicle connected 2019-02-28 13:54:07 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 62fa59238b Tracker: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker 20e28acb16 Tracker: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker fe6ca9afa3 Tracker: add support for mavlink set-home-position 2019-02-26 08:03:56 +11:00
Peter Barker 9f6027b332 Tracker: make set_home bool, do not save bad homes 2019-02-26 08:03:56 +11:00
Peter Barker 33637dbe22 Tracker: move update_sensor_flags to GCS_Rover.cpp 2019-02-20 11:57:00 +11:00
Peter Barker 6ef1c64652 Tracker: move update_sensor_status_flags into GCS subclasses 2019-02-19 14:09:59 +11:00
Peter Barker ff7ef21456 Tracker: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing 2019-02-19 14:09:59 +11:00
Peter Barker c46de4a9a0 Tracker: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker 0519949e21 Tracker: move try_send_message of nav_controller_output up 2019-02-19 10:08:00 +11:00
Peter Barker f4097d254c Tracker: make setting of home boolean in preparation for sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker bf5eae3f72 Tracker: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker 9a2ca025dd Tracker: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Peter Barker 8e19e805c6 GCS_Common: clarify enumeration item name MSG_NEXT_WAYPOINT 2019-01-22 09:01:57 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 299c91cf85 Tracker: Log_Write_SIMSTATE no longer takes dataflash pointer 2019-01-18 11:16:54 +11:00
Peter Barker 17deff637b Tracker: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker 61df15ffe8 Tracker: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Michael du Breuil 85296ac3f3 AntennaTracker: Remove unneeded GCS rally override 2019-01-08 10:39:50 +11:00
Michael du Breuil c1e3e3f8c4 AntennaTracker: Reset all storage when format version is incorrect 2019-01-08 10:35:37 +11:00
murata b420629ce7 Tracker: Delete NuttX version processing 2019-01-08 10:06:20 +11:00
Michael du Breuil 98914ff60e AntennaTracker: Remove unneeded AP_Buffer include 2018-12-31 11:41:43 +09:00
Andrew Tridgell 088442880e build: removed makefile build system 2018-12-22 11:06:59 +11:00
Peter Barker 1e90d90465 Tracker: split SIMSTATE, AHRS2 and AHRS3 onto their own ap_message ids 2018-12-19 13:19:23 +11:00
Peter Barker 06d2f97861 Tracker: split SYS_STATUS and POWER_STATUS onto separate ap_messages 2018-12-18 14:05:20 +11:00
Peter Barker a102a0352c Tracker: GCS_MAVLink now uses Mission singleton 2018-12-13 10:52:52 +09:00
Peter Barker 1871b0066a Tracker: split MSG_SCALED_PRESSURE into three separate messages 2018-12-12 21:36:01 +11:00
Peter Barker f3157433b8 Tracker: GCS_MAVLink uses dataflash singleton 2018-12-11 08:43:47 +09:00
Peter Barker 96138244e2 Tracker: split MSG_RAW_IMU1 into per-IMU ap_messages 2018-12-10 12:52:41 +09:00
Peter Barker 703eef7fb4 Tracker: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Peter Barker 7161f57d64 Tracker: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker 730dc191cc Tracker: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker 424c82de33 Tracker: rename MSG_EXTENDED_STATUS2 to MSG_MEMINFO 2018-12-04 18:01:38 +11:00
Peter Barker b793e139a2 Tracker: rename MSG_RAW_IMU2 and MSG_RAW_IMU3 to reflect what they send 2018-12-04 17:45:32 +11:00
Peter Barker 0aa4c4ed9a Tracker: remove pointless wrappers around gcs functions 2018-11-23 10:56:17 +11:00
Peter Barker 65e4d74b1f Tracker: add override keyword where required, fix bad method override 2018-11-08 11:30:12 +11:00
Michael du Breuil 32b88feb60 Tracker: Make capability init consistent 2018-11-05 14:04:36 +11:00
Andrew Tridgell 75b2c8bf1b Tracker: allow for "in-flight" compass learning 2018-10-24 07:25:42 +10:00
Peter Barker dc52ca2192 Tracker: leave AHRS to log and notify home changes 2018-10-16 10:55:13 +11:00
Randy Mackay fb3cb75777 Tracker: default BRD_SAFETYOPTION to allow disarming 2018-09-06 08:30:53 +09:00
Randy Mackay 02a2f32c40 Tracker: minor format fix 2018-09-06 08:13:39 +09:00
Randy Mackay 30bc86e4a0 Tracker: remove unnecessary return 2018-09-06 08:13:39 +09:00