Emile Castelnuovo
4a5c31fe74
AP_relay: added default relay pin for VRBRAIN
11 years ago
Emile Castelnuovo
8e42b21bab
AP_HAL_VRBRAIN: added management for external relay 1 and 2
11 years ago
Andrew Tridgell
a6ca11facf
AP_TECS: allow zero throttle in flare for landing
11 years ago
Andrew Tridgell
6c1eed0a20
AP_TECS: bring in flare sink rate more slowly
...
this should reduce pitch overshoot in the flare
11 years ago
Randy Mackay
1c6606cc58
AC_WPNav: resolve twitch when passing spline waypoints
...
The target positions target velocity was being reset to zero as we
passed through a spline waypoint.
11 years ago
Andrew Tridgell
7547cd45f5
AP_TECS: bring the flare height rate demand in slowly
...
bring it in over 0.5s to give less of a bounce
11 years ago
Andrew Tridgell
500e20b08d
AP_TECS: make TECS aware of LAND_PITCH_CD
...
this makes the flare a bit smoother
11 years ago
Andrew Tridgell
fb4ef0b5c6
AP_Vehicle: added land_pitch_cd for fixed wing
11 years ago
Andrew Tridgell
46ac52bccc
HAL_Linux: removed retry loop on UART open
...
this was there for HAL_PX4 only, and makes no sense on Linux
11 years ago
Randy Mackay
d6aa868cac
Mission: start next nav cmd immediately after prev completes
11 years ago
Andrew Tridgell
68dd61c7c7
AP_TECS: added TECS_LAND_TCONST
...
this allows control of the time constant for landing in TECS. A lower
time constant gives tighter altitude control on landing approach
11 years ago
Andrew Tridgell
5da5360dde
HAL_SITL: fixed sonar correction for attitude
11 years ago
Andrew Tridgell
6b893a5865
GCS_MAVLink: slow down parameter send a lot with no flow control
11 years ago
priseborough
0f62dbf6ed
AP_NavEKF : Clear compass fail on transition between armed and disarmed
...
This allows a compass that has been declared failed, possibly because of
external disturbances (eg movement of hatches, proximity of tools, etc)
to be given a second chance when the vehicle is armed.
11 years ago
Ju1ien
1c96bf0b1d
AP_Mount.cpp - correct units in description
...
That should be corrected also in MP as the current code is expecting
degrees, not centidegrees.
11 years ago
Andrew Tridgell
eeb04ba1b8
AP_Terrain: fetch more terrain data around waypoints
...
this ensures we have data for a wide region (1km) around each waypoint
11 years ago
Andrew Tridgell
e9a9e33280
AP_AHRS: use EKF use_compass() if EKF enabled
...
this allows magfailed status to show on console via SYS_STATUS health
bits
11 years ago
Andrew Tridgell
5d40ec8014
AP_NavEKF: make use_compass() public
11 years ago
Randy Mackay
5a66ff1ef9
AC_AttControl: bug fix for ef target during acro
11 years ago
Randy Mackay
3e0b573dfe
AC_AttControl: remove debug message
11 years ago
Randy Mackay
f6e12bda06
AC_AttControlHeli: integrate div-by-zero check for bf-to-ef conversion
11 years ago
Randy Mackay
c45338f080
AC_AttControl: div-by-zero check for bf-to-ef conversion
11 years ago
Andrew Tridgell
024d3b71e7
HAL_Linux: use a semaphore in suspend_timer_procs()
...
this is the start of multi-core aware code
11 years ago
Andrew Tridgell
dcdb53584b
AP_InertialSensor: use lockless structures in MPU9250 driver
...
this avoids suspending timers when transferring data between main
thread and SPI read thread
11 years ago
Andrew Tridgell
7343de2893
AP_Notify: avoid suspend_timer_procs() by using atomic updates in ToshibaLED_PX4
11 years ago
Randy Mackay
691a3d8126
AC_AttControlHeli: add passthrough_bf_roll_pitch_rate_yaw
11 years ago
Robert Lefebvre
7d3e22af59
AC_AttitudeControl_Heli: Add use_flybar_passthrough accessor function.
11 years ago
Robert Lefebvre
9b1d9e3cf0
AC_AttitudeControl_Heli: Add passthrough_to_motor_roll_pitch function.
11 years ago
Robert Lefebvre
5c04af6d20
AC_AttitudeControl_Heli: Create Flybar Passthrough flag which will be used for control pass-through.
11 years ago
Andrew Tridgell
43e8b36e5b
AP_RangeFinder: removed use of hrt_absolute_time()
11 years ago
Andrew Tridgell
5c9e5fbc11
AP_InertialSensor: removed use of hrt_absolute_time()
11 years ago
Andrew Tridgell
e143acd8bf
HAL_VRBRAIN: minimise use of hrt_absolute_time()
11 years ago
Andrew Tridgell
48247b6adc
HAL_PX4: minimise usage of hrt_absolute_time()
11 years ago
Andrew Tridgell
9f6d1f987b
AP_Compass: removed use of hrt_absolute_time()
11 years ago
Andrew Tridgell
5280d8936d
AP_Baro: remove usage of hrt_absolute_time()
...
use a single time base in all code
11 years ago
Andrew Tridgell
a14f8dbd0a
AP_InertialSensor_MPU9250: use micros64() and millis64()
11 years ago
Andrew Tridgell
071323a736
HAL_VRBRAIN: added millis64() and micros64()
11 years ago
Andrew Tridgell
1241da466b
HAL_PX4: added millis64() and micros64()
11 years ago
Andrew Tridgell
ead82ee581
HAL_Linux: implement millis64() and micros64()
11 years ago
Andrew Tridgell
6450c84987
HAL_Empty: added dummy millis64() and micros64()
11 years ago
Andrew Tridgell
5a55101703
HAL_SITL: added millis64() and micros64()
11 years ago
Andrew Tridgell
7439d34a5d
AP_HAL: add millis64() and micros64() on faster boards
...
this can be used for much simpler scheduling, without any wrap
handling
11 years ago
Andrew Tridgell
d01fa3bfbd
AP_Baro: prevent reading the MS5611 too fast
...
setup the timer start after we've started the conversion to prevent
reading faster than the MS5611 is able to produce values
11 years ago
Andrew Tridgell
b9dc2335ee
HAL_Linux: run timer thread at average 1kHz without drift
...
this avoids drift in the 1kHz timer, to avoid bias in the IMU
filtering
11 years ago
Andrew Tridgell
3c2ab31415
AP_InertialSensor: get rid of data_ready for MPU9250
...
when running off a 1kHz timer and reading at 1kHz it is better to
double sample than it is to skip a sample, as skipping samples will
throw the filter off, whereas a double sample will have minimal effect
11 years ago
Andrew Tridgell
9e01c657e5
AP_InertialSensor: update MPU9250 driver for 1kHz operation
...
use a time base sample wait, with 1kHz sampling
11 years ago
Andrew Tridgell
532e9aace4
AP_InertialSensor: fixed timer bug in HIL sensors
11 years ago
Andrew Tridgell
8f280d212b
HAL_Linux: don't use usleep() in suspend_timer_procs()
...
usleep can cause a large delay with PREEMPT kernel
11 years ago
Andrew Tridgell
94e14f5dcb
HAL_Linux: split off RCOutput class to be specific to PXF and ERLE
...
this fixes the Replay tool
11 years ago
Andrew Tridgell
2ce219aeb8
HAL_Linux: split RCInput class into generic and PRU implementations
...
this will make it easier for other boards (such as NAVIO) to implement
their own RCInput mechanism
11 years ago