Commit Graph
41 Commits
Author SHA1 Message Date
Peter Barker 95a261bd76 Rover: fix mode entry gate for safety switch engaged
when the mode switch was in the "make vehicle safe" position it allowed checks to be skipped.  Notably the position checks that mode-guided really wants to be passing
2026-06-09 08:50:43 +09:00
Peter BarkerandClaude Sonnet 4.6 1fa037a912 Rover: use is_armed_and_safety_off()
this changes Rover to not set soft_armed false when safety is on,
making Rover match Copter. Instead the new is_armed_and_safety_off()
method is used where we need to know that actuators are active

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 08:50:43 +09:00
Hunter McClelland 00fe02e991 Rover: improve comments and units regarding navigation quantities 2026-03-31 20:22:23 +11:00
Iampete1 a46c5c2900 Rover: increase max pilot speed to 100m/s 2026-02-04 11:41:17 +11:00
Peter Barker a7c7bc47c6 Rover: rename AHRS get_roll etc accessors to include _rad 2025-06-05 17:28:41 +10:00
Leonard Hall 4aa490eb60 Rover: Create DEGX100 to rad_to_cd 2025-05-28 20:16:26 +09:00
Peter Barker 10991589a7 Rover: use AP_Enum for pilot_steer_type 2024-09-06 08:52:54 +10:00
muramura 76c43f1f82 Rover: Make the definition name a class type 2024-09-06 08:52:54 +10:00
Peter Barker 227b6780b2 Rover: remove ENABLE/DISABLE defines 2024-08-06 09:38:08 +09:00
robot-to-society 49ba800f88 Rover: resetting reversed flag more generally 2024-06-19 17:12:17 +10:00
muramura f7cc7eea90 Rover: Use common variables 2024-06-11 09:16:21 +10:00
muramura 73443f5575 Rover: Change division to multiplication 2024-05-07 08:51:05 +09:00
Peter Barker 97b9c5d4b5 Rover: cope with AP_AVOIDANCE_ENABLED being false 2024-03-11 18:07:18 +11:00
Andy Little 5c26b40c7e Rover Sailboat: refactor the mainsail/wingmast/mast_rotation logic and make non const sailboat functions private to the sailboat class.
Saves around 128 bytes of text image size (in SITL anyway)
2024-02-21 16:37:07 +09:00
Andy Little 883d57b286 Rover : class Mode : Add const attribute to some 'getter' member function signatures. 2024-02-19 12:15:35 +09:00
Peter Barker 6ca3f31143 Rover: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Shiv Tyagi 4f40b31367 Rover: use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
Randy Mackay 3a87d4d2d8 Rover: add circle mode
also auto mode support loiter turns
2023-05-30 10:17:13 +10:00
Randy Mackay f74d22135c Rover: integrate balancebot pitch limit protection 2022-11-15 09:00:57 +09:00
Shiv Tyagi d8cfb80619 Rover: add DOCK mode in rover
This mode will maneuver the rover towards a docking target automatically
2022-09-06 11:23:51 +09:00
Shiv TyagiandPeter Barker a8a952d656 Rover: include fix in mode.h
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-08-22 10:04:22 +10:00
Peter Barker aec179ca40 Rover: fix stick mixing in auto mode 2022-08-11 20:03:12 -04:00
Randy Mackay f7a33a8900 Rover: navigate-to-waypoint leaves simple avoidance to position controller
also navigate-to-waypoint may trigger tacking
2022-03-30 15:34:14 +09:00
Randy Mackay aea6b48d70 Rover: navigate_to_waypoint supports integrates wpnav set_nuidge_speed_max 2022-03-30 15:34:14 +09:00
Randy Mackay 95c69811cb Rover: integrate position controller 2022-03-30 15:34:14 +09:00
Randy Mackay a5e424350d Rover: remove unnecessary constraint on steering sent to motors library 2022-02-15 08:01:32 +09:00
Randy Mackay a0ef7a1476 Rover: stop_vehicle controls turn rate until stopped 2021-12-07 09:55:31 +09:00
Randy Mackay 4f77f7545a Rover: disable turning at low speeds when simple avoidance is active 2021-05-11 15:31:17 +09:00
Iampete1 c1d4e5116d Rover: move TURN_MAX_G param to atitude control 2021-05-03 19:22:16 -04:00
Ari Krupnik f5491433f6 Rover: direct-rotation sail mast control 2021-04-28 08:22:47 +01:00
Mark Whitehorn b65e564ec9 Rover: use deadzone in 2-paddle steering 2021-03-29 08:18:51 +09:00
Randy Mackay a2d6ec4bec Rover: simple mode handles two paddle input 2020-12-11 17:04:28 +09:00
Randy Mackay 62a02f7c87 Rover: calc_speed_nudge uses larger of pilot input and wpnav speed target 2020-12-08 11:29:21 +11:00
Randy Mackay a977abac2d Rover: fix pivot turns 2020-12-08 11:29:21 +11:00
Guy Rodnay 8c32392d73 Rover: fix speed nudge
Problem: vehicle speed "runs away" to speed_max for any throttle value over 75%.
Cause: the desired_speed was calculated by interpolation between the current speed to speed_max, rather than the speed_default to speed_max. As current speed increases the desired speed increases although throttle is fixed. Hence the "runaway".

Fix: Now speed nudge interpolates between the desired speed and speed_max.

Tested:
modes:  wp navigation, guided ,rtl
params: spped_max, wp_speed, rtl_speed, speed_max
do_change_speed
2020-10-01 09:33:06 +09:00
Iampete1 de1dec819c Rover: calc_steering_from_turn_rate remove args 2020-09-29 08:25:01 +09:00
ashvath100 9248272baa Rover: walking_height input sent to motors 2020-09-10 08:27:01 +09:00
ashvath100 485eb3fa88 Rover: roll and pitch input sent to motors
added get desired roll and pitch
Motors library adds set and get methods for roll and pitch
added roll and pitch to get_control_output
get_control_output returns roll and pitch values
2020-09-01 09:33:24 +09:00
Randy Mackay 653714ce29 Rover: manual mode avoids saturation on skid-steer vehicles 2020-08-07 08:30:03 +09:00
jbteja 300a118852 Rover: astyle, reformatted few files in Rover Dir 2020-05-25 10:45:38 +09:00
Peter Barker d31700c310 Rover: rename directory from APMrover2 2020-04-14 09:50:34 +09:00