Commit Graph

1914 Commits

Author SHA1 Message Date
Peter Hall d83745e305 Rover: Sailboat tacking improvements 2019-09-26 18:23:03 +09:00
Randy Mackay 7cd6aec799 Rover: fix init of struct published to OSD 2019-09-26 15:35:55 +09:00
Henry Wurzburg 9ac79b1698 Rover: publish nav data to OSD 2019-09-25 15:15:55 +09:00
Andrew Tridgell c9278632a5 Rover: updated release notes for 3.5.2 2019-09-24 14:14:10 +10:00
Randy Mackay 7c2c6dbab3 Rover: pre-arm check that WP_SPEED is positive 2019-09-20 09:01:57 +09:00
Peter Barker 37293b1cf4 Rover: remove stale defines for log message types 2019-09-18 15:02:57 +10:00
Randy Mackay 981b2b1d50 Rover: version to 4.0.0-dev 2019-09-17 11:39:47 +09:00
Peter Barker 0d7db0bbfe Rover: remove get_advanced_failsafe override; singleton to be used 2019-09-17 09:13:43 +10:00
Peter Hall 412be730e4 Rover: rename abs to true wind 2019-09-11 11:22:12 +09:00
Peter Barker 0aed55b272 Rover: remove ineffective DEVO_TELEM_ENABLED 2019-09-04 17:47:33 +10:00
Henry Wurzburg b61edd5a96 Rover: remove duplicate parameter comments
causes wiki duplications ...already included elsewhere
2019-09-02 11:01:47 +09:00
Randy Mackay abe04db372 Rover: RC_Channel uses sailboat::set_motor_state 2019-09-01 09:11:25 +09:00
Randy Mackay 488ae65e8f Rover: rework sailboats with motoring
renamed throttle with motor
added set_motor_state accessor
removed overloading of ENABLE parameter
fixed circular tack_enabled logic which led to assisting a tack disabling a tack
separate assistance for low wind vs tacking
2019-09-01 09:11:25 +09:00
Randy Mackay e023400fda Rover: rename nav_enabled to tack_enabled
tack_enabled is more precise than nav_enabled so it describes the feature more accurately
2019-09-01 09:11:25 +09:00
Randy Mackay bf7432cf2e Rover: fix sailboat NO_GO_ANGLE param description 2019-09-01 09:11:25 +09:00
Randy Mackay 79feb4edb8 Rover: sailboat class formatting fixes
move constructor to top of sailboat.h
move var_info to be the last public declaration
remove some spaces
2019-09-01 09:11:25 +09:00
Peter Hall 4ae62a2983 Rover: shorten sailboat tacking timeout to 5sec 2019-09-01 09:11:25 +09:00
Peter Hall 54f3173c7c Rover: RC_Channel add sailboat motor aux functions 2019-09-01 09:11:25 +09:00
Peter Hall 3308a84acc Rover: sailboat add motor-sailing 2019-09-01 09:11:25 +09:00
Peter Barker b17b668fff Rover: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Peter Hall d88e12b206 Rover: mode: use oa_wp_bearing_cd 2019-08-24 09:05:29 +09:00
Michael du Breuil 638d746911 Rover: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Peter Barker a0ba9986a2 Rover: correct compilation when AFS enabled 2019-08-22 10:52:18 +09:00
Peter Barker 28b0b86487 Rover: resolve compiler warning for delay time 2019-08-19 18:10:15 +09:00
Peter Barker 56c0866d06 Rover: rename and tighten type on motor_test_seq
This name is too close to "order" which is a completely separate concept
in the mavlink test packet.

Renamed it to motor_test_instance.
2019-08-19 09:03:06 +09:00
Peter Barker 51070b39d9 Rover: motortest: pass a GCS_MAVLINK& in place of a channel 2019-08-19 09:03:06 +09:00
Peter Barker 4fc57b1aa8 Rover: stop updating sensor status flags
These are updated as required in the gcs library itself.
2019-08-17 17:45:03 +10:00
Randy Mackay eb9e5df0dd Rover: resolve send_text compile warning 2019-08-17 13:40:24 +09:00
Randy Mackay 6c3ce521c7 Rover: add Auto_Stop state and use for Nav_Delay 2019-08-14 10:45:29 -07:00
Tom Pittenger 1bb332382c Rover: add support for NAV_DELAY misison item 2019-08-14 10:45:29 -07:00
Peter Barker 190f716c43 Rover: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker 9d54b4820f Rover: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Randy Mackay 8912e2f98e Rover: simplify DEVO_TELEM_ENABLED definition 2019-08-09 23:07:08 +09:00
Randy Mackay 1ef6204c1d Rover: add Randy to maintainer list comment 2019-08-06 17:11:34 +09:00
Randy Mackay 13aaf4375b Rover: remove Dodge avoidance
this has been replaced with BendyRuler OA Path Planning
2019-08-06 10:40:00 +09:00
Peter Barker 58adb8d7c4 Rover: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Randy Mackay a381502ad1 Rover: add ADSB message stream and send oadb objects 2019-08-02 09:50:13 -06:00
Peter Barker 82cf8a93d0 Rover: use MAV_FRAME_GLOBAL instead of MAV_FRAME_GLOBAL_INT in send_position_target 2019-07-30 10:55:21 +10:00
Michael du Breuil 8d988de033 Rover: Convert ARMING_CHECK 2019-07-30 10:42:16 +10:00
Michael du Breuil 5dba9b0e48 Rover: Add keydump feature 2019-07-30 10:42:16 +10:00
Randy Mackay a5c76b614e Rover: resolve send_text compiler warnings 2019-07-30 08:44:06 +09:00
Randy Mackay 35a57d1156 Rover: param conversions for FF and FILT params 2019-07-25 17:38:15 +09:00
Leonard Hall 157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Peter Barker bab31a2d61 Rover: enable RC calibration checks 2019-07-24 15:40:09 +09:00
Peter Barker 2bc3f8b5c9 Rover: remove dangling print_mode method declaration 2019-07-24 13:35:01 +09:00
Tom Pittenger 692bf1c931 Rover: null check for unconfigured RCMAP_YAW which is not use don all vehicle types 2019-07-23 09:39:02 +10:00
Pierre Kancir 86406fdb02 APMrover2: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker 4e5696a13a Rover: RangeFinder uses AP_SerialManager singleton 2019-07-16 09:29:48 +10:00
Lyuyang Hu 5f37ed2bb8 Rover: rename APMrover2.cpp to Rover.cpp 2019-07-11 11:43:32 +09:00
Lyuyang Hu 43719d5e5d Rover: move contents of Rover.cpp to APMrover2.cpp 2019-07-11 11:43:29 +09:00
Peter Barker a4a54dc0cd Rover: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker 98f637ba6c Rover: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker ca03c5b2a9 Rover: EKF logging moved into EKF from logger 2019-07-06 19:05:51 +10:00
Peter Barker 9d95933845 Rover: ServoRelayEvents uses Relay singleton 2019-07-03 23:59:24 -07:00
Peter Barker ee4e876fd7 Rover: stop setting beacon in AHRS 2019-07-01 07:20:58 +09:00
Peter Barker a50004baff Rover: add sanity check when fetching GCS_MAVLink instance 2019-06-27 07:54:45 +10:00
Michael du Breuil 06e7120b4b Rover: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Peter Barker ea2de1c11a Rover: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker 4a2022d6e3 Rover: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker e2df3225b2 Rover: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Michael du Breuil 631a0bdbff Rover: Enable scripting parameters 2019-06-18 00:06:32 -07:00
Peter Barker ced80adaa5 Rover: set os_sw_version to date fw was compiled
Also avoids non-trivial-designator compilation error
2019-06-18 10:54:01 +10:00
Randy Mackay c233c3aff3 Rover: integrate OAPathPlanner 2019-06-11 13:13:22 +09:00
Peter Barker c61412d2d1 Rover: correct get_distance_to_destination in loiter mode 2019-06-05 14:35:30 +09:00
Peter Barker df3a7d32ea Rover: move common proximity pre-arm checks up 2019-06-04 08:45:34 +09:00
Peter Hall 8caa753a55 Rover: init windvane with serial_manager 2019-06-03 10:48:19 +09:00
Tatsuya Yamaguchi e18b3cac6b Rover: Allowed to arm in Manual mode without GPS 2019-06-03 08:26:14 +09:00
Peter Barker 22c5954c8f Rover: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker 55a9165624 Rover: emit throttle armed and throttle disarmed statustexts 2019-05-30 07:37:30 +09:00
Peter Barker def3bb374f Rover: move check for ARMING_CHECK_NONE back into Rover
Rover allows all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE.  Not all vehicles allow this, so move this bypass
back into Rover.
2019-05-30 07:37:30 +09:00
Peter Barker 9851ec1ddb Rover: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up
2019-05-30 07:37:30 +09:00
Randy Mackay 66fa948e27 Rover: send position-target-global-int mavlink messages 2019-05-29 09:40:05 +09:00
Randy Mackay 93b05d7d8a Rover: add get_desired_location method 2019-05-29 09:40:05 +09:00
Peter Hall 54165dbc9c Rover: GCS_Mavlink: add windvane speed calabration 2019-05-28 08:35:58 +09:00
Peter Barker 9f97125656 Rover: stop passing references to AC_Avoid constructor 2019-05-22 07:48:02 -06:00
Patrick José Pereira 1c816b1fe1 rover: Fix parameter type capitalization
This parameter type is used by groundstation to create the parameter subcategory
Since this creationg is case sensitive, the capitalization should be done here.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-05-18 08:40:56 +09:00
Randy Mackay c69adf8a7d Rover: 3.5.1 release notes 2019-05-17 13:29:57 +09:00
Arjun Vinod 14cb042e89 Rover: use WP_SPEED instead of CRUISE_SPEED to set loiter's maximum speed 2019-05-16 08:43:29 +09:00
Andrew Tridgell e046d86c59 Rover: fixed typo in log write 2019-05-15 15:33:48 +10:00
Peter Hall e2ed76886c Rover: AP_MotorsUGV make has sail protected 2019-05-15 11:29:39 +09:00
Peter Hall b5782f0b7a Rover: convert old sailboat parameters 2019-05-15 11:29:39 +09:00
Peter Hall 2d9a0195ce Rover: make sailboat a class 2019-05-15 11:29:39 +09:00
Peter Hall d5f3cf50e4 Rover: Parmeters: remove old sailboat params 2019-05-15 11:29:39 +09:00
Peter Hall f22d7c906a Rover: move to use new sailboat class 2019-05-15 11:29:39 +09:00
Tom Pittenger 818b1a77ea Rover: move heartbeat sending to gcs instead of by vehicles 2019-05-14 10:54:45 -06:00
Peter Barker e9c5034c54 Rover: fix build when rally points disabled 2019-05-10 09:13:53 +09:00
Randy Mackay 8c034e6fa2 Rover: prepend _old to some unused param enums 2019-05-10 06:55:35 +09:00
Randy Mackay d0a39e6114 Rover: fix notification in guided and rtl 2019-05-10 06:55:35 +09:00
Peter Barker 40f3f414cd Rover: handle AR_WPNav failing to set desired location 2019-05-10 06:55:35 +09:00
Randy Mackay 20152dbdb7 Rover: fix logging of desired lateral acceleration 2019-05-10 06:55:35 +09:00
Randy Mackay 39418abafb Rover: use AR_WPNAV_HEADING_UNKNOWN in place of local define 2019-05-10 06:55:35 +09:00
Randy Mackay 1f2500d268 Rover: follow uses local desired_yaw_cd
reducing dependency on shared _desired_yaw_cd with the hope that it can eventually be removed
also minor comment update for desired_yaw_cd
2019-05-10 06:55:35 +09:00
Randy Mackay 2b654983a9 Rover: yaw_error_cd becomes local variable in Loiter only 2019-05-10 06:55:35 +09:00
Randy Mackay c4766ec143 Rover: remove speed_error that is never updated 2019-05-10 06:55:35 +09:00
Randy Mackay 75ba96b7a2 Rover: separate nudge from calc_throttle
This is required because AR_WPNav produces an acceleration adjusted desired speed meaning in rare cases where the vehicle is moving in reverse at the time auto is engaged, the desired speed may be temporarily negative as the vehicle slows.  In these situations we do not want to allow the vehicle's speed to be nudged to a higher reverse speed if the pilot's throttle stick is all the way down
2019-05-10 06:55:35 +09:00
Randy Mackay a94ebc5bc3 Rover: integrate navigation library 2019-05-10 06:55:35 +09:00
Randy Mackay c3948bb074 Rover: add AR_WPNav to build 2019-05-10 06:55:35 +09:00
Tom Pittenger d1f7485e14 Rover: add STICK_MIXNG param 2019-05-03 13:14:11 -07:00
Tom Pittenger a798f9eb27 Rover: refactor motor.set_steering() to mode.set_steering() 2019-05-03 13:14:11 -07:00
Tom Pittenger b1df8327d4 Rover: fix misleading param comments 2019-05-02 09:19:04 +09:00