Commit Graph

36 Commits

Author SHA1 Message Date
Peter Barker 0f48bf7552 Blimp: support preflight calibration via command_int 2023-09-13 17:24:07 +10:00
Peter Barker 0bf4a0a39a Blimp: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Michelle Rossouw 362d4bf73b Blimp: Fix formatting to follow codestyle using script 2023-08-22 08:04:10 +10:00
Michelle Rossouw b5d22ce47c Blimp: Remove extra defines and other code, fixup some formatting and naming 2023-08-21 21:01:47 +10:00
Peter Barker d5b064b660 Blimp: remove un-needed DO_FOLLOW code case
UNSUPPORTED is the default return value from any unhandled case
2023-08-01 10:43:34 +10:00
Randy Mackay 5e6b974556 Blimp: remove unused handle_command_mount override 2023-05-17 12:38:49 +10:00
Peter Barker d92311381f Blimp: add support for mavlink in-progress message 2023-02-21 17:07:41 +11:00
Peter Barker 8f86cc85b5 Blimp: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00
Peter Barker 5c75ad282f Blimp: do not send MSG_RPM if RPM not enabled 2022-09-28 20:10:21 +10:00
Peter Barker 3ced1b27aa Blimp: remove empty override method 2022-09-14 20:16:38 +10:00
Michael du Breuil 1759dd6368 Blimp: Don't send HWSTATUS by default 2022-09-13 14:27:06 +10:00
Randy Mackay 9d7f09f840 Blimp: replace send-mount-status with send-gimbal-device-attitude-status 2022-08-15 20:29:25 -04:00
Iampete1 6b06e2eb9b Blimp: add AIS to ADSB stream rate 2022-07-12 09:39:54 +10:00
Randy Mackay 03a2859e0e Blimp: remove unused MSG_GIMBAL_REPORT 2022-06-07 09:27:47 +10:00
Peter Barker 2f8b25328d Blimp: remove handling of MAVLINK_MSG_ID_SET_HOME_POSITION
We decided to remove this after 4.2 was out in favour of
MAV_CMD_DO_SET_HOME which has been available since 2015.

The gcs-maintainers list was notified in Feburary.
2022-05-10 09:46:22 +10:00
Peter Barker c7f954c6c7 Blimp: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
murata b76d048a5e Blimp: Change the process for errors 2022-03-08 14:36:19 -08:00
Peter Barker 5ae96b4656 Blimp: add RebootRequred to stream rate parameters 2022-03-01 11:01:12 +11:00
Peter Barker 7775b519bb Blimp: create and use location_from_command_t 2022-02-09 09:15:11 +11:00
Peter Barker 24a5f57b45 Blimp: provide default implemenation of handle_change_alt_request
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.

This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
Tom Pittenger 667925ebbf Blimp: move ADSB mavlink handling from vehicles to common library 2021-10-14 19:55:27 -07:00
Andrew Tridgell 8929f4b763 Blimp: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 4c1700d195 Blimp: added slew rate and Dmod for PID_TUNING message 2021-08-19 12:08:54 +10:00
Peter Barker dbf88265c0 Blimp: stop sending SENSOR_OFFSETS
Only works for first compass instance.

We have all of these in parameters anyway.
2021-08-18 18:06:24 +10:00
Josh Henderson f64ccbd2a6 Blimp: remove POSITION_TARGET_TYPEMASK_FORCE_SET 2021-08-03 12:48:38 +10:00
Peter Barker 0986ade905 Blimp: remove misleading NOINLINE comment
NOINLINE hasn't been used in years in these files
2021-07-08 21:28:38 +10:00
Stephen Dade 2821e6815e Blimp: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10:00
Michelle Rossouw 1a0f44a8ad Blimp: Add logging and MAVLink 2021-07-06 14:56:02 +10:00
Michelle Rossouw 2cbcb2be87 Blimp: Code cleanups 2021-07-06 14:56:02 +10:00
Peter Barker d66220e3fc Blimp: remove HIL support 2021-06-15 09:47:31 +10:00
Leonard Hall c91fdcea72 Blimp: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Pierre Kancir bb00340171 Blimp: use MAVLink POSITION_TARGET_TYPEMASK 2021-05-11 09:53:50 +10:00
Peter Barker d822499155 Blimp: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Peter Barker c064e09806 Blimp: remove unused command_ack counter 2021-04-07 17:54:21 +10:00
Michelle Rossouw ded488fd9f Blimp: Remove most commented out code and other cleanups 2021-03-31 12:27:07 +11:00
Michelle Rossouw b98bbcb678 Blimp: initial implementation of blimp vehicle type 2021-03-31 12:27:07 +11:00