Peter Barker
5f4838f3f2
Tracker: allow DataFlash to handle log sending
2018-03-26 09:22:47 +09: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
Randy Mackay
144dd82fe4
Tracker: fix global-pos-int velocity direction to NED
2018-02-13 08:52:48 +09:00
Peter Barker
3f7eb69327
Tracker: tighten type of result variable in handleMessage
2017-12-01 17:01:10 +00: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
a6bda813f1
Tracker: use gps singleton for GCS functions
2017-11-15 13:43:03 +00: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
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
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
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
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
2136797770
Tracker: add common handling of mavlink command messages
2017-07-16 23:56:00 +01:00
Peter Barker
abce338076
Tracker: move handling of incoming statutext messages up
2017-07-12 16:52:24 +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
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
31ac03368d
Tracker: stop using in_mavlink_delay as a proxy for disabling logging
2017-06-16 17:07:48 +01:00
Michael du Breuil
c4cd6bdf86
Tracker: Ignore landing message
2017-05-24 15:22:27 -07:00
Andrew Tridgell
005797c327
AntennaTracker: use common send_queued_parameters()
2017-05-01 14:36:10 +10: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
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
Randy Mackay
b67512aae9
Tracker: send text to notify
2017-01-23 15:07:21 -08:00
Randy Mackay
f096234c2a
Tracker: pass HIL_GPS to gps driver
2016-12-08 15:52:26 +09: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
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
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
Matthew Brener
06388b0417
Global: Fix typos
2016-09-17 00:36:36 -03: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
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
Andrew Tridgell
53e71ccf12
AntennaTracker: adjust for 16 channels in SERVO_OUTPUT_RAW
2016-07-25 10:06:02 +10:00
Randy Mackay
50bfd6e7fd
Tracker: set armed state in mavlink heartbeat
2016-07-06 12:01:12 +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
6f88da07aa
Tracker: Adding alt_source enum
2016-06-15 18:16:59 +09:00
stefanlynka
17355baa83
Tracker: Added parameter for mavlink update rate
2016-06-15 18:16:55 +09:00
Peter Barker
ddd956f8e1
Tracker: move adjust_rate_for_stream up
2016-05-29 21:24:41 +10:00
Peter Barker
df190d1e86
Tracker: subclass GCS_MAVLink in place of defining its functions for it
2016-05-29 16:21:21 +10:00
stefanlynka
1293b16589
Tracker: Allows choice of altitude source
2016-05-25 09:51:30 +09:00
stefanlynka
fd61a903f9
Tracker: Changing name of altitude_difference to alt_difference_baro
2016-05-25 09:51:30 +09:00
Andrew Tridgell
8c3bbdaf73
AntennaTracker: don't stall EKF during baro cal
2016-05-24 17:00:55 +10:00
Andrew Tridgell
57c39cbfa0
AntennaTracker: use send_heartbeat wrapper
2016-05-21 15:25:18 +10:00
Andrew Tridgell
16901ffb2b
AntennaTracker: use HAVE_PAYLOAD_SPACE()
2016-05-21 15:25:17 +10:00
Andrew Tridgell
181eb9e4ef
AntennaTracker: always build with MAVLink2 headers
2016-05-21 15:25:15 +10:00
Andrew Tridgell
d4cb7b8970
AntennaTracker: use GCS_MAVLINK::packet_overhead_chan()
2016-05-21 15:25:14 +10:00
Andrew Tridgell
b5d1dc6643
AntennaTracker: handle SETUP_SIGNING message
2016-05-21 15:25:12 +10:00
Andrew Tridgell
23197b0689
AntennaTracker: cleanup unnecessarily complex gcs[] usage
2016-05-17 08:27:01 +10:00
Ricardo de Almeida Gonzaga
6b93f974d3
AntennaTracker: Fix typos
2016-05-13 19:20:07 -03:00
Leandro Pereira
f23bd7e09d
GCS_MAVLink: Use a single stream_trigger() implementation
...
This has no side effects, but since all implementations were basically
the same, move the implementation to GCS_Common and the only part that
adjusts the rate based on which which stream to each individual
GCS_MAVLINK implementation.
2016-05-07 23:49:35 -03:00
Lucas De Marchi
49a46e463f
AntennaTracker: use separate header for version macro
...
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.
Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00
Michael du Breuil
06b9fa293c
AntennaTracker: Ignore POSITION_TARGET_GLOBAL_INT
2016-05-01 07:38:23 +10:00
Niti Rohilla
052fc6b85e
AntennaTracker : Updated handle_guided_request() to report error.
2016-04-29 12:39:28 -03:00
Tom Pittenger
0709cc6b25
Tracker: convert to using static send_statustext
...
- no more MSG_STATUSTEXT
- TODO: replace calls to gcs_send_text and gcs_send_text_fmt to GCS_MAVLINK::send_statustext()
2016-02-24 09:18:06 +11:00
Randy Mackay
901e318652
Tracker: do not save data stream rate updates to eeprom
2016-02-10 11:49:48 +09:00
Siddharth Bharat Purohit
0e18b5eaad
Tracker: wire up accel cal for tracker
2015-12-29 10:46:35 -08:00
Randy Mackay
ecf01732d9
Tracker: add dataflash logging
2015-12-27 16:14:20 +09:00
Randy Mackay
8aa286eaaa
Tracker: update time last heartbeat packet sent
...
This is required to support dataflash messages
2015-12-27 16:02:42 +09:00
Randy Mackay
9fda13d965
Tracker: request baro pressure from vehicle at 1hz
2015-12-23 13:53:59 +09:00
DonLakeFlyer
a697d34b98
Tracker: return success or failure of get home position
2015-12-07 12:33:20 +09:00
Luis Vale Gonçalves
6dd28f632c
Tracker: revise text messages
...
Clean up text messages
2015-11-25 20:47:07 +09:00
Caio Marcelo de Oliveira Filho
dd3fb0a689
Tracker: use millis/micros/panic functions
2015-11-20 12:26:23 +09:00
lvale
e7efaa45c5
Tracker: text message severity uniformization
...
Continuing the uniformization, now for AntennaTracker
2015-11-05 12:33:59 +09:00
Lucas De Marchi
cb8ae444d1
AntennaTracker: remove check for AVR CPUs
...
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and
HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be
removed on separate commits.
2015-11-04 12:14:14 +11:00
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
2015-10-30 14:35:30 +09:00
Lucas De Marchi
4ab9821624
Replace use of Log_Write_Message_P() with Log_Write_Message()
2015-10-30 14:35:28 +09:00
Lucas De Marchi
89fc4f4b62
Replace use of send_text_P() with send_text()
2015-10-30 14:35:17 +09:00
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
2015-10-30 14:35:07 +09:00
Lucas De Marchi
84d5fb006f
Remove use of Util::{v,}snprintf_P()
...
These are now the same function as Util::snprintf().
2015-10-30 14:35:05 +09:00
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
2015-10-30 14:35:04 +09:00
Randy Mackay
012b632d09
Tracker: send home position when home is set or get-home msg received
2015-10-03 12:56:31 +09:00
Randy Mackay
b6229288a1
Tracker: calibrate gyros on accel cal and trim
2015-09-21 17:06:50 +09:00
Siddharth Bharat Purohit
0c004c13a1
AntennaTracker: implement on-board compass calibration for Antenna tracker
2015-09-03 16:59:14 +10:00
squilter
f1d9b3570c
Tracker: update severity values
2015-08-25 14:04:45 +09:00
squilter
979763c341
Tracker: define and send FIRMWARE_VERSION
2015-08-23 09:21:55 +09:00
Tom Pittenger
85027e1997
Tracker: moved gcs code to be more common
2015-08-19 15:42:08 +10:00
dgrat
2b36457261
Tracker: add handle_guided_request to allow cmake to work
...
merge
2015-08-17 16:47:42 +09:00
Andrew Tridgell
3f04c6415f
AntennaTracker: prevent build error with MSG_RPM
2015-08-12 15:03:51 +10:00
Randy Mackay
0b9929bb04
Tracker: avoid compiler warning re to new VIBRATION msg
2015-06-12 21:36:51 +09: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