Commit Graph

701 Commits

Author SHA1 Message Date
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
Randy Mackay 3a2e015df9 Tracker: send sensor status in extended status msg to GCS 2018-09-06 08:13:39 +09:00
Randy Mackay 4a5c6fe1e5 Tracker: enable aux servos at init and at 1hz 2018-09-06 08:13:39 +09:00
Randy Mackay c6d761c78f Tracker: alphabetise method declarations 2018-09-06 08:13:39 +09:00
Randy Mackay c8c5944b5f Tracker: set version to 1.1.0-dev 2018-09-06 08:13:39 +09:00
Peter Barker 3146fcd80a Tracker: use camera singleton to get camera rather than callback 2018-08-31 15:48:56 +10:00
Peter Barker cf2415569c Tracker: GCS_MAVLink uses compass singleton, stop implementing get_compass 2018-08-31 15:48:56 +10:00
Michael du Breuil 460455a687 Tracker: Don't force all outputs to trim 2018-08-23 13:19:08 +10:00
Randy Mackay b323a5bffe Tracker: remove compass accumulate 2018-08-06 11:05:34 +10:00
Peter Barker 978cd64a1e Tracker: move handling of RC switches into RC_Channel 2018-08-01 12:11:30 +09:00
Peter Barker f79b4b5d63 Tracker: minimal support for inheritting from RC_Channel 2018-08-01 12:11:30 +09:00
Michael du Breuil 465c2c475e Tracker: Update notify initilization 2018-08-01 09:22:09 +10:00
Michael du Breuil 9a722054ff Tracker: Remove unused ADC include 2018-07-17 09:29:50 +10:00
Peter Barker e85ca5856c Tracker: handle MAV_CMD_ACCELCAL_VEHICLE_POS in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker 7124132eee Tracker: handle command_long in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker c0fac91110 Tracker: use compass singleton for logging 2018-07-04 20:11:27 +01:00
Peter Barker 3522f32706 Tracker: move mavlink reboot code up to base class 2018-07-03 12:12:25 +10:00
Michael du Breuil 4d753ab8e0 Tracker: Remove unneeded battery failsafe flag clearing 2018-06-27 11:39:35 +10:00
Peter Barker b63b00f84e Tracker: remove usb-mux checking 2018-06-20 02:12:56 +01:00
Peter Barker 1a1ae54e07 Tracker: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker 9f6d186bea Tracker: use AP_RTC
Tracker: AP_GPS now sets the system time directly
2018-06-15 08:01:22 +10:00
Michael du Breuil 0ccacf2a96 Tracker: Remove software type param 2018-06-05 09:14:12 +10:00
Peter Barker 7be25fccea Tracker: split home-set and home-locked state 2018-05-29 14:38:45 +10:00
Peter Barker 3bffe3c345 Tracker: create persist_streamrates() callback to indicate persistence 2018-05-29 13:08:29 +10:00
Peter Barker d705dbcfc1 Tracker: move sending of simstate up 2018-05-23 18:36:50 +10:00
Peter Barker 31e7131c33 Tracker: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker 08ea7875ae Tracker: move try_send_message of servo-output-raw up 2018-05-21 19:08:08 +01:00
Peter Barker fa2e7b3eb4 Tracker: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK 2018-05-17 15:48:06 +01:00
Peter Barker cbbd28aeda Tracker: let GCS_MAVLink handle get_home_position 2018-05-17 20:42:36 +10:00
Peter Barker 62a3faf448 Tracker: remove arguments to send_home and send_ekf_origin 2018-05-17 20:42:36 +10:00
Peter Barker 2b68ab4d87 Tracker: move send_attitude up to GCS_MAVLINK 2018-05-17 18:28:43 +10:00
Peter Barker 75d5b79c48 Tracker: move try_send_message sending of scaled_pressure up 2018-05-17 15:37:14 +10:00
Peter Barker 73f845d76f Tracker: move try_send_message sending of sensor offsets up 2018-05-17 15:37:14 +10:00
Peter Barker 92b7d7079e Tracker: move try_send_message of RAW_IMU up to GCS_MAVLINK 2018-05-17 15:37:14 +10:00
Peter Barker 3e0dcacf58 Tracker: handle setting of ekf origin in GCS_MAVLink 2018-05-17 10:13:42 +10:00
Peter Barker cca9a6e557 Tracker: correct compilation when logging is disabled 2018-05-10 17:55:13 +09:00
Peter Barker b46379b3f3 Tracker: move data stream send up 2018-05-09 16:15:38 +10:00
Peter Barker a386c6100c Tracker: make scheduler track whether it has called the delay callback 2018-05-09 16:15:38 +10:00
Peter Barker 484afd09a3 Tracker: AP_RSSI is included in build for all vehicles 2018-05-08 12:33:32 +01:00
Peter Barker 76d46b0b43 Tracker: move try_send_message handling of RC_CHANNELS up 2018-05-08 12:33:32 +01:00
Peter Barker 40a7495967 Tracker: move try_send_message of heartbeats up to GCS_MAVLINK 2018-05-07 11:30:13 -06:00
Andrew Tridgell cd8b001f63 Tracker: fixed build warning 2018-05-07 11:43:23 +10:00
Andrew Tridgell 88c506d548 AntennaTracker: remove old pde file
this was here for upgrading very old MissionPlanner versions. We can
remove it now
2018-04-26 14:25:01 +10:00
Michael du Breuil 73abbbd8c8 Tracker: Support new RC_Channels::read_input() 2018-04-26 08:00:09 +10:00
Peter Barker 80f0016951 Tracker: use AP_ServoRelayEvents singleton 2018-04-18 20:31:55 +09:00
Peter Barker f3c9761901 Tracker: GPS now logs its own data 2018-04-18 13:50:55 +09:00
Peter Barker 753b710477 Tracker: Baro does its own dataflash logging 2018-04-12 19:12:12 +01:00
Michael du Breuil 40810f5973 Tracker: Use RC_Channels instead of hal.rcin 2018-04-11 21:47:07 +01:00
Francisco Ferreira 21341feecb
Tracker: fix method shadowing 2018-04-03 16:29:34 +01:00
Peter Barker a0a1ca4d95 Tracker: factor vehicle's mavlink send_heartbeat 2018-04-03 13:05:19 +01:00
Peter Barker b862e4f3a8 Tracker: tidy handling of barometer calibrations 2018-04-02 23:25:05 +01:00
Peter Barker 60aaabd93a Tracker: move common calibration functions up 2018-04-02 23:25:05 +01:00
Peter Barker 030a1997f5 Tracker: factor out preflight calibration function 2018-04-02 23:25:05 +01:00
Peter Barker beb5dc2fd6 Tracker: stop using mavlink_snoop for target traffic
... rather, override packetReceived which sees all packets seen
2018-03-28 09:28:23 +09:00
Michael du Breuil a108ae8f1e AntennaTracker: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Peter Barker 5f4838f3f2 Tracker: allow DataFlash to handle log sending 2018-03-26 09:22:47 +09:00
Peter Barker a0b35cfa25 Tracker: use ins singleton 2018-03-16 00:37:35 -07:00
Peter Barker 7d024095c6 Tracker: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker 0d04e916a1 Tracker: use AP::ahrs() for GCS_MAVLink 2018-03-07 12:34:39 +00:00
Peter Barker f844f4ea80 Tracker: add reason to set_mode 2018-02-22 10:30:10 +10:00
Peter Barker c2663fca9e Tracker: pass log-performance-bit at init time rather than update time 2018-02-13 17:15:05 +11:00
Randy Mackay 144dd82fe4 Tracker: fix global-pos-int velocity direction to NED 2018-02-13 08:52:48 +09:00
Peter Barker f86d4466bd Tracker: remove shims used in scheduler table 2018-02-12 20:09:09 +09:00
Andrew Tridgell b702dd5342 Tracker: removed compass learn_offsets() 2018-02-08 17:36:33 +11:00
Michael du Breuil 8094198767 Tracker: Show battery parameters, support battery logging 2018-02-06 00:11:32 +00:00
Peter Barker 2b36ec618f Tracker: AP_AHRS no longer requires GPS in constructor 2017-12-27 00:58:02 +00:00
Andrew Tridgell a8a715d673 Tracker: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Peter Barker 3f7eb69327 Tracker: tighten type of result variable in handleMessage 2017-12-01 17:01:10 +00:00
Andrew Tridgell 958a665334 Tracker: don't disable compass on one bad reading
the compass can go back for a short time and recover

found by Michael
2017-11-28 09:02:24 +11:00
Peter Barker ca72b20e04 Tracker: correct sending of servo outputs 2017-11-27 14:26:00 +09:00
Peter Barker 33feeb1c11 Tracker: add support for SYS_STATUS sending, battery 2017-11-27 12:26:57 +09:00
Peter Barker 4e39496046 Tracker: support for units on fields 2017-11-23 10:40:30 +11:00
Peter Barker a6bda813f1 Tracker: use gps singleton for GCS functions 2017-11-15 13:43:03 +00:00
Peter Barker b59c272996 Tracker: call ins's periodic function 2017-10-27 16:33:45 +11:00
Lucas De Marchi bfd13dfe87 global: use static method to construct AP_AHRS_DCM 2017-09-26 03:01:21 +01:00
Lucas De Marchi beabae6a98 global: use static method to construct AP_AHRS_NavEKF 2017-09-26 03:01:21 +01:00
Lucas De Marchi c9fbf7b722 global: use static method to construct AP_NavEKF3 2017-09-26 03:01:21 +01:00
Lucas De Marchi e2fe36357a global: use static method to construct AP_NavEKF2 2017-09-26 03:01:21 +01:00
Lucas De Marchi 69b6d95cb2 global: use static method to construct AP_Board_Config{,_CAN} 2017-09-26 03:01:21 +01:00
Lucas De Marchi 72fd2d6f05 global: use static method to construct AP_SerialManager 2017-09-26 03:01:21 +01:00
Lucas De Marchi 40fd1b346c global: remove rangefinder from AP_AHRS_NavEKF
AP_AHRS_NavEKF doesn't use the rangefinder, it just delegates the
calls to the right estimator.

For libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp the initialization
order has also been modified to match the order on vehicles. It's more
correct since it passes a reference when EKF2/EKF3 are already
constructed, while thos constructors use a pointer.  Ideally these
should be moved to an init() method though, or use a get_instance().
2017-09-26 03:01:21 +01:00
Lucas De Marchi 9027a55696 global: use static method to construct RangeFinder 2017-09-26 03:01:21 +01:00
Lucas De Marchi 53c82b4aaf global: use static method to construct DataFlash_Class 2017-09-26 03:01:21 +01:00
Lucas De Marchi 62ac0ab8aa global: use static method to construct AP_Notify 2017-09-26 03:01:21 +01:00
Lucas De Marchi de680dac5b global: use static method to construct AP_Scheduler 2017-09-26 03:01:21 +01:00
Lucas De Marchi 8094482f21 global: use static method to construct AP_GPS 2017-09-26 03:01:21 +01:00
Lucas De Marchi 87b30b4552 global: use static method to construct AP_InertialSensor 2017-09-26 03:01:21 +01:00
Lucas De Marchi c1a957fbf3 global: use static method to construct Compass 2017-09-26 03:01:21 +01:00
Lucas De Marchi 91feec0e14 global: use static method to construct AP_Baro 2017-09-26 03:01:21 +01:00