Commit Graph

32381 Commits

Author SHA1 Message Date
Randy Mackay
e02375022e AR_AttitudeControl: remove constraint on steering output 2018-06-12 17:45:43 +09:00
Randy Mackay
eb234a1306 AP_MotorsUGV: minor comment fix 2018-06-12 17:45:41 +09:00
Randy Mackay
eb519bfb79 AP_MotorsUGV: MOT_SPD_SCA_BASE param for min speed scaling
This replaces the hardcoded 1m/s start point for speed scaling with a configurable value
2018-06-12 17:45:39 +09:00
Randy Mackay
374c77d9c8 AP_MotorsUGV: steering limits and constraint done by each output handler
each motor output handler (regular, skid, omni) becomes responsible for constraining the steering input (if required) and setting the limits flags
it is possible to reduce duplicate code but I think it might be more important to keep it clear which level is responsible for the limiting and constraining of steering
2018-06-12 17:45:36 +09:00
Randy Mackay
0333c3f3fa Rover: add Log_Write_Depth 2018-06-12 17:43:29 +09:00
Randy Mackay
527d348a83 Rover: alphabetise Log_Write methods 2018-06-12 17:43:27 +09:00
Randy Mackay
4499049a30 Rover: rename Log_Arm_Disarm to Log_Write_Arm_Disarm 2018-06-12 17:43:24 +09:00
Randy Mackay
2454f865f7 Rover: remove unimplemented Log_Write_Performance declaration 2018-06-12 17:43:22 +09:00
Randy Mackay
c622783677 Rover: accept do-change-speed commands with high speeds 2018-06-12 17:43:07 +09:00
Randy Mackay
4e0e159486 Rover: accept DO_CHANGE_SPEED commands 2018-06-12 17:43:05 +09:00
Randy Mackay
105ce15133 Rover: set_desired_speed range checks speed 2018-06-12 17:43:03 +09:00
Ammarf
e2f291ba85 AR_AttitudeControl: disable limits when _ACCEL_MAX is zero 2018-06-12 17:43:00 +09:00
Randy Mackay
a330da9524 Rover: remove SPEED_TURN_GAIN
Loiter was the only mode using this, replaced with hardcoded gain.  The desired speed in Loiter also uses a hardcoded gain so this should work
2018-06-12 17:42:45 +09:00
Randy Mackay
7c61f96f5f Tools: update sitl rover default params 2018-06-12 17:42:42 +09:00
Randy Mackay
c149b529aa Rover: wp_overshoot used to limit speed in Auto
Limits desired speed to max possible given max lateral
acceleration and distance to line between waypoints
Replaces the use of SPEED_TURN_GAIN which scaled down speed
Also used in Guided, RTL, SmartRTL
2018-06-12 17:42:40 +09:00
Randy Mackay
b5e3d088f8 Rover: version to 3.4.0 2018-06-12 17:09:38 +09:00
Randy Mackay
fdd631cbe9 Rover: 3.4.0 release notes 2018-06-12 17:07:39 +09:00
Randy Mackay
615d7afc3a Rover: version to 3.4.0-rc1 2018-06-01 16:19:21 +09:00
Randy Mackay
cbe2596a63 Rover: 3.4.0-rc1 release notes 2018-06-01 16:19:13 +09:00
Peter Barker
e3ddf7dadd Copter: rename SPRAYER-enabled-define to SPRAYER_ENABLED 2018-06-01 15:13:05 +09:00
Michael du Breuil
fb99ea0446 AP_Rangefinder: Update WASP defaults 2018-06-01 15:08:35 +09:00
Randy Mackay
67475a9eaa AR_AttitudeControl: reset turn-rate I term if not run for 0.2sec 2018-06-01 15:06:13 +09:00
Randy Mackay
99cf279dff AP_RangeFinder: remove unused definitions from MaxSonarI2C 2018-06-01 15:06:13 +09:00
Randy Mackay
1e058045f7 Rover: guided mode more forgiving of set-position-targets type_mask field
accept position targets regardless of any other bit settings in type mask field.  This makes rover more forgiving of errors in the type_mask field.
2018-06-01 15:05:48 +09:00
Randy Mackay
98e87db274 AP_RangeFinder: MaxsonarI2C reports no data after 300ms 2018-06-01 15:04:40 +09:00
Peter Barker
4b4e66e2bd Copter: correct comment about mode change 2018-06-01 15:01:46 +09:00
Peter Barker
db60e93716 Copter: correct comment on deprecated switch option 2018-06-01 15:01:46 +09:00
Peter Barker
48a4523a73 Sub: fix comments in config.h 2018-06-01 13:28:43 +09:00
Andrew Tridgell
b8d47f346e Copter: fixed interlock check on helis
the motors check is always false when disarmed, so can't be used for
arming check
2018-06-01 10:14:20 +09:00
Randy Mackay
25961b6d13 Copter: flip mode format fix 2018-05-31 15:21:50 +09:00
Randy Mackay
0ba105f649 Copter: minor format fix to guided
no need to specify copter
non-functional change
2018-05-31 15:21:42 +09:00
Ammarf
26c25daa36 Rover: add support for lateral control input 2018-05-31 13:48:17 +09:00
Peter Barker
0baee6f82b GCS_MAVLINK: avoid pushing partial RC_CHANNEL message into uart
In the case we do not send RC_CHANNELS_RAW, we will not check to see if
RC_CHANNELS will fit.  RC_CHANNELS is larger than RC_CHANNELS_RAW, so the
check in the caller is insufficient.
2018-05-30 17:05:13 +01:00
Pierre Kancir
b615677223 HAL_SITL: implement reboot support 2018-05-30 18:48:53 +10:00
Pierre Kancir
7732b41186 AP_HAL_SITL: fix static member access through instance 2018-05-30 18:48:53 +10:00
Pierre Kancir
f986f1366f AP_HAL_SITL: set close-on-exec flag on uart socket 2018-05-30 18:48:53 +10:00
Randy Mackay
e520d4fe42 AP_RangeFinder: Benewake TF02 and TFmini lidar driver 2018-05-30 11:16:35 +09:00
disgruntled-patzer
2c41db9e4d AP_RollController.cpp: Updated description of ArduPlane Roll Controller for accuracy
AP_RollController's get_servo_out function does not return an elevator deflection as was previously described in the function comments.
Instead, it should return an aileron deflection. Thus, the function description should be updated to reflect this more accurately
2018-05-30 09:46:08 +09:00
Andrew Tridgell
6213b452ca ChibiOS: idle line callback for USARTv2 2018-05-30 07:22:05 +10:00
Randy Mackay
73bdc3be09 Rover: set ahrs flyforward if thr over 15% for 2 seconds
or if throttle is positive and desired speed over 0.5m/s
2018-05-29 16:37:31 +09:00
Randy Mackay
e691b680ca AR_AttitudeControl: add speed-control-active method
allows caller check if speed controller if active
also consolidated other methods to use this check to reduce a little bit of duplicate code
2018-05-29 16:37:31 +09:00
Randy Mackay
3b71d0360a AR_AttitudeControl: const get_decel_max and get_stopping_distance 2018-05-29 16:37:31 +09:00
Randy Mackay
3ecc0ea6c8 Tools: add hydrotek boat default parameters 2018-05-29 16:07:55 +09:00
Peter Barker
19fd133ef8 SITL: correct compilation for transitive include fail 2018-05-29 14:42:02 +10:00
Peter Barker
12853f8912 Rover: correct compilation for transitive include fail 2018-05-29 14:42:02 +10:00
Peter Barker
1aaf7e96af GCS_MAVLink: remove intermediate functions
GCS_MAVLink: remove comm_receive_ch

This is a lot of sanity checking in a static function which has been
called from a place where things are guaranteed

GCS_MAVLink: remove unused comm_is_idle

GCS_MAVLink: remove unused comm_send_ch

GCS_MAVLink: remove unused hal reference

GCS_MAVLink: remove unused #includes
2018-05-29 14:42:02 +10:00
Peter Barker
ac729f4614 Plane: lock home when it is set from the GCS 2018-05-29 14:38:45 +10:00
Peter Barker
18c4823427 Plane: return MAV_RESULT_ACCEPTED for setting home to current location 2018-05-29 14:38:45 +10:00
Peter Barker
bc9df01d21 Plane: remove sending of statustext for home location 2018-05-29 14:38:45 +10:00
Peter Barker
22306c370b Plane: factor out a Plane::set_home 2018-05-29 14:38:45 +10:00