Peter Barker
0e2461ffd2
AP_AccelCal: remove pointless assignment when counting calibrators
...
cal isn't used after the assignment is made.
Pointed out by clang-scan-build
2024-01-21 09:53:04 +11:00
Peter Barker
b7ce25c23b
AP_AccelCal: include GCS_Config.h rather than GCS.h
2022-09-27 09:26:45 +10:00
Peter Barker
4272b2c264
AP_AccelCal: limit COMMAND_ACKs accepted for vehicle pose confirmation
2022-05-25 17:55:55 +10:00
Peter Barker
dcc1818ee2
AP_AccelCal: pass mavlink_command_ack_t to accelcal library
...
The library needs to look at the content of the packet. Given that GCS_MAVLink is already within handle_command_ack, decoding it there makes sense.
2022-05-25 17:55:55 +10:00
Peter Barker
8f6bed23cf
AP_AccelCal: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Siddharth Purohit
0d393a3cf7
AP_AccelCal: do not add accelcal if no GCS iface available
2021-06-30 17:06:02 +10:00
Andrew Tridgell
8278a8a00b
AP_AccelCal: rename from review feedback
2021-01-21 13:09:21 +11:00
Andrew Tridgell
580cd143b8
AP_AccelCal: added active() method
2021-01-21 13:09:21 +11:00
Peter Barker
11b9737b34
AP_AccelCal: remove wrapper around send_text
...
With our statustext queueing system this check is not just wrong but
redundant.
2019-07-30 10:06:42 +10:00
Peter Barker
65c46ac322
AP_AccelCal: supply format string to send_text
2019-07-26 10:54:41 +10:00
Pierre Kancir
a44ed03a91
AP_AccelCal: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00
Peter Barker
1b6ec1d5ad
AP_AccelCal: use mavlink define for field length
...
Also remove special-case handling for carriage return; no user of this
function has this problem.
2018-10-16 10:11:28 +11:00
Peter Barker
9ad058783a
AP_AccelCal: stop using mavlink_snoop for target traffic
2018-03-28 09:28:23 +09:00
Michael du Breuil
6830a8b86c
AccelCal: Continously report success/failure to the GCS that requested the calibration
2017-06-01 20:20:05 +01:00
Francisco Ferreira
e763896b6a
AP_AccelCal: send and receive MAV_CMD_ACCELCAL_VEHICLE_POS
...
Message is sent at a maximum of 1Hz
Status text is sent, but if command is received it stops and only uses commands
2016-11-15 11:42:54 -08:00
Francisco Ferreira
bc661f013e
AP_AccelCal: use vehicle position values from MAVLink enum
2016-11-15 11:42:54 -08:00
Francisco Ferreira
c07f377eb1
AP_AccelCal: make collect_sample responsible for state changes
...
Also only set the snoop if the step has changed
2016-11-15 11:42:54 -08:00
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
2016-11-02 16:04:47 -02: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
Randy Mackay
f70072c54b
AP_AccelCal: check return of get_calibrator
...
resolves compiler warning
2016-04-23 23:06:27 -07:00
Jonathan Challinger
49ad2d26c6
AP_AccelCal: make client list static
2016-01-23 10:35:33 +09:00
bugobliterator
d24b5023f4
AP_AccelCal: Add separate lib for accel calibration
2015-12-29 10:46:34 -08:00