Commit Graph

67 Commits

Author SHA1 Message Date
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
Peter Barker bb44cca7ed Rover: add RebootRequred to stream rate parameters 2022-03-01 11:01:12 +11:00
Randy Mackay 0ecbfa5ba9 Rover: minor format fixes 2022-02-15 08:01:32 +09:00
Peter Barker 8df3c5a346 Rover: create and use location_from_command_t 2022-02-09 09:15:11 +11:00
Peter Barker fba1710fbf Rover: 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
Randy Mackay 2c6e5d4b98 Rover: use AR_AttitudeControl::get_throttle_speed_pid_info 2022-01-07 09:36:44 +09:00
Iampete1 72b821d9da Rover: remove trim radio functionality 2021-10-23 12:32:06 +09:00
Josh Henderson 6c25a8e628 Rover: position_target_global_int() remove rotating yaw for MAV_BODY_FRAMES 2021-09-21 09:44:43 +09:00
olliw42 2fecc02aa6 Rover/GCS_MAVLINK: add send_servo_out() method and use GCS_MAVLINK::receiver_rssi() 2021-08-26 09:44:59 +10:00
Andrew Tridgell 52fe9ff5b4 Rover: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 27ff63b865 Rover: added slew rate and Dmod for PID_TUNING message 2021-08-19 12:08:54 +10:00