Andrew Tridgell
282efe2d57
AP_Baro: fixed example to run accumulate at 50Hz
2015-07-10 09:59:35 +10:00
Andrew Tridgell
338ae68537
autotest: allow run without $PATH setup
2015-07-09 14:06:03 +10:00
Andrew Tridgell
01eb27908f
autotest: fixed typo
2015-07-09 11:59:24 +10:00
Andrew Tridgell
c83d5b1f08
AP_Compass: only build AK8963 driver on Linux
...
must match MPU9250 build
2015-07-09 11:57:27 +10:00
Andrew Tridgell
7f425a97a3
autotest: use current autotest directory if possible
2015-07-09 11:53:46 +10:00
Andrew Tridgell
f2106f39aa
Replay: save CHEK messages when not being generated
2015-07-09 10:20:45 +10:00
Randy Mackay
2e6b6e473a
Copter: fix home_distance calculation
...
Distance was calculated vs EKF origin instead of AHRS home
2015-07-08 15:27:59 +09:00
Randy Mackay
290cdcf6fb
Copter: check fence when disarmed
...
this allows catching fence breaches as part of arming checks
2015-07-08 15:27:57 +09:00
Randy Mackay
fbe0e5dfb3
Copter: add arming check of fence
2015-07-08 15:27:54 +09:00
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
2015-07-08 11:19:07 +10:00
Randy Mackay
2f8a7f316f
Notify: enable toshibaLED for NAVIO
2015-07-07 20:08:19 +09:00
Staroselskii Georgii
402f46c56f
AP_Airspeed: fixed a typo in the ARSPD_DEFAULT_PIN define
...
There was a redundant elif for Linux builds.
2015-07-07 21:02:21 +10:00
Andrew Tridgell
2eb204d0ca
Replay: added --downsample option
2015-07-07 15:55:41 +10:00
Andrew Tridgell
dd53f5a7a1
Replay: added --nottypes option
2015-07-07 15:14:05 +10:00
Randy Mackay
1d732ddf62
Mount: param desc rename from MAVLink to 3DR Solo
2015-07-07 13:29:24 +09:00
Randy Mackay
07880bf90a
Copter: add TRI yaw servo changes to release notes
2015-07-07 13:29:22 +09:00
mirkix
1b0f482d37
AP_RangeFinder: Add support for HC-SR04 Range Finder connected to BBB
2015-07-07 08:00:33 +10:00
mirkix
38318c4b51
Linux_HAL_Essentials: Add support for HC-SR04 Range Finder
2015-07-07 08:00:32 +10:00
Lucas De Marchi
547dbb3906
Replay: use ARRAY_SIZE macro
2015-07-07 07:56:30 +10:00
Lucas De Marchi
e97034f8e9
ArduPlane: use ARRAY_SIZE macro
2015-07-07 07:56:30 +10:00
Lucas De Marchi
0bc09adc78
ArduCopter: use ARRAY_SIZE macro
2015-07-07 07:56:30 +10:00
Lucas De Marchi
e62c653362
AntennaTracker: use ARRAY_SIZE macro
2015-07-07 07:56:29 +10:00
Lucas De Marchi
8f74d7d982
APMrover2: use ARRAY_SIZE macro
2015-07-07 07:56:29 +10:00
Andrew Tridgell
dee1bf3da3
Replay: show smaller parameter changes
2015-07-07 07:56:17 +10:00
Randy Mackay
d192b3ccea
Compass: set device id for ak8963 and hmc5843
2015-07-06 21:04:46 +09:00
Randy Mackay
5ef4f8e90a
Rover: log ahrs home and ekf origin
2015-07-06 13:28:10 +09:00
Randy Mackay
76ccf4043e
Plane: log ahrs home and ekf origin
2015-07-06 12:11:56 +09:00
Randy Mackay
cfe046c9d1
Copter: log EKF height reset
2015-07-06 12:11:54 +09:00
Randy Mackay
221ddb545e
Copter: log ahrs home and ekf origin
2015-07-06 12:11:51 +09:00
Randy Mackay
ad1f9c4829
DataFlash: add ORGN message
2015-07-06 12:11:49 +09:00
Jakub Oller
e73562140b
Tracker: remove return from mavlink_snoop_static
2015-07-06 12:11:47 +09:00
Randy Mackay
03356a8d3a
OptFlow: fix parameter descriptions
2015-07-06 11:37:38 +09:00
dgrat
f56f584233
Compass: Improved field rounding in learning
...
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2015-07-06 11:31:58 +10:00
Daniel Frenzel
c49e44d02c
HAL_LInux: RCInput for Navio
...
Cleaned the code a bit
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2015-07-06 11:19:33 +10:00
kozinalexey
20a04bad77
AP_GPS: request RMC message in NMEA driver
2015-07-06 11:16:12 +10:00
dzollo
5d5d9dc137
AP_GPS: Fix max/min bug on SBP buffering. Log messages whether SBP driver recognizes the msg_type or not.
2015-07-06 10:53:35 +10:00
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.
2015-07-06 10:48:07 +10:00
Lucas De Marchi
1deb837e70
AP_Compass: Use common function in MPU9250 for initialization
2015-07-06 10:48:07 +10:00
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.
2015-07-06 10:48:07 +10:00
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.
2015-07-06 10:48:07 +10:00
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.
2015-07-06 10:48:06 +10:00
Lucas De Marchi
384d650a23
AP_HAL: allow to have spi device state
2015-07-06 10:48:06 +10:00
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.
2015-07-06 10:48:06 +10:00
Staroselskii Georgii
7a417d1151
AP_Compass: AK8963 rework
...
Got rid of extra abstraction layer. There is no need for that now.
2015-07-06 10:48:06 +10:00
mirkix
f82344358f
AP_InertialSensor: Change BBBMINI standard orientation
2015-07-06 10:12:39 +10:00
mirkix
e6363ea95d
AP_HAL_Linux: BBBMINI uses /dev/i2c-2
2015-07-06 10:09:21 +10:00
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.
2015-07-06 10:07:22 +10:00
Lucas De Marchi
82314ee4a3
AP_Common: add helper macro ARRAY_SIZE
2015-07-06 10:07:21 +10:00
Tom Pittenger
f1ee129423
Plane: compiler warnings
...
- float to double in gcs_send_test (x2)
- float to bool
2015-07-06 09:30:19 +10:00
Andrew Tridgell
1f58e0080a
SITL: fixed some build warnings
2015-07-06 09:21:49 +10:00