Pierre Kancir
1dcf90c161
Rover: use scaled input in Manual modes
2017-06-24 13:17:26 +09:00
Pierre Kancir
ee28e49790
Rover: steering mark floats as float and fix parenthesis
2017-06-24 13:17:10 +09:00
Pierre Kancir
97595f98ac
Rover: add comments to scheduler
2017-06-24 13:17:05 +09:00
Pierre Kancir
ef2c2e4afc
Rover: add some comments in radio
2017-06-24 13:16:59 +09:00
Pierre Kancir
feb8c30af4
Rover: move rssi.init and set_control_channels
2017-06-24 13:16:54 +09:00
Pierre Kancir
7595ffb8ba
Rover: set correct safety limit
2017-06-24 13:16:48 +09:00
Pierre Kancir
32dc59baec
Rover: fix throttle slew limit for skid steer out
2017-06-24 13:16:40 +09:00
fsherratt
d3314d7684
AP_BattMonitor: param desc explicitly list Pixhawk 2 PM1 pins
...
There is confusion over which pins to use with the pixhawk 2, updated documentation to explicitly state the PM1 pins as being the same as the original pixhawk
2017-06-24 11:01:03 +09:00
priseborough
a4d18696a7
AP_NavEKF3: Improve variable names and documentation
...
Also remove unnecessary calculation of innov * gain
2017-06-23 00:43:58 +01:00
priseborough
368983ed5a
AP_NavEKF3: Clean up aiding mode logic using switch statements
2017-06-23 00:43:58 +01:00
priseborough
2a9eceaf10
AP_NavEKF3: Fix bugs causing height drift when using range beacons
2017-06-23 00:43:58 +01:00
Miguel Arroyo
6cf9b870b5
AP_Baro: AP_Baro_SITL more accurately simulates real sensor backend.
2017-06-23 09:36:28 +10:00
Pierre Kancir
ccbf281137
AP_RangeFinder: allow to set rangefinder type for mavlink
2017-06-22 16:17:58 +01:00
Leonard Hall
ed0063d10d
AC_AttControl: save accel max using shorter set_and_save
...
no functional change
2017-06-22 15:20:16 +09:00
Leonard Hall
f29951c2bf
Copter: fix autotune accel max not being used until reboot
...
Once autotune completes successfully, the discovered acceleration maximums should be used if the pilot tests the tune
2017-06-22 15:19:57 +09:00
Randy Mackay
356a405e2d
Copter: autotune minor format fix
2017-06-22 15:18:04 +09:00
Leonard Hall
2888096a42
Copter: autotune keeps constant attitude while holding position
2017-06-22 15:18:04 +09:00
Leonard Hall
0544cf1d82
AC_AttControl: add step input for autotune
2017-06-22 15:18:04 +09:00
Randy Mackay
51c20637e5
Copter: fix compile error when logging disabled
...
Also slightly re-order placement of functions
2017-06-22 15:18:04 +09:00
Leonard Hall
7eab1239c7
Copter: attitude logging at 400hz
2017-06-22 15:18:04 +09:00
Michael du Breuil
249849dfa4
AP_GPS: Add an enum for _auto_config
2017-06-21 11:44:45 +01:00
Michael du Breuil
5f8633e322
AP_GPS: Allow backends to report their lag confidences
2017-06-21 11:44:45 +01:00
priseborough
7659e9c31f
AP_NavEKF3: Improve checking of time delay validity when setting buffers
...
This change means that provided the GPS_DELAY_MS parameters are set for each GPS receiver attached, the EKF will not have to wait for the configuration of each receiver to be determined before it can start.
This significantly reduces start-up times when the delay parameters are set.
2017-06-21 11:44:45 +01:00
priseborough
7d63286088
AP_NavEKF3: update to match AP_GPS interface change
2017-06-21 11:44:45 +01:00
priseborough
fa5534502a
AP_AHRS: Update to match AP_GPS interface change
2017-06-21 11:44:45 +01:00
priseborough
5dcfc94371
AP_GPS: Add validity boolean to GPS lag reporting
2017-06-21 11:44:45 +01:00
priseborough
bd0229b7bc
AP_GPS: Fix bug in calculation of blended GPS delay
2017-06-21 11:44:45 +01:00
Randy Mackay
58dd0592ad
Tools: eLAB VEK default param update
...
We should always require arming, thanks @khancyr for noticing this!
2017-06-21 18:20:59 +09:00
Francisco Ferreira
da5060964b
AP_Math: uniformize template type parameter keyword
...
Use typename everywhere instead of class
2017-06-21 18:19:31 +09:00
Francisco Ferreira
1ffe12008c
AP_Math: adapt test for new norm method API
2017-06-21 18:19:31 +09:00
Francisco Ferreira
7b98f41947
AP_Math: correct norm to need two arguments
...
Correctly use sqrtf instead of the double version
Stop casting to float since sq already returns one
2017-06-21 18:19:31 +09:00
Andrew Tridgell
f3d995a716
AP_Compass: improved robustness of BMM150 detection code
...
cope with bus errors on startup
2017-06-21 16:25:37 +10:00
Andrew Tridgell
68460144df
AP_Compass: added retries on init in BMM150
2017-06-21 16:25:37 +10:00
Andrew Tridgell
9b093c4a33
AP_Compass: fixed a numerical issue in BMM150 driver
...
we were getting the following:
ret=-32768 z=5 rhall=6267 z1=23743 z2=712 z3=-1035 z4=0 xyz1=6264 dividend=163840 dividend2=-1073577207 divisor=5253
the signed/unsigned casts for rhall and xyz1 did not produce the
desired result
2017-06-21 16:25:37 +10:00
Andrew Tridgell
0623db98d6
AP_Compass: cope with bus errors in BMM150
...
if we have bus errors the BMM150 can get confused, giving rubbish
output. This uses the checked register code to reset, and a full soft
reset after 250ms of no samples.
2017-06-21 16:25:37 +10:00
Andrew Tridgell
fa3d40af8a
AP_Compass: fixed shift typo
...
this doesn't affect LE MCUs like STM32
2017-06-21 16:25:37 +10:00
Randy Mackay
f8ee82e708
Tools: remove old 3DR standard param files
2017-06-21 15:16:49 +09:00
Randy Mackay
0037ec086a
Tools: rename param files for eLAB
2017-06-21 15:08:38 +09:00
Randy Mackay
3159361970
Tools: add param file for eLAB VEK AI rover
2017-06-21 15:08:38 +09:00
Andrew Tridgell
b8f628da83
HAL_PX4: fixed bug in last_sent
...
thanks to Francisco
2017-06-21 11:40:12 +10:00
Andrew Tridgell
2e24c35906
Rover: setup default esc scaling
...
for rovers without a k_throttle channel we need a default ESC scaling
value
2017-06-21 10:30:39 +09:00
Andrew Tridgell
d060fd2826
Rover: replace get_output_norm*100 for throttle with get_output_scaled
...
No functional change
2017-06-21 10:30:39 +09:00
Andrew Tridgell
79f7cc5779
Rover: implement new style skid steering
...
use throttleLeft and throttleRight servo functions. This gives much
greater flexibility and control over motor trims and limits
2017-06-21 10:30:39 +09:00
Andrew Tridgell
17893958bf
HAL_PX4: cope with brushed motors in read_last_sent()
...
we need the value before scaling is applied, so slew rates can work
2017-06-21 10:55:24 +10:00
Michael du Breuil
a42c09d27a
Tracker: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing
2017-06-20 15:41:50 +01:00
Michael du Breuil
57c9afb77e
Rover: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing
2017-06-20 15:41:50 +01:00
Michael du Breuil
f0cb234228
Copter: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing
2017-06-20 15:41:50 +01:00
Michael du Breuil
df15a82f88
Sub: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing
2017-06-20 15:41:50 +01:00
Michael du Breuil
8691eae679
Plane: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing
2017-06-20 15:41:50 +01:00
Andrew Tridgell
bc8c13d053
SRV_Channel: cope with large time jumps in slew rate limiter
2017-06-20 20:53:44 +09:00