Commit Graph

29887 Commits

Author SHA1 Message Date
Randy Mackay
cf24e6115c Rover: arming checks for GPS use requires_position and velocity 2018-01-24 10:49:08 +09:00
Randy Mackay
a64aee1c17 Rover: gps check replaced by requires-position, requires-velocity
requires_gps is replaced by requires_position and requires_velocity
enter_gps_checks method is removed and enter method directly checks ekf flags and ekf origin
2018-01-24 10:49:05 +09:00
Randy Mackay
10ded34a01 Rover: version to 3.2.0 2018-01-13 10:17:04 +09:00
Randy Mackay
30ed0f2631 Rover: 3.2.0 release notes 2018-01-13 10:10:50 +09:00
Randy Mackay
f38641f670 AP_Compass: ICM20948 default rotation to Pitch180Yaw90 2018-01-13 10:10:49 +09:00
Randy Mackay
00e56fb899 AR_AttitudeControl: parameter desc range increase
new steering controller can use higher FF and zero P
2018-01-13 10:10:48 +09:00
Randy Mackay
ad7b1061ef Rover: add const and comments to calc_speed_max 2018-01-13 10:10:47 +09:00
Randy Mackay
7dd69f8796 Rover: rename auto_throttle to allows_arming_from_transmitter
This method is only used to determine whether we can arm from the transmitter so better to make its purpose more clear
Also minor comment fix to is_autopilot_mode method
2018-01-13 10:10:46 +09:00
Randy Mackay
a190d62813 Rover: send PID to GCS regardless of mode
Also add some comments
2018-01-13 10:10:44 +09:00
Andrew Tridgell
7f61734b4d mavlink: submodule update
new pymavlink release
2018-01-13 10:10:43 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
dd1f3a94e4 Mavlink: module update with upstream changes 2018-01-13 10:10:42 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
27702a060b GCS_MAVLink: do not use hardcoded array sizes 2018-01-13 10:10:41 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
8703eecfae GCS_MAVLink: Adapt to upstream mavlink changes in autopilot_version message 2018-01-13 10:10:40 +09:00
Andrew Tridgell
8284746420 mavlink: submodule update
merge from Amilcar
2018-01-13 10:10:39 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
36d71cd1c7 GCS_MAVLink: add microseconds since boot to the home and origin Mavlink messages 2018-01-13 10:10:38 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
2222194abd AP_GPS: Add horizontal, vertical and speed accuracy to the GPS_RAW_INT message 2018-01-13 10:10:37 +09:00
Randy Mackay
d7ceba8c0a Rover: version to 3.2.0-rc4 2018-01-05 13:46:33 +09:00
Randy Mackay
c63ad47ea2 Rover: 3.2.0-rc4 release notes 2018-01-05 13:45:42 +09:00
Randy Mackay
1bb18bc941 AR_AttitudeControl: get_throttle_out_speed uses timeout definition 2018-01-05 13:33:21 +09:00
Randy Mackay
4ac5ef3a13 AR_AttitudeControl: allow filter to be zero
Also increase default filter to 50hz
2018-01-05 13:33:21 +09:00
Randy Mackay
16d3e5c00d AR_AttitudeControl: add feed foward for speed and steering rate control 2018-01-05 13:33:21 +09:00
Randy Mackay
40bb2b0ad9 AR_AttitudeControl: set throttle speed pid dt 2018-01-05 13:33:21 +09:00
Randy Mackay
9930550cfc AR_AttitudeControl: lengthen timeout to 200ms
This is required because occasionally the turn rate controller can be disabled for just over 100ms as new navigation commands are loaded
2018-01-05 13:33:21 +09:00
Randy Mackay
a2b1807ca0 AR_AttitudeControl: fix turn-rate controller timeout 2018-01-05 13:33:21 +09:00
Randy Mackay
4e8155f4e5 AC_PID: allow non-zero ff gain default 2018-01-05 13:33:21 +09:00
Randy Mackay
072b5187a3 Rover: steering mode reversing fix 2018-01-05 10:23:20 +09:00
Randy Mackay
916fe80000 Rover: remove mode class's desired-lat-accel
This was a duplicate of the value held in the attitude controller
2018-01-05 09:27:53 +09:00
Randy Mackay
49493fe6a2 Rover: add calc_steering_to_heading
removes some duplicate code in Guided and Auto
2018-01-05 09:27:53 +09:00
Randy Mackay
af7bb7cbd7 Tools: update eLAB VEK default parameters
Add default steering feedforward value
2018-01-04 16:15:28 +09:00
Randy Mackay
1531801c83 AP_WheelEncoder: minor comment fix 2018-01-04 14:08:17 +09:00
Randy Mackay
dc283e9c26 Rover: re-order calc_steering declarations to match .cpp file 2018-01-04 14:07:55 +09:00
Randy Mackay
7b0b9f10de Tools: AION R1 default params use steering feed-forward
Also add wheel encoder defaults
2018-01-04 14:03:52 +09:00
Randy Mackay
368698d173 Tools: AION R1 default remove compass-external
compass-external settings should normally not need to be set
2018-01-04 14:02:53 +09:00
NickNunno
94eceddf69 Tools: update AION R1 default parameters
Added default presets to match documentation & hardware setup.
2018-01-04 13:51:04 +09:00
Matt
b5bdaa18ac AP_AVOIDANCE: Minimum altitude for avoidance action 2017-12-30 13:50:42 -08:00
ChrisBird
0fb679b2b2 Sub: Separate max ascent and descent speeds
This is to match a change made to Copter.

It might be relevant to sub in that users may wish to have asymmetrical descent and ascent rates.

New parameters named:
PILOT_SPEED_UP (technically renamed PILOT_VELZ_MAX)
PILOT_SPEED_DN

Removed parameter PILOT_VELZ_MAX (technically renamed to PILOT_SPEED_UP).

Modes impacted:
ALT_HOLD
CIRCLE
POSHOLD

Update a section in GUIDED mode but I don't think it is ever used but update just in case.

It will use the PILOT_SPEED_UP for ascending max velocity.  For down it will check if
it is 0, if so then it will PILOT_SPEED_UP instead, if non zero it will use PILOT_SPEED_DN.
This retains current behavior and gives the flexibility to change it if desired.

The above behavior is less of a concern for Sub but to keep it consistent its been implemented it the same way.
2017-12-28 15:16:08 -05:00
dheideman
521bece9e7 AP_JSButton: Add servo toggle button function 2017-12-28 14:14:47 -05:00
dheideman
8b0b96d56e Sub: Add servo toggle button function 2017-12-28 14:14:47 -05:00
dheideman
307638e8af AP_JSButton: Add momentary servo button function 2017-12-28 14:14:47 -05:00
dheideman
8fec2cbea3 Sub: Add momentary servo button function 2017-12-28 14:14:47 -05:00
dheideman
dd239183c1 AP_JSButton: Add momentary relay button function 2017-12-28 14:14:47 -05:00
Daniel Heideman
963d6a7739 Sub: Add momentary relay button function 2017-12-28 14:14:47 -05:00
Peter Barker
588b0c17c8 AC_Fence: remove AC_FENCE_TYPE_NONE define
0 is the appropriate value for a bitmask which is empty
2017-12-28 15:38:37 +00:00
Peter Barker
ed82421f27 Sub: remove argument to check()
Also, fence_check was renamed to check()
2017-12-28 15:38:37 +00:00
Peter Barker
cb129fbdaf Copter: remove argument to check()
Also, check() was check_fence()
2017-12-28 15:38:37 +00:00
Peter Barker
aa482bae40 AC_Fence: remove argument to check()
Also, rename check_fence() to check()
2017-12-28 15:38:37 +00:00
Peter Barker
1d3e7d454a Rover: correct gps-is-healthy mode change check 2017-12-28 15:35:19 +00:00
Andrew Tridgell
55f73f4163 AP_Airspeed: fixed timing errors in MS5525 driver
this fixes issue #7188, where we could read from the MS5525 sensor too
soon after requesting data and the result coming back would be garbage
2017-12-27 11:05:54 -08:00
mirkix
6c6515711c README: add Mirko Denecke as PocketPilot maintainer 2017-12-27 16:01:55 +00:00
mirkix
4b1ec08eaf AP_BattMonitor: add new board PocketPilot 2017-12-27 16:01:55 +00:00