Lucas De Marchi
b83708f77f
AP_HAL: use ARRAY_SIZE macro
10 years ago
Lucas De Marchi
9d59b43920
AP_GPS: use ARRAY_SIZE macro
10 years ago
Lucas De Marchi
4a595bd797
APM_Control: use ARRAY_SIZE
10 years ago
Lucas De Marchi
fb2eb262e7
AP_Math: use ARRAY_SIZE instead of defining another one
10 years ago
Randy Mackay
73ff01dc68
AP_Notify: replace unsigned int with uint8_t
10 years ago
Lucas De Marchi
1bba105be4
AP_Notify: don't manually define number of notify devices
...
Like b211b86
(AP_HAL_Linux: don't manually define number of spi devices)
did for spi.
10 years ago
Peter Barker
65813f308e
DataFlash: fix incorrect comment
10 years ago
Randy Mackay
8225e58454
AP_Motors: throttle_min method in 0 to 1000 range
...
Previously the pwm range value was returned. This value is only used by
the multicopter attitude controller's angle boost function.
10 years ago
Randy Mackay
6bf6442396
MotorsMatrix; protect against divide by zero
...
This should never happen but just to be safe
10 years ago
Randy Mackay
fa60c3dce8
MotorsCoax: fix output_armed_stabilized min thr limit
10 years ago
Randy Mackay
8a308205ce
MotorsSingle: fix output_armed_stabilized min thr limit
10 years ago
Randy Mackay
bd9a605086
MotorsTri: fix output_armed_stabilized min thr limit
...
_min_throttle is in the pwm range but was being used as if in the 0 to
1000 range
10 years ago
Randy Mackay
e53c46bd8f
MotorsMatrix: fix output_armed_stabilized min thr limit
...
_min_throttle was being used as if it were in the 0 to 1000 range when
in fact it is in the pwm range. This meant the lower limit was too low.
10 years ago
Jean-Baptiste Dubois
7dcfe1c667
RCOutput_Bebop: group channels write
10 years ago
Andrew Tridgell
3b1b7ea029
AP_GPS: fixed time handling with NMEA driver
10 years ago
Julien BERAUD
a852e48f37
AP_GPS_NMEA: fix gps startup
...
when no valid gps data, gps would restart in a loop. Take the frame without
gps fix into account for frame counting
10 years ago
John Hsu
14e462706d
SITL: added gazebo SITL shim
10 years ago
John Hsu
c34ddb7fb8
HAL_SITL: added gazebo SITL model support
10 years ago
Randy Mackay
a61129f7f8
GCS_MAVLink: add support for send_mission_item_reached
10 years ago
Randy Mackay
766ccea3be
Mission: fix bug causing first do-cmd to be run many times
...
The symptom was that if the very first command in the mission was a
do-command, it would be run after every nav-command that didn't have
another do-command before it.
10 years ago
Randy Mackay
429346f4bc
AP_Mission: add missing breaks to case statement
10 years ago
Randy Mackay
0acfcbfa81
NavEKF: use primary compass instead of first instance
...
Thanks very much to staroselskii for finding this bug
10 years ago
Randy Mackay
cedc9a8670
Compass: add last_update_usec per instance
10 years ago
Andrew Tridgell
69cfe11455
AP_Arming: raise accel arming threshold to 0.75
...
arming issues due to accel inconsistency are too common
10 years ago
Andrew Tridgell
18de1c2c47
GCS_MAVLink: send AHRS2 even if we don't have a secondary position
10 years ago
Andrew Tridgell
6009ae55b1
AP_Math: fixed build of eulers example sketch
10 years ago
Randy Mackay
cc0ab26f5d
Mount: fix init of mode
...
Mode was being set from MNT_DEFTL_MODE parameter before that parameter's
value had been initialised from eeprom
10 years ago
Jean-Baptiste Dubois
9e5d13c1de
RCOutput_Bebop: use CLOCK_MONOTONIC instead of CLOCK_REALTIME
...
CLOCK_MONOTONIC is not affected by discontinuous jumps in the system time.
10 years ago
Robert Lefebvre
14882bc6a8
AC_AttitudeControl: Remove unused takeoff jump #define
10 years ago
Robert Lefebvre
e1902e2289
AP_MotorsHeli: Remove unused _dt variable.
10 years ago
Randy Mackay
7d2fe3cc2b
AP_GPS_UBlox: remove unused member
10 years ago
Randy Mackay
2c33250bee
AP_GPS_UBlox: send_next_rate_update always runs all steps
...
Moving the if, endif checks within the case statement ensures the state
machine goes through all 10 states
10 years ago
Randy Mackay
4b015d2091
AP_GPS: remove compiler warnings
10 years ago
Randy Mackay
df3a04e284
AP_GPS: reduce fake Ublox hdop to 130
10 years ago
Andy Piper
5ccc58ffb4
AP_GPS: Read actual hDOP value from UBLOX messages
...
Before we were reading the position DOP and calling it hDOP. Since the
other drivers actualy read hDOP it seem best to do the same.
Fixes issue 462.
10 years ago
Paul Riseborough
610595bfb9
AP_NavEKF: Prevent position drift between arming and takeoff when using OF
10 years ago
Randy Mackay
2b4aaf2368
SITL: add vibe monitor and SIM_ACC2_RND to sitl
10 years ago
Paul Riseborough
8b4b0b9576
AP_NavEKF: Add accelerometer clip monitoring and isolation
...
Isolates an accelerometer that is clipping and attempts to use the one that is clipping less.
10 years ago
Staroselskii Georgii
72820303d4
AP_HAL_Linux: set higher SPI speed for Navio
...
We can set a higher speed on newer Linux kernels since
52469b2a38
.
The older ones will just floor the value.
10 years ago
Peter Barker
0028910428
AP_InertialNav: take reference to variable we are trying to update
...
There are no callers to this function. Perhaps it should be removed?
10 years ago
Andrew Tridgell
4e0c2c5a9b
AP_HAL: defined default log and terrain directories for bebop
...
the /var filesystem is wiped on boot on Bebop. Use these as a
temporary workaround
10 years ago
Andrew Tridgell
6df33dd3f4
AP_InertialSensor: fixed MPU6000_SPI bus initialisation
...
we need _spi for get_semaphore()
10 years ago
Julien BERAUD
954ec71630
HAL_Linux: added rcout implementation for bebop
10 years ago
Julien BERAUD
51c3c499e2
AP_Compass: support AK8963 on I2C
10 years ago
Julien BERAUD
0b41da0dea
AP_Compass: rework to make the bus generic for AK8963
...
Supporting only MPU9250, prepare to implement another bus, i.e i2c on the
bebop
10 years ago
Julien BERAUD
0cd584c293
AP_Compass: fix rotation for bebop AK8963
...
Set the correct rotation for bebop
10 years ago
Julien BERAUD
7dd0b5fae6
AP_Compass: removed _spi_sem and _spi
10 years ago
Julien BERAUD
d407737434
AP_Baro: added MS5607 support
10 years ago
Julien BERAUD
3cf952d1f8
AP_InertialSensor: add fifo support for MPU6000
...
And remove the use of data rdy in this case
10 years ago
Julien BERAUD
8a76ff53bd
AP_InertialSensor: add i2c bus driver for MPU6050
10 years ago