Commit Graph

63 Commits

Author SHA1 Message Date
Siddharth Purohit 694801254f Rover: do common gps arming checks first before moving on 2021-03-12 16:32:36 +09:00
Siddharth Purohit 6ff0ddc7cf Rover: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Randy Mackay 29e85aa516 Rover: rename sent_notification to send_notification
also fix init of this flag in guided mode to avoid sending two notifications
2021-03-09 09:59:42 +09:00
James O'Shannessy cfb648e1c5 ArduRover: Remove fence_checks in AP_Arming because they are common across all vehicles now 2021-03-05 14:52:46 +11:00
Tom Pittenger 0a9f319c85 Rover: change SRx_ docs value 1 50 2021-03-03 18:17:22 +11:00
Pierre Kancir c0348b034f Rover: use RC_CALIB_MIN_LIMIT_PWM and RC_CALIB_MAX_LIMIT_PWM 2021-02-10 18:48:06 +11:00
Patrick José Pereira 030b6f2a49 Rover: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-09 11:05:14 +09:00
Patrick José Pereira 28c03ffb4e Rover: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Barker 8d38a627a9 Rover: move control_mode_reason up to AP_Vehicle 2021-02-03 18:24:52 +11:00
Shadow db1c653cc6 Rover: Add manual mode to MIS_DONE_BEHAVIOR 2021-01-27 08:23:52 +09:00
Randy Mackay f6da769de8 Rover: ahrs only checks position in modes that require it 2021-01-26 10:46:49 +11:00
Pierre Kancir a62dc3b3e0 Rover: disable switching and arming in INITIALIZING mode 2021-01-26 08:10:50 +09:00
murata 2ae57f8861 Rover: Change delay method to HAL scheduler's delay 2021-01-25 08:12:36 +09:00
murata d533d289da Rover: Change delay method to HAL scheduler's delay 2021-01-25 08:12:36 +09:00
Peter Barker 5001978704 Rover: add do_disarm_checks boolean to disarm call
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
2021-01-12 08:48:44 +09:00
Josh Henderson a54736430d Rover: privatize AHRS logging 2021-01-12 10:13:22 +11:00
Peter Barker 0273d92887 Rover: reindent all of the new GCS_MAVLink handling methods (NFC) 2021-01-05 08:13:02 +09:00
Peter Barker 1362abba2e Rover: tidy GCS_MAVLink handleMessage function
Co-authored-by: nubcaker
2021-01-05 08:13:02 +09:00
Tom Pittenger eef9c83788 Rover: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER 2020-12-29 07:52:09 -07:00
Randy Mackay a2d6ec4bec Rover: simple mode handles two paddle input 2020-12-11 17:04:28 +09:00
yaapu 8ea896e138 Rover: added virtual getters for waypoint info 2020-12-10 12:39:44 +11:00
Andrew Tridgell cd2f2f96eb rename barometer parameters to BARO prefix 2020-12-08 13:22:17 +11: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
Andrew Tridgell 19104b5c20 Rover: moved init_safety to AP_Vehicle 2020-12-08 11:14:24 +11:00
jimovonz fe3d6b9744 Rover: Fix application of MOT_SLEWRATE to achieve full range 2020-11-25 17:49:20 +09:00
Andy Piper bfd24ea789 Rover: allow OSD for TX-only screens 2020-11-11 18:13:11 +11:00
murata 48336e4eff Rover: Change abbreviations 2020-11-03 08:24:43 +09:00
Tatsuya Yamaguchi 5d3dd5a8b8 Rover: add ReportOnly option to FS_EKF_ACTION 2020-11-02 09:32:23 +09:00
Tatsuya Yamaguchi a730e47563 Rover: EKF failsafe message is displayed only when action triggered 2020-11-02 09:32:23 +09:00
Randy Mackay b83ade2b07 Rover: integrate ahrs::get_variances change
offset is no longer returned
2020-10-21 08:58:45 +09:00
Tatsuya Yamaguchi e347618210 Rover: support speed control of DO_REPOSITION 2020-10-07 10:12:24 +09:00
Randy Mackay 161d235c8b Rover: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +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
Patrick José Pereira 2d898c8fea ArduRover: Use new AP_FWVersionDefine header
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-23 20:58:35 +10:00
Tatsuya Yamaguchi 0fb33f8196 Rover: replace message indicating that initialisation has completed 2020-09-22 09:52:52 +10:00
Andy Piper aa64ab0501 Rover: conditionally compile ADSB support 2020-09-22 09:33:51 +10:00
Randy Mackay 6cc6daa150 Rover: add support for MAV_CMD_DO_REPOSITION 2020-09-15 08:41:08 +09:00
ashvath100 9248272baa Rover: walking_height input sent to motors 2020-09-10 08:27:01 +09:00
ashvath100 c1ff69794c Rover: rc_channel inits height input channel 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
Peter Hall 2d4deb505d Rover: rc_channel inits roll and pitch input channels 2020-09-01 09:33:24 +09:00
Randy Mackay b0f9f9993f Rover: guided consumes set-pos-target-local-ned as offset from origin 2020-09-01 10:27:18 +10:00
ashvath100 c93313107b Rover: implement get_control_outputs 2020-08-20 14:09:29 +09:00
Randy Mackay 0694660094 Rover: add get_lateral accessor 2020-08-20 14:09:29 +09:00
Siddharth Purohit 6fad42b6fd Rover: move to using CANManager library 2020-08-19 17:31:09 +10:00
Randy Mackay 653714ce29 Rover: manual mode avoids saturation on skid-steer vehicles 2020-08-07 08:30:03 +09:00
Randy Mackay 98b953eb80 Rover: MOT_STR_THR_MIX adjusts steering vs throttle priority 2020-08-07 08:30:03 +09:00
Andy Piper 6d87d61c7b Rover: make mount/gimbal inclusion configurable per-board 2020-08-04 09:18:14 +10:00