Randy Mackay
fbe0e5dfb3
Copter: add arming check of fence
10 years ago
Andrew Tridgell
f4a9f9876f
HAL_PX4: make usb_connected() more robust
...
thanks to a suggestion from Phillip Kocmoud, this should fix issues
with the XUAV-X2
10 years ago
Randy Mackay
2f8a7f316f
Notify: enable toshibaLED for NAVIO
10 years ago
Staroselskii Georgii
402f46c56f
AP_Airspeed: fixed a typo in the ARSPD_DEFAULT_PIN define
...
There was a redundant elif for Linux builds.
10 years ago
Andrew Tridgell
2eb204d0ca
Replay: added --downsample option
10 years ago
Andrew Tridgell
dd53f5a7a1
Replay: added --nottypes option
10 years ago
Randy Mackay
1d732ddf62
Mount: param desc rename from MAVLink to 3DR Solo
10 years ago
Randy Mackay
07880bf90a
Copter: add TRI yaw servo changes to release notes
10 years ago
mirkix
1b0f482d37
AP_RangeFinder: Add support for HC-SR04 Range Finder connected to BBB
10 years ago
mirkix
38318c4b51
Linux_HAL_Essentials: Add support for HC-SR04 Range Finder
10 years ago
Lucas De Marchi
547dbb3906
Replay: use ARRAY_SIZE macro
10 years ago
Lucas De Marchi
e97034f8e9
ArduPlane: use ARRAY_SIZE macro
10 years ago
Lucas De Marchi
0bc09adc78
ArduCopter: use ARRAY_SIZE macro
10 years ago
Lucas De Marchi
e62c653362
AntennaTracker: use ARRAY_SIZE macro
10 years ago
Lucas De Marchi
8f74d7d982
APMrover2: use ARRAY_SIZE macro
10 years ago
Andrew Tridgell
dee1bf3da3
Replay: show smaller parameter changes
10 years ago
Randy Mackay
d192b3ccea
Compass: set device id for ak8963 and hmc5843
10 years ago
Randy Mackay
5ef4f8e90a
Rover: log ahrs home and ekf origin
10 years ago
Randy Mackay
76ccf4043e
Plane: log ahrs home and ekf origin
10 years ago
Randy Mackay
cfe046c9d1
Copter: log EKF height reset
10 years ago
Randy Mackay
221ddb545e
Copter: log ahrs home and ekf origin
10 years ago
Randy Mackay
ad1f9c4829
DataFlash: add ORGN message
10 years ago
Jakub Oller
e73562140b
Tracker: remove return from mavlink_snoop_static
10 years ago
Randy Mackay
03356a8d3a
OptFlow: fix parameter descriptions
10 years ago
dgrat
f56f584233
Compass: Improved field rounding in learning
...
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
10 years ago
Daniel Frenzel
c49e44d02c
HAL_LInux: RCInput for Navio
...
Cleaned the code a bit
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
10 years ago
kozinalexey
20a04bad77
AP_GPS: request RMC message in NMEA driver
10 years ago
dzollo
5d5d9dc137
AP_GPS: Fix max/min bug on SBP buffering. Log messages whether SBP driver recognizes the msg_type or not.
10 years ago
Lucas De Marchi
efec7723ff
AP_InertialSensor: reset the MPU9250 chip on startup
...
Now that the initialization of MPU9250 is shared between the
AP_InertialSensor and other drivers using it as a backend, we can reset
the MPU9250 in order to put it in a known state.
10 years ago
Lucas De Marchi
1deb837e70
AP_Compass: Use common function in MPU9250 for initialization
10 years ago
Lucas De Marchi
eb4e2ac2e5
AP_InertialSensor: factor out MPU9250 initialization
...
Now we have the initialization code split in 2 parts:
1) Making sure the MPU9250 chip is alive and working: this is now in a
static function that may be called by other drivers that use MPU9250 as
backend.
2) The configuration of gyro and accel. Once the first part is completed
successfully the AP_InertialSensor_MPU9250 finishes the configuration of
the sensors it uses.
The only change in behavior here is that before we would try 25 time (5x
inside _hardware_init time 5x inside _init_sensor() that calls the first
function) to "boot the chip" and now we are doing "only" 5.
10 years ago
Lucas De Marchi
953bfbd3fe
AP_InertialSensor: provide static methods for spi transactions
...
Add static methods to do the SPI transactions and provide the wrapper
methods when we have an instance of the object. This is useful so these
methods can be called from other contexts when the AP_InertialSensor
hasn't been initialized yet.
10 years ago
Lucas De Marchi
fde43a77b3
AP_HAL_Linux: allow to change spi device state
...
Allowing to change the SPI device state allows us to save the
information whether the device was already initialized and avoid 2
separate drivers to initialize it.
10 years ago
Lucas De Marchi
384d650a23
AP_HAL: allow to have spi device state
10 years ago
Staroselskii Georgii
26c8007c96
AP_Compass: updated backend detect method
...
Uses reimplemented AK8963 driver. There's also no need trying to detect this
compass twice. Actually, it might even be bad, because the current code can
allocate an AK8963 object twice.
10 years ago
Staroselskii Georgii
7a417d1151
AP_Compass: AK8963 rework
...
Got rid of extra abstraction layer. There is no need for that now.
10 years ago
mirkix
f82344358f
AP_InertialSensor: Change BBBMINI standard orientation
10 years ago
mirkix
e6363ea95d
AP_HAL_Linux: BBBMINI uses /dev/i2c-2
10 years ago
Lucas De Marchi
b211b86204
AP_HAL_Linux: don't manually define number of spi devices
...
It's error-prone, let's make the compiler define it for us.
10 years ago
Lucas De Marchi
82314ee4a3
AP_Common: add helper macro ARRAY_SIZE
10 years ago
Tom Pittenger
f1ee129423
Plane: compiler warnings
...
- float to double in gcs_send_test (x2)
- float to bool
10 years ago
Andrew Tridgell
1f58e0080a
SITL: fixed some build warnings
10 years ago
Andrew Tridgell
698312a32c
build: added more warnings and errors to SITL build
...
more closely match PX4 build
10 years ago
Andrew Tridgell
8f41d97548
AP_Math: fixed build error on PX4
...
variable set but not used with recent longitude_scale change
10 years ago
Andrew Tridgell
099392d3ca
AP_Math: don't optimise longitude_scale on faster CPUs
...
it causes problems with replay
10 years ago
Andrew Tridgell
bdddfae57f
Replay: don't write out duplicate FMT messages
...
this makes replay output the same as input for when input is a replay
log
10 years ago
Andrew Tridgell
88a90495b2
HAL_SITL: allow for more data before GPS pipe flush
10 years ago
Andrew Tridgell
93800fb3a1
Replay: automatically find message types, and improve rate detection
10 years ago
Andrew Tridgell
21c895f6f3
AP_GPS: prevent extra NMEA messages causing rapid fix rates
...
unexpected messages could cause the GPS driver to report a very high
fix rate, which can confuse the EKF
10 years ago
Andrew Tridgell
b20318aaeb
Replay: remap msgids on pass-through to avoid conflicts
...
if msg IDs have changed since the log was produced they need to be
remapped
10 years ago