Commit Graph

462 Commits

Author SHA1 Message Date
Randy Mackay 0a4bfcea43 Rover: 4.1.2 release notes 2021-12-07 20:11:28 +09:00
Randy Mackay dd6ce1fa73 Rover: guided starts in stop submode 2021-12-07 09:55:31 +09:00
Randy Mackay a0ef7a1476 Rover: stop_vehicle controls turn rate until stopped 2021-12-07 09:55:31 +09:00
Andrew Tridgell ba8ce12b67 Rover: revert compass parameter changes 2021-12-04 16:51:53 +11:00
Iampete1 935fc0f073 Rover: remove compass params underscore 2021-11-30 08:14:43 +09:00
Randy Mackay e6b838000a Rover: 4.1.2-rc1 release notes 2021-11-29 19:15:01 +09:00
Shiv Tyagi 6294b77211 Rover: make Mis_Done_Behave enum public 2021-11-24 11:01:19 +09:00
Shiv Tyagi f319c36de1 Rover: set MIS_DONE_BEHAVE to LOITER in boats
Boats should loiter after completing a mission to avoid drifting off
2021-11-24 11:01:19 +09:00
Randy Mackay 1f28ab0576 Rover: mission started only after EKF origin is set 2021-11-23 11:18:15 +11:00
Randy Mackay 7618241be4 Rover: auto defaults to stop or loiter submode 2021-11-23 11:18:15 +11:00
Peter Barker bc4abea7d5 Rover: allow specification of Scheduler table priorities 2021-11-17 19:00:04 +11:00
Randy Mackay f7e8828f92 Rover: fix NTUN.yaw units
Units now "degheading" instead of just "deg" to better match the WPBrg and DesYaw fields
2021-11-17 08:06:07 +09:00
Peter Barker 9a5520a811 Rover: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker 5cd2c00ea7 Rover: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Randy Mackay e33e94799a Rover: 4.1.1 release notes 2021-11-09 21:34:59 +09:00
Shiv Tyagi dfd7dfc1af Rover: set failsafe_radio flag when RC failsafe is triggered/cleared
This sets failsafe_radio flag when RC failsafe is triggered/cleared which is further used in AP_Arming::manual_transmitter_checks to fail pre-arm checks if failsafe is on
2021-10-30 15:47:53 +09:00
Shiv Tyagi 1b8fc31fcd Rover : add pilot_throttle_checks() to check throttle failsafe
This adds pilot_throttle_checks to check for throttle failsafe and prevents arming if throttle failsafe is triggered
2021-10-30 15:47:53 +09:00
Iampete1 72b821d9da Rover: remove trim radio functionality 2021-10-23 12:32:06 +09:00
Sebastian Quilter 2f56ac45ab Rover: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Randy Mackay 6738bf9edd Rover: remove <startup_ground> message
also remove GROUND_START_DELAY definition
2021-10-20 06:12:43 -04:00
Randy Mackay 9d030e9424 Rover: PILOT_STEER_TYPE param desc fix 2021-10-20 06:10:56 -04:00
Iampete1 f178717212 Rover: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Peter Barker 16498b7aee Rover: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Randy Mackay bb7c3a7fb4 Rover: 4.1.1-rc1 release notes 2021-10-19 07:09:53 +09:00
Shiv Tyagi 6faa586dec Rover : log multiple rangefinder instances in DPTH message
This makes log_dpth method to log multiple instances of rangefinder

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
2021-10-03 09:21:31 -04:00
Peter Barker 88b55aceb3 Rover: stop passing current_loc into AP_Camera 2021-09-29 18:33:01 +10:00
Iampete1 6ebef3fe6b Rover: move from AUX_FUNC::SAVE_TRIM to AUX_FUNC::TRIM_TO_CURRENT_SERVO_RC 2021-09-28 09:16:24 +10:00
Iampete1 4c069d57ea Rover: fix RC init order to avoid error message 2021-09-21 17:49:47 +10:00
Josh Henderson 6c25a8e628 Rover: position_target_global_int() remove rotating yaw for MAV_BODY_FRAMES 2021-09-21 09:44:43 +09:00
Iampete1 1eb26c83e2 Rover: convert to new ARMDISARM 2021-09-21 09:36:24 +10:00
Randy Mackay dafdf26c74 Rover: 4.1.0 release notes 2021-09-20 09:02:51 +09:00
Andrew Tridgell 608f316698 Rover: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
Randy Mackay 05b07468af Rover: 4.1.0-rc3 release notes
also update 4.1.0-rc2 release notes
2021-09-15 16:15:31 +09:00
Josh Henderson b2d9504c3a Rover: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Randy Mackay 0470fb2cb8 Rover: 4.1.0-rc2 release notes 2021-09-10 14:42:01 +09:00
Peter Barker 591c7d55c7 Rover: make bad-mode-number notification consistent across vehicles 2021-09-01 19:45:46 +09:00
Peter Barker 96be74bdc2 Rover: reuse set-mode-by-number method 2021-09-01 19:45:46 +09:00
Peter Barker 44a72cfab1 Rover: remove unimplemented mavlink_set_mode 2021-09-01 19:45:46 +09:00
Randy Mackay 5f8237d1ab Rover: 4.1.0-rc1 release notes 2021-08-28 17:14:12 +09:00
olliw42 1856722b65 Rover: remove send_servo_out() method 2021-08-26 09:44:59 +10: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
Peter Barker 6aed71b75d Rover: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +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
Peter Barker f1e2e344f1 Rover: 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
Andrew Tridgell 7b5ab8bb8c Rover: mark logger Write() calls as streaming where appropriate 2021-08-18 10:20:03 +10:00
Peter Barker 683806714c Rover: move VehicleClass handling to AHRS frontend
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Randy Mackay 0b0ca6a9e9 Rover: 4.1.0-beta7 release notes 2021-08-14 11:16:44 +09:00
Peter Barker f32fe77602 Rover: ensure arming when running motor test 2021-08-13 08:00:52 +10:00
Peter Hall e86665a989 Rover: add AIS 2021-08-10 08:11:18 +09:00
Peter Hall 5ad69fc5a3 Rover: send AIS 2021-08-10 08:11:18 +09:00
Randy Mackay 109d9f59a5 Rover: add torqeedo to pre-arm checks 2021-08-09 15:13:24 +09:00
bugobliterator dffe5be9c9 Rover: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Josh Henderson 4559274755 Rover: remove POSITION_TARGET_TYPEMASK_FORCE_SET 2021-08-03 12:48:38 +10:00
Peter Barker cd01069b88 Rover: use mission singleton inside AP_AdvancedFailsafe 2021-08-03 10:35:24 +10:00
Peter Barker ffd577f30b Rover: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Peter Barker 8c2cf123af Rover: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Iampete1 37911a7727 Rover: #ifdef scripting specific functions 2021-07-28 18:18:32 +10:00
Randy Mackay eb357738e0 Rover: version to 4.2.0-dev
we have branched for 4.1 so this will make it more clear if an autopilot is using pre or post branch software
2021-07-24 08:52:38 +09:00
Randy Mackay 275f75d0cb Rover: 4.1.0-beta6 release notes 2021-07-23 12:02:57 +09:00
Andrew Tridgell 8f9929c6c2 Rover: replaced Pixhawk with more appropriate wording in docs 2021-07-22 07:48:12 +10:00
Peter Barker 5c7d5a048f Rover: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker 3b15ff0d42 Rover: remove ability to use DCM as AHRS 2021-07-21 21:01:39 +10:00
Peter Barker f848f7d3b2 Rover: stop taking references to ahrs in APM_Control 2021-07-21 18:27:23 +10:00
Iampete1 a7366729c3 Rover: point to new motor directory 2021-07-20 10:48:01 +09:00
Randy Mackay e3b366419b Rover: integrate AP_Torqeedo 2021-07-13 10:01:14 +09:00
Stephen Dade 7f0bd06e8b Rover: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10:00
Randy Mackay b3b7fec71c Rover: 4.1.0-beta5 release notes 2021-06-30 14:37:48 +09:00
Randy Mackay 8c5eecf84e Rover: call send-water-depth 2021-06-30 12:05:09 +09:00
Hwurzburg 4c7a9146c6 Rover: remove values metadata from log bitmask 2021-06-30 09:24:26 +09:00
Peter Barker db9d41e782 Rover: remove HIL support 2021-06-15 09:47:31 +10:00
Randy Mackay 602091bba6 Rover: 4.1.0-beta4 release notes 2021-06-14 10:11:57 +09:00
Randy Mackay 4521334b06 Rover: THR logs X-axis accel
X-axis is forward-back acceleration which is what users may need for speed and throttle tuning
2021-06-08 12:53:08 +09:00
Andrew Tridgell f150c312a6 Rover: fixed copying of filter objects 2021-06-08 11:14:52 +10:00
Josh Henderson 8b83b49e0b Rover: fix loiter_delay, cmd <0 sets a delay of 0 seconds 2021-06-07 21:27:19 +09:00
Andy Piper 30f7284fe1 Rover: move AP_MotorsUGV to motors library 2021-06-07 20:16:26 +09:00
James Harton be3cc1b679 Docs: Change all references from dev.ardupilot.org to the appropriate documentation URLs. 2021-05-31 12:20:45 +10:00
Randy Mackay eef3409d32 Rover: 4.1.0-beta3 release notes 2021-05-24 13:19:03 +09:00
Randy Mackay 174f486e2a Rover: 4.1.0-beta2 release notes 2021-05-24 12:39:14 +09:00
Randy Mackay 4f77f7545a Rover: disable turning at low speeds when simple avoidance is active 2021-05-11 15:31:17 +09:00
Pierre Kancir 14d351c2fd Rover: use MAVLink POSITION_TARGET_TYPEMASK 2021-05-11 09:53:50 +10:00
Rishabh 001c041b72 Rover: Enable RFND logging 2021-05-06 16:25:11 +10:00
Ari Krupnik 9b88823ce6 Rover: logging for direct-rotation sail mast output 2021-05-04 01:02:50 +01:00
Iampete1 c1d4e5116d Rover: move TURN_MAX_G param to atitude control 2021-05-03 19:22:16 -04:00
Josh Henderson 3225ca8853 Rover: Privatize AP_IntertialSensor Logging 2021-04-29 19:19:12 +10:00
Ari Krupnik f5491433f6 Rover: direct-rotation sail mast control 2021-04-28 08:22:47 +01:00
Iampete1 1e6e16e468 Rover: RC_Channel: add WIND_VANE_DIR_OFSSET 2021-04-28 15:16:35 +10:00
Iampete1 2af6854437 Rover: move wind logging to windvane 2021-04-28 15:16:35 +10:00
Randy Mackay b8b1a7270c Rover: DPTH messages logged even with no position 2021-04-20 09:17:48 +10:00
Randy Mackay 09718a0f11 Rover: DPTH message logs water temperature 2021-04-20 09:17:48 +10:00
Peter Barker d9144ab47c Rover: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Tatsuya Yamaguchi 85bb3bef19 Rover: minor fix to release notes
This PR is NFC to fixup some spelling errors.
2021-04-13 07:58:04 +09:00
Randy Mackay af8e7b3e22 Rover: 4.1.0-beta1 release notes 2021-04-10 07:50:27 +09:00
Randy Mackay 8a6453b5d2 Rover: improved vectored thrust support
Co-authored-by: srmainwaring <rhys.mainwaring@me.com>
2021-04-08 08:47:07 +09:00
Peter Barker 051be6c160 Rover: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Ari Krupnik c6bf7475f2 Rover: fixing typo in comment 2021-03-31 16:31:13 +11:00
Peter Barker b245b027f7 Rover: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Mark Whitehorn b65e564ec9 Rover: use deadzone in 2-paddle steering 2021-03-29 08:18:51 +09:00
Randy Mackay 1b69cf68ec Rover: integrate HAL_PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
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
Iampete1 653e5524f6 Rover: arming revert to single &
Using a single & here means that all checks are run even if the first fails. && would run only the first check and return if it fails.
2020-07-29 19:34:43 +09:00
Iampete1 47caf886b1 Rover: add arming check for windvane if sailing enabled 2020-07-29 08:51:28 +09:00
Peter Barker 3f581d7a20 Rover: remove unused defines 2020-07-17 12:11:00 +10:00
Mirko Denecke 6f0782abbf Rover: update_trigger() is now called in AP_Camera update() 2020-07-15 08:37:28 +09:00
Randy Mackay 35f0402b47 Rover: Guided mode supports direct steering and throttle control 2020-06-24 08:34:41 +09:00
Peter Barker dbb9656ca7 Rover: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos' 2020-06-12 08:11:46 +10:00
jbteja 300a118852 Rover: astyle, reformatted few files in Rover Dir 2020-05-25 10:45:38 +09:00
Iampete1 96f75093fe Rover: align GCS PID with logged 2020-05-19 09:04:16 +10:00
Peter Barker 610d43556c Rover: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
Rishabh 9de3a24011 Rover: Logger documentation 2020-04-23 08:26:42 +10:00
Randy Mackay cd6024741c Rover: do not send ahrs3 mavlink message 2020-04-22 14:11:17 +09:00
Peter Barker 680b6bb9a2 Rover: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Peter Barker d31700c310 Rover: rename directory from APMrover2 2020-04-14 09:50:34 +09:00