Paul Riseborough
5d70854c08
AP_NavEKF: Fix minor bug in calculation of innovation variance
...
the innovation variance for GPS should be the sum of squares of the state and measurement uncertainty.
10 years ago
Paul Riseborough
1008c6390c
AP_NavEKF: Fail absolute position status if GPS repeatedly rejected
10 years ago
Paul Riseborough
77d3798278
AP_NavEKF: Reduce recovery time after a GPS fusion timeout
10 years ago
Paul Riseborough
0852aeab6e
AP_NavEKF: Allow raw innovations to be monitored during timeouts
10 years ago
Paul Riseborough
d3f4b4a02b
AP_NavEKF: Fix name consistency for data check time stamps
10 years ago
Andrew Tridgell
f4537f4dec
PX4: updated bootloaders to current version
10 years ago
Jonathan Challinger
4e09c9832b
Copter: fix guided_posvel and guided_vel to update pos_control at same rate as wpnav
10 years ago
Jonathan Challinger
6ea91d012e
AC_PID: calculate filt_alpha every time the filter is run
10 years ago
Randy Mackay
55d8f440d4
Copter: fix alt sent to fence_check to be meters
10 years ago
Randy Mackay
f06c859d93
AC_Fence: add comment re check_fence method
10 years ago
Jonathan Challinger
be8c118b63
Copter: change altitude fence to work on home altitudes instead of origin altitudes
10 years ago
Jonathan Challinger
05fda4ee4c
AC_Fence: accept curr_alt parameter instead of getting alt from inav
10 years ago
Jonathan Challinger
0f9e50d61c
Copter: fix rtl completion altitude
10 years ago
Jonathan Challinger
b344a7ed17
Copter: fix set_position_target altitudes
10 years ago
Jonathan Challinger
301d4cc4a6
Copter: fix guided takeoff altitude
10 years ago
Jonathan Challinger
920ac12214
Copter: pv_location_to_vector use pv_alt_above_origin
10 years ago
Jonathan Challinger
e5a6023827
Copter: pass inertial_nav to fence
10 years ago
Jonathan Challinger
f06cc5d0c1
AC_Fence: change inav to const reference
10 years ago
Jonathan Challinger
fddaca4cf7
Copter: rename get_throttle_surface_tracking to get_surface_tracking_climb_rate
10 years ago
Hamish Willee
568e4c4d0e
Update README.md
...
Ensure we only have to document the instructions in one place
10 years ago
Staroselskii Georgii
dff430e136
AP_HAL_Linux: added UART port for second GPS
10 years ago
Staroselskii Georgii
da6316ed4c
AP_HAL_Linux: fixed TCP client connection in LinuxUARTDriver
10 years ago
Randy Mackay
39213584da
AC_WPNav: minor comment and formatting changes
10 years ago
Jonathan Challinger
fd55068620
AC_WPNav: fix double-twitch on stop in loiter
10 years ago
Jonathan Challinger
1da410a6c6
AC_WPNav: allow user to tune loiter
10 years ago
Michael du Breuil
867ca05e17
Plane: fix a relative altitude check for glide slope building
10 years ago
Michael du Breuil
4b1d71e390
Plane: rebuild the glide slope if we are above it and already climbing
...
(controlled by GLIDE_SLOPE_THR)
10 years ago
mirkix
13ee34c58a
AP_InertialSensor: MPU9150 fix compiler warnings
10 years ago
Michael Day
0279fdb0de
Plane: Never trigger fence breach in LAND_FINAL flight stage.
10 years ago
Staroselskii Georgii
4a3e61f4e4
AP_GPS: turn UBlox autodetection only for NavIO
10 years ago
Staroselskii Georgii
716fd56c62
AP_HAL_Linux: added support for dynamic speed configration in LinuxSPIUARTDriver
10 years ago
Staroselskii Georgii
47a336d192
AP_GPS: added Ublox' hardware generation autodetection
10 years ago
Staroselskii Georgii
baf2b4da4e
AP_HAL_Linux: renamed AnalogIn_Navio
10 years ago
Mikhail Avkhimenia
7ba6a5e346
AP_HAL: Specify terrain directory for Navio
10 years ago
Staroselskii Georgii
930aeaf556
AP_HAL_Linux: add RPi version runtime detection
10 years ago
Mikhail Avkhimenia
c11304ba7a
AP_HAL_Linux: change GPIO register address for Raspberry Pi 2
10 years ago
Staroselskii Georgii
641fa05028
AP_HAL_Linux: added buffering in RCOutput_Navio
10 years ago
Staroselskii Georgii
e6c2977da2
AP_HAL_Linux: fixed style in RCOutput_Navio
10 years ago
Staroselskii Georgii
024825f95a
AP_HAL_Linux: fixed PCA9685 initialization for RCOutput_Navio
10 years ago
Staroselskii Georgii
2a137b6ea9
AP_HAL_Linux: fixed RCInput initialization on NavIO
10 years ago
Sean O\'Brien
6474aa2477
AP_HAL_AVR_SITL: added sensor delays to sitl.
10 years ago
Sean O\'Brien
bfba8870e2
AP_HAL_AVR_SITL: added sensor delays to sitl.
10 years ago
Lucas De Marchi
b292873304
AP_InertialSensor: fix starvation in L3G4200D
...
The main thread would always be blocked on the semaphore to read the
data from accelerometer and gyroscope. Especially if we have a slow
update of these values in _accumulate() due to the I2C transfer function
taking too much time: the timer thread would never give up the CPU,
causing starvation on the main thread.
This fixes the issue by reducing the critical region using a flip-buffer
so _accumulate() can work on its own copy of the data. Now that the
critical region is smaller, also avoid the semaphore and use a spinlock
instead.
10 years ago
Andrew Tridgell
b17878c8c4
SITL: lower default GPS delay to 0.2 seconds
...
this matches typical uBlox
10 years ago
Andrew Tridgell
d7249cc1e6
AP_AHRS: only use EKF for plane and rover if all data available
...
we need position and velocity to be working for plane and rover
10 years ago
Lucas De Marchi
996739df12
AP_Compass: Do not panic if compass is not found
...
Copter uses 2 compasses for linux configuration, but one of them may not
be available. Do not panic if a AK8963 isn't found.
10 years ago
Gustavo Jose de Sousa
be67b019a7
AP_GPS: Add missing setup for GPS_AUTO_test
...
GPS_AUTO_test was missing some setup lines.
10 years ago
Andrew Tridgell
7f7d92913e
HAL_Linux: allow running as non-root
...
this is needed for Replay, plus is very useful for debugging
10 years ago
Lucas De Marchi
f049c8e4c5
AP_HAL_Linux: remove needless call to mlockall()
...
All threads share the same address space and have the same pages locked
into memory so it's not necessary to call mlockall() for each of them.
Grepping /proc/<tid>/status gives the same VmLck for all of them, even
when only the main thread locks the memory:
# for i in `seq 477 482`; do \
name=$(cat /proc/$i/comm); \
vm=$(cat /proc/$i/status |grep VmLck); \
echo -e "$name\t$vm"; \
done
ArduCopter.elf VmLck: 57868 kB
sched-timer VmLck: 57868 kB
sched-uart VmLck: 57868 kB
sched-rcin VmLck: 57868 kB
sched-tonealarm VmLck: 57868 kB
sched-io VmLck: 57868 kB
10 years ago
Lucas De Marchi
b7355dc62b
AP_HAL_Linux: set thread name for ease debug
...
Use pthread_setname_np() to set thread name so it's easier to debug
what't going on with each of them. This is the example output of the
relevant par of "ps -Leo class,rtprio,wchan,comm":
FF 12 futex_ ArduCopter.elf
FF 15 usleep sched-timer
FF 14 hrtime sched-uart
FF 13 poll_s sched-rcin
FF 11 hrtime sched-tonealarm
FF 10 hrtime sched-io
10 years ago