Commit Graph

662 Commits

Author SHA1 Message Date
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
Lucas De Marchi 9db5d7991c AntennaTracker: protect version.h from inclusion and use ap_version.h 2017-09-23 21:37:45 -07:00
Lucas De Marchi efdc7daf96 AntennaTracker: do not include version.h/ap_version.h
The interface provided by each vehicle should be used to get the
version. The user of the macro has been converted to use that interface.
2017-09-23 21:37:45 -07:00
Lucas De Marchi ecd204c45c AntennaTracker: move version to a static member
We should never include version.h or ap_version.h headers directly
on a header since this will trigger a complete rebuild of the
codebase when we commit to the repository. The ap_version.h header
is auto-generated containing information from the current commit.

If we include it in a header, every other file that ends up including
that header (directly or indirectly) will need to be rebuilt. No
ccache's cache beats having to do nothing when the header is just
not included.

version.h contains information that is kept on a struct inside
each vehicle. Rather than using the macros from each vehicle,
the getter should be preferred, which returns an AP_FWVersion
referente.
2017-09-23 21:37:45 -07:00
Peter Barker c090818d5e Tracker: move handling of SET_GPS_GLOBAL_ORIGIN up 2017-09-19 15:44:23 +09:00
Randy Mackay d45eb33980 Tracker: support SET_GPS_GLOBAL_ORIGIN message 2017-09-19 10:30:15 +09:00
Peter Barker 962f237db4 Tracker: remove old DO_SET_MODE support
We no longer support setting modes except via custom modes
2017-09-19 01:24:11 +01:00
Peter Barker a2132f7b72 Tracker: handle param_request_list in GCS_MAVLINK base class 2017-08-30 15:54:47 +01:00
Peter Barker f60e4bcea2 Tracker: handle param_set in GCS_MAVLINK base class 2017-08-30 15:54:47 +01:00
Peter Barker 98f9e744b0 Tracker: move send_autopilot_request calls up to GCS base class 2017-08-30 15:54:46 +01:00
Peter Barker 0177e959c9 Tracker: add constant structure holding firmware version 2017-08-30 15:54:46 +01:00
Peter Barker 6f11c80f56 Tracker: add ArduSub to list of SYSID_SW_TYPE 2017-08-24 19:50:38 +09:00
Randy Mackay 813a8c8f99 Tracker: integrate simpler Log_Write_EKF 2017-08-23 11:19:14 +09:00
Peter Barker cdb6c083a3 Tracker: move serial_control case to base class 2017-08-17 12:42:31 +01:00
Peter Barker 947bae2f86 Tracker: use GCS_MAVLINK subclasses to handle set_mode 2017-08-16 11:58:10 +10:00
Michael du Breuil 105ebd6fb0 AntennaTracker: Reject MAV_CMD_DO_FLIGHTTERMINATION 2017-08-15 15:14:56 +01:00
Peter Barker 90948bef05 Tracker: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker f78d50215c Tracker: add new dummy function to avoid linking the AP_Camera 2017-08-09 16:18:22 +01:00
Peter Barker f27eeeff56 Tracker: send gps messages as separate queued messages 2017-08-09 16:18:22 +01:00
Peter Barker 7e5d90f446 Tracker: move sending of gps_raw up 2017-08-09 16:18:22 +01:00
Peter Barker 1532e30a5b Tracker: use new retry_deferred method 2017-08-05 23:14:27 +01:00
Peter Barker 33858187ef Tracker: move try_send_message queued_param_send up 2017-08-03 14:34:33 +01:00
Peter Barker e08b87763e Tracker: move try_send_message send_hwstatus up 2017-08-03 14:34:31 +01:00
Peter Barker de0c6d7ca5 Tracker: move try_send_message mission handling up 2017-08-03 14:33:31 +01:00
Peter Barker 5b4d968887 Tracker: move try_send_message compass message handling up 2017-08-03 14:24:47 +01:00
Peter Barker 4c11f07a02 Tracker: move common mavlink camera handling up 2017-07-28 14:32:58 +01:00
Peter Barker 4ed7f6a769 Tracker: move gps inject handling up to GCS_MAVLINK 2017-07-27 12:03:25 +01:00
Peter Barker d3c5369352 Tracker: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker c9c1f3ea29 Tracker: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker d9c4e1ad8e Tracker: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Peter Barker 663d454119 Tracker: move handling of MAG_CAL command longs up 2017-07-17 14:17:19 +01:00
Peter Barker 8e289f1a47 Tracker: compilation fixes for ServoRelayEvents in superclass 2017-07-16 23:56:00 +01:00
Peter Barker 2136797770 Tracker: add common handling of mavlink command messages 2017-07-16 23:56:00 +01:00
Peter Barker cf50c43f75 Tracker: move rally-point handling up 2017-07-14 01:28:05 +01:00
Peter Barker abce338076 Tracker: move handling of incoming statutext messages up 2017-07-12 16:52:24 +01:00
Peter Barker 579a1da2c5 Tracker: eliminate global static GCS_MAVLINK::send_home_all 2017-07-11 23:48:39 +01:00
Peter Barker 4ec309222d Tracker: move common mission handling up to GCS_MAVLINK 2017-07-11 23:45:17 +01:00
Peter Barker 7865d467d3 Tracker: eliminate gcs_send_message wraper 2017-07-11 23:45:16 +01:00
Peter Barker 2039222c7e Tracker: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Peter Barker f9eeaacd6c Tracker: use Notify singleton for sending statustext 2017-07-09 17:17:29 -04:00
Peter Barker b81e5a8562 Tracker: create GCS subclass, use inheritted methods 2017-07-07 16:18:37 +01:00
Eugene Shamaev b365a4ddf5 AntennaTracker: move of CAN parameters into separate group 2017-07-03 11:44:32 +01:00
Peter Barker b62a1394dd Tracker: indicate to gps library which bit indicates log-gps 2017-06-29 15:43:39 +01:00
Peter Barker ef72381708 Tracker: check dataflash to see if we should log backend gps messages 2017-06-29 15:43:38 +01:00
Peter Barker 075c40bd60 Tracker: move should_log check of log bitmask into DataFlash 2017-06-29 15:26:27 +01:00
Peter Barker c5df219a02 Tracker: handle knowledge of in_log_download in DataFlash 2017-06-27 03:10:43 +01:00
Peter Barker 6c2bfe08cd Tracker: move send-logs-via-mavlink code into DataFlash
Also, fix log download
2017-06-27 03:10:43 +01:00
Michael du Breuil a42c09d27a Tracker: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing 2017-06-20 15:41:50 +01:00
Peter Barker 765a91c86b Tracker: move MAVLINK_MSG_ID_REMOTE_LOG_BLOCK_STATUS handling up 2017-06-17 15:07:48 +01:00
Peter Barker 762d5a649d Tracker: tell dataflash we're arming or disarming 2017-06-16 17:07:48 +01:00
Peter Barker 31ac03368d Tracker: stop using in_mavlink_delay as a proxy for disabling logging 2017-06-16 17:07:48 +01:00
Peter Barker bf510221e0 Tracker: call dataflash should_log method 2017-06-16 17:07:48 +01:00
Peter Barker c1e07255b4 Tracker: simplify dataflash initialisation 2017-06-14 12:20:29 +01:00
Peter Barker 6d1f42d1c5 Tracker: unconditionally start unstarted logging 2017-06-11 20:34:12 +01:00
Peter Barker 76f7ad1252 Tracker: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker 332e5059e2 Tracker: simplify should_log (NFC) 2017-06-11 20:34:12 +01:00
Peter Barker d365a91bae Tracker: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Michael du Breuil c4cd6bdf86 Tracker: Ignore landing message 2017-05-24 15:22:27 -07:00
Dr.-Ing. Amilcar Do Carmo Lucas e6a7adb9a6 AntennaTracker: Use SI units conventions in parameter units
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Andrew Tridgell 1817974ce6 AntennaTracker: removed AP_Airspeed from vehicle code 2017-05-04 22:59:02 -07:00
Peter Barker f130b4a580 Tracker: move init of DataFlash references into vehicle init
This makes it look like the other vehicle types
2017-05-01 15:04:34 +01:00
Andrew Tridgell 005797c327 AntennaTracker: use common send_queued_parameters() 2017-05-01 14:36:10 +10:00
Andrew Tridgell f151fd3691 AntennaTracker: call BoardConfig.init_safety() at end of startup
this fixes a bug where motors can start on soft reboot
2017-04-30 21:47:04 +10:00
Andrew Tridgell c5d2b5b62e AntennaTracker: fixed duplicate include of AP_ADC library 2017-04-27 18:32:26 +10:00
Peter Barker 269c6c2fd9 Tracker: log GPS detection state to DF on log startup 2017-04-23 21:04:17 +01:00
Andrew Tridgell 03430c98d1 AntennaTracker: ignore MSG_AOA_SSA 2017-04-19 20:48:42 +10:00
Michael du Breuil 46790db751 AntennaTracker: Ignore BATTERY_STATUS message 2017-04-12 10:21:49 +09:00
Andrew Tridgell 70ab44a048 AntennaTracker: fix for mavlink update 2017-04-11 20:03:43 +01:00
Andre Kjellstrup 9e5d6ab1e9 removed redundant code 2017-04-04 14:01:37 -07:00
Randy Mackay 87df06c45f Tracker: update rangefinder declaration 2017-02-27 15:18:31 +09:00
Peter Barker 9e42014387 Tracker: not in log download upon log erase
erase is a synchronous operation
2017-02-13 11:36:16 +11:00
Peter Barker e12e51f502 Tracker: Support for a GCS singleton 2017-02-13 09:32:01 +11:00
Peter Barker 14470573f6 Tracker: rename gcs[] to gcs_chan[]
Wish to use gcs() to return the gcs singleton
2017-02-13 09:32:01 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas 5012b2e899 AntennaTracker: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Andrew Tridgell e12a1c4772 Tracker: fixed parameter path 2017-02-06 15:12:32 +11:00
murata 577d19f91d Tracker: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
Randy Mackay b67512aae9 Tracker: send text to notify 2017-01-23 15:07:21 -08:00
Randy Mackay a04cdce1bc Tracker: notify initialised after parameters loaded 2017-01-23 15:07:21 -08:00
Andrew Tridgell 2513b27058 Tracker: use k_tracker_yaw and k_tracker_pitch
thanks to review by Buzz
2017-01-12 17:39:37 +11:00
Andrew Tridgell 3f71fd98a0 AntennaTracker: adapted to new SRV_Channel API 2017-01-12 17:39:37 +11:00
Peter Barker 588e59f524 Tracker: correct compilation when logging disabled 2017-01-02 15:57:21 +09:00
Andrew Tridgell 1c3fefa150 Tracker: fixed EKF3 logging 2016-12-19 08:07:14 +11:00
priseborough 38ad778ff1 make.inc: Add EKF3 and remove EKF1 library from make.inc files 2016-12-19 08:07:10 +11:00
Andrew Tridgell 33943de4a0 AntennaTracker: Add EKF3 and remove EKF1 2016-12-19 08:07:09 +11:00
Randy Mackay 4ae9c0cf49 Tracker: minor formatting fix
No functional change
2016-12-14 11:06:30 +09:00
Randy Mackay f096234c2a Tracker: pass HIL_GPS to gps driver 2016-12-08 15:52:26 +09:00
Michael du Breuil e150ff369b Tracker: Add compass cal capability 2016-12-04 19:17:01 -08:00
Randy Mackay ae366c0217 Tracker: include AP_Beacon 2016-11-30 17:57:07 +09:00
Randy Mackay 465c5cc4b9 Tracker: remove call to EKF1 logging 2016-11-30 17:57:06 +09:00
Randy Mackay 2ee42734f3 Tracker: add AP_Beacon to build 2016-11-30 17:57:05 +09:00
Peter Barker 3fbcf40a1a Tracker: do not reset LOG_BITMASK when no CardInserted 2016-11-29 15:14:09 -08:00
murata 8f80aa9c94 Tracker: Change from printf statement to print, println statement. 2016-11-25 15:53:47 -08:00
Francisco Ferreira 2879e78230 Tracker: support MAV_CMD_ACCELCAL_VEHICLE_POS 2016-11-15 11:42:54 -08:00
Andrew Tridgell 90c4214a3e Tracker: use handle_common_message() 2016-11-09 17:08:09 +11:00
floaledm 4a7c9873ef AntennaTracker: include AP_Frsky_Telem lib 2016-11-08 07:42:39 +11:00
murata cc8dd92a8c Tracker: To nullptr from NULL. 2016-10-28 09:56:07 -07:00
Michael du Breuil 4e86ef9b47 Tracker: Allow compass to manage buffer space for MAG_CAL 2016-10-27 14:04:34 +11:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell 30da64f8ef Tracker: fixed startup order of setting mavlink system ID 2016-10-17 09:21:08 +11:00
Andrew Tridgell 27d50988ca Tracker: deprecate RC_CHANNELS_RAW 2016-10-13 21:24:09 +11:00
Michael du Breuil c255aea358 Tracker: Support GPS_RTCM_DATA (as well as GPS_INPUT) 2016-10-11 11:00:36 +11:00
murata 467da77c77 AntennaTracker: To add a judgment of 0 degrees longitude. 2016-10-04 08:29:37 -07:00
Matthew Brener 06388b0417 Global: Fix typos 2016-09-17 00:36:36 -03:00
Gustavo Jose de Sousa b8e518a533 waf: use ap_library tool
That way we avoid recompiling source files that don't depend on vehicles.
Change notes:
- UTILITY_SOURCE_EXTS: moved to ap_library
- Task generators indexes: ap_library handles that now and in a better way
- Use of AP_STLIB_FEATURES: it doesn't make sense anymore, since the stlib
  taskgen has empty source list
- Flags and defines: passed down to ap_library through AP_LIBRARIES_OBJECTS_KW
- Set use='mavlink' in AP_LIBRARIES_OBJECTS_KW instead of calls to
  bld.ap_stlib().
2016-08-24 10:46:23 -03:00
Andrew Tridgell 80bad445b8 Tracker: changed startup order
this allows BoardConfig to report errors in a way that allows for
BRD_TYPE to be changed by the user
2016-08-10 19:54:01 +10:00
Randy Mackay 20ade3bb17 Tracker: minor formatting fix
No functional change
2016-08-08 12:01:51 +09:00
Randy Mackay 0e5a91bb1b Tracker: fix return results from preflight calibration
Was always returning success even in cases where it failed
Issue found by Coverity
2016-08-08 12:01:21 +09:00
Ricardo de Almeida Gonzaga 1b872b88f8 AntennaTracker: Fix typos 2016-08-04 11:41:18 -07:00
Gustavo Jose de Sousa f2dec971e7 waf: add "ap_" prefix to keywords "libraries" and "vehicle"
As an effort to keep things specific to ardupilot API in the build system
consistent and easy way to identify.
2016-08-01 22:04:16 -03:00
Lucas De Marchi d854b55b9f AntennaTracker: Remove i2c lockup count
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
2016-07-28 18:03:09 -03:00
Randy Mackay faa6e2fefa Tracker: version to 1.0 including release notes 2016-07-28 16:43:05 +09:00
Randy Mackay 4d5f1f9a33 Tracker: rename calc_body_frame_target to convert_ef_to_bf and formatting fixes
No functional change
2016-07-28 16:43:05 +09:00
stefanlynka e174014477 Tracker: fix PITCH_MIN parameter description 2016-07-28 16:43:05 +09:00
stefanlynka 33abb619b9 Tracker: roll compensated slewing 2016-07-28 16:43:05 +09:00
stefanlynka 16c9023cf0 Tracker: update how current_loc gets location
Get position from EKF but fall back to GPS if that fails
2016-07-28 16:43:05 +09:00
stefanlynka a693f9ead6 Tracker: compensate for tilt while tracking
This adds an earth frame to body frame conversion which is required
to convert the earth-frame angles to the target vehicle into body-frame
movements of the servos
2016-07-28 16:43:05 +09:00
mirkix 6082472990 AntennaTracker: Delete (wrong) filename out of header 2016-07-25 17:52:50 -03:00
Andrew Tridgell 53e71ccf12 AntennaTracker: adjust for 16 channels in SERVO_OUTPUT_RAW 2016-07-25 10:06:02 +10:00
stefanlynka fd2eb8bb31 Tracker: Adding altitude difference calculation using relative altitude. 2016-07-06 16:55:13 +09:00
stefanlynka ca22f6612d Tracker: Changing pitch_range to pitch_min and pitch_max 2016-07-06 16:51:31 +09:00
stefanlynka 18e51da12d Tracker: Changed yaw slew margin 2016-07-06 16:40:22 +09:00
Randy Mackay 50bfd6e7fd Tracker: set armed state in mavlink heartbeat 2016-07-06 12:01:12 +09:00
Randy Mackay a079c7bf4c Tracker: bug fix re ignoring invalid START_LAT message 2016-07-06 12:01:04 +09:00
Andrew Tridgell 8df07741c1 Tracker: fixed typo 2016-07-01 15:34:44 +10:00
Randy Mackay 752c1834e1 Tracker: version to 0.8 and release notes 2016-06-22 10:40:30 +09:00
Randy Mackay df55760d77 Tracker: remove unused servo_limit structure 2016-06-22 10:13:08 +09:00
stefanlynka 2b7203e4d1 Tracker: Changed PID to AC_PID 2016-06-22 10:06:00 +09:00
Tom Pittenger 24b7f69dad Tracker: ignore ADSB_VEHICLE packet handling 2016-06-19 11:24:32 -07:00
Randy Mackay 9bdbf7785f Tracker: minor parameter description and comment fix 2016-06-15 18:23:48 +09:00
stefanlynka ef60c202b4 Tracker: Added altitude offset based on alt_source 2016-06-15 18:17:01 +09:00
stefanlynka 6f88da07aa Tracker: Adding alt_source enum 2016-06-15 18:16:59 +09:00
stefanlynka ce3f3012c5 Tracker: Change vehicle info used to calculate offset 2016-06-15 18:16:57 +09:00
stefanlynka 17355baa83 Tracker: Added parameter for mavlink update rate 2016-06-15 18:16:55 +09:00
Randy Mackay 1a08f4b13f Tracker: version to 0.7.8 including ReleaseNotes 2016-06-10 10:52:02 +09:00
Randy Mackay 0e3dfb9e5e Tracker: fix formatting issues 2016-06-09 23:13:51 +09:00
stefanlynka f3461d182f Tracker: Added vehicle position log 2016-06-09 23:10:19 +09:00
stefanlynka d151b4481a Tracker: changing baro log data 2016-06-09 23:09:40 +09:00
stefanlynka 0c06e62bce Tracker: fixed calibration bug 2016-06-04 09:13:00 +09:00
Peter Barker ad4d23c34d Tracker: move telemetry_delayed up into base class 2016-05-31 08:46:10 +10:00
Randy Mackay 645a42c120 Tracker: update 0.7.7 release notes 2016-05-30 17:35:05 +09:00