Commit Graph

30073 Commits

Author SHA1 Message Date
Peter Barker
8a15c69aff Tools: add --fresh-params option to sim_vehicle.py
This will rebuild and use the XML file we generate from our
source code which conveys information about our parameters.

When using this option, "param help PARAMETERNAME" should reflect
changes made to the parameter metadata for PARAMETERNAME.
2018-01-08 14:49:35 +00:00
Peter Barker
114628afe4 Copter: use zero_throttle_and_relax_ac in stab, guided, acro and auto 2018-01-08 12:02:49 +00:00
Peter Barker
8d658e1dbc Copter: correct misleading comment in mode_throw 2018-01-08 12:02:49 +00:00
Randy Mackay
5a5be9175d Rover: 3.2.0-rc4 release notes 2018-01-05 14:02:01 +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
mirkix
0926802013 AP_Notify: add new board PocketPilot 2017-12-27 16:01:55 +00:00
mirkix
9b6a826b49 AP_HAL_linux: add new board PocketPilot 2017-12-27 16:01:55 +00:00
mirkix
0e7ade6f0c AP_HAL: add new board PocketPilot 2017-12-27 16:01:55 +00:00
mirkix
793578c0a9 ardupilotwaf: add new board PocketPilot 2017-12-27 16:01:55 +00:00
mirkix
7126b0c5ae Linux_HAL_Essentials: add PocketPilot PRU Firmware 2017-12-27 16:01:55 +00:00
Pierre Kancir
8c8767e964 AP_InertialSensor: reduce QURT include scope 2017-12-27 15:13:30 +00:00
Pierre Kancir
14b5c8a6c4 AP_Baro: don't include vehicle specific baro by default 2017-12-27 15:13:30 +00:00
Peter Barker
d1201e4776 Copter: tidy zero_throttle_and_relax (NFC) 2017-12-27 12:09:06 +00:00
Peter Barker
71ad1b5815 Copter: use zero_throttle_and_relax_ac function 2017-12-27 12:09:06 +00:00
Peter Barker
41dc8554c0 Copter: pull out a zero_throttle_and_relax function 2017-12-27 12:09:06 +00:00
Peter Barker
4c7491a05b Copter: mode_auto's landing_gear_deploy method defers to mode_rtl
Since we defer our rtl_run behaviour to the RTL flightmode, it should
also specify the landing gear behaviour
2017-12-27 12:08:15 +00:00
Peter Barker
d9235d3d41 Copter: make landing_gear_should_be_deployed a base-class method 2017-12-27 12:08:15 +00:00
Peter Barker
e76865eb9c Tools: Replay: AP_AHRS no longer requires GPS in constructor 2017-12-27 00:58:02 +00:00
Peter Barker
a35e86c2fd AP_SmartRTL: AP_AHRS no longer requires GPS in constructor 2017-12-27 00:58:02 +00:00