Commit Graph

77 Commits

Author SHA1 Message Date
Peter Barker 2ec045fdc0 Rover: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START 2024-08-20 09:38:43 +10:00
Peter Barker 40c3d1881c Rover: add build option to not send RC_CHANNELS_RAW
we keep this around in case we break old OSD setups
2024-07-30 10:29:58 +10:00
muramura 1e001fa017 Rover: Change the IF statement to a SWITCH statement 2024-07-25 11:53:25 +09:00
Peter Barker 3def5f7433 Rover: correct compilation with AP_RRSI_ENABLED false
Co-authored-by: David Buzz <davidbuzz@gmail.com>
2024-07-24 09:11:39 +10:00
muramura 73443f5575 Rover: Change division to multiplication 2024-05-07 08:51:05 +09:00
Peter Barker 2b76f66ebc Rover: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker ef82d8b8cc Rover: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Iampete1 61560fd129 Rover: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
Peter Barker 75dec6fcc7 Rover: handle RADIO_STATUS is GCS base class 2024-01-24 18:43:15 +11:00
Peter Barker 03fe367459 Rover: use virtual method for GCS_MAVLink::handle_message
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
Peter Barker 8bdd0294b8 Rover: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Peter Barker fc834caf38 Rover: stop streaming trying SIM_STATE messages outside sim 2023-11-20 19:25:25 +11:00
Peter Barker cfb78a43ec Rover: tidy sending of esc telem generator messages 2023-11-20 19:25:25 +11:00
Peter Barker 0fe9030b42 Rover: tidy sending of queued mcu status messages 2023-11-20 19:25:25 +11:00
Peter Barker 71c1886c74 Rover: tidy sending of queued opticalflow messages 2023-11-20 19:25:25 +11:00
Peter Barker 7229664ecd Rover: tidy sending of queued mount messages 2023-11-20 19:25:25 +11:00
Peter Barker 988d917384 Rover: correct compilation if rangefinder disabled 2023-10-27 14:16:47 +11:00
Peter Barker 98d6e365d7 Rover: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 33962cdaf5 Rover: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker 14e0a1028c Rover: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false 2023-10-26 13:23:57 +11:00
Peter Barker e71baf4a6a Rover: don't send fence_status mavlink message if fence not compiled in 2023-10-04 19:13:23 +11:00
Pierre Kancir 911a467e37 Rover: make Mode::Number enum class 2023-09-27 08:12:23 +10:00
Peter Barker b7e4e9747a Rover: remove COMPASS_CAL messages from streamrates if tumble cal disabled
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10:00
Peter Barker 0894cfc0c8 Rover: support preflight calibration via command_int 2023-09-13 17:24:07 +10:00
Peter Barker cc3fe56a08 Rover: deprecate MAV_CMD_NAV_SET_YAW_SPEED 2023-08-28 12:54:33 +10:00
Peter Barker a3038e7e6b Rover: correct comments on MAV_CMD_NAV_SET_YAW_SPEED packet fields
these are wrong and misleading; the packet contains metres/second and degrees
2023-08-26 18:24:09 +10:00
Peter Barker 76c6d537ed Rover: support running MAV_CMD_NAV_SET_YAW_SPEED as command_int 2023-08-26 18:24:09 +10:00
Peter Barker d44b51fa4d Rover: allow MAV_CMD_MISSION_START as both command_long and command_int 2023-08-26 08:59:30 +10:00
Peter Barker 4e44ee1a07 Rover: allow motor test to be issued as COMMAND_INT 2023-08-25 09:57:29 +10:00
Peter Barker 8decb9d43f Rover: rely on magic long-to-int conversion to handle MAV_CMD_DO_CHANGE_SPEED 2023-08-24 13:06:00 +09:00
Peter Barker 380a1fe738 Rover: accept MAV_CMD_NAV_RETURN_TO_LAUNCH as both long and int 2023-08-23 21:29:00 +10:00
Peter Barker 0bcb3ece85 Rover: rely on magic conversion to handle DO_SET_REVERSE as both int/long 2023-08-23 16:12:21 +10:00
Peter Barker 460faa8659 Rover: 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
Shiv Tyagi 4f40b31367 Rover: use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
tzarjakob caee9f271a Rover: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
Peter Barker 75fd6cb630 Rover: add support for mavlink in-progress message 2023-02-21 17:07:41 +11:00
Stephen Dade 6490436aca Rover: Add optical flow support 2022-12-01 08:03:47 +09:00
Peter Barker 38ea1b4039 Rover: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Andrew Tridgell d5f804b7cb Rover: enable EFI_STATUS mavlink message 2022-10-25 11:44:45 +11:00
Henry Wurzburg 38a546a6c6 Rover: update SRX descriptions 2022-10-19 23:26:45 +11:00
Peter Barker ae1bddfb00 Rover: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00
Peter Barker e2fd4fc782 Rover: do not send MSG_RPM if RPM not enabled 2022-09-28 20:10:21 +10:00
Michael du Breuil 0dcda81fe4 Rover: Don't send HWSTATUS by default 2022-09-13 14:27:06 +10:00
Shiv Tyagi 7b573fa2c4 Rover: handle landing target mavlink message 2022-08-30 03:44:26 -04:00
Randy Mackay 99858e021d Rover: replace send-mount-status with send-gimbal-device-attitude-status 2022-08-15 20:29:25 -04:00
Iampete1 7fd157acb4 Rover: move AIS to vehicle
This reverts most of commit e86665a989.
2022-07-12 09:39:54 +10:00
Tom Pittenger 2d09b3fcef Rover: fix compiler warning, uninitialized variables in GCS msg 2022-05-24 15:30:05 +09:00
Peter Barker 29785dabca Rover: use rangefinder distance() rather than distance_cm 2022-04-19 10:26:10 +10:00
Peter Barker 4db1e6a914 Rover: 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
Randy Mackay 315c5fb7d7 Rover: GCS_PID_MASK supports Velocity North and East 2022-03-30 15:34:14 +09:00