Randy Mackay
66469d7529
Compass_HMC5843: remove unnecessary i2c semaphore give
2015-08-07 15:50:36 +09:00
Grant Morphett
92a7a3e6ff
Rover: Lets put Rover into BETA - v2.2.51
...
I also made myself the maintainer - ssshhh - don't tell Tridge.
2015-08-06 17:13:30 +10:00
Grant Morphett
103119fe9a
Rover: fixed bug when reverse throttle would increase speed in AUTO
...
Fixed this bug
https://github.com/diydrones/ardupilot/issues/840
If a Rover was in AUTO and the user moved the throttle stick into
reverse past 50% the rover would increase. Basically the throttle
nudge behaviour was the same regardless of whether you moved the
throttle forward or backward.
2015-08-06 17:11:53 +10:00
squilter
c24ba83fb1
Plane: init vehicle capabilities
2015-08-05 16:08:49 +09:00
Randy Mackay
5776620062
DataFlash: consolidate GPS, GPS2 messages
...
Remove unused dgps_numch, dgps_age from GPS2
Add U field (for use) to both GPS and GPS2
2015-08-05 15:46:46 +09:00
Grant Morphett
5044189ac9
Rover: scheduler remaining time loop calc made common
...
Just making the improved scheduler loop remaining time calculation in line with
Plane and Copter.
2015-08-05 15:31:44 +09:00
Andrew Tridgell
7e2e78c1af
AP_AHRS: protect against zero deltat in DCM
...
fixes issue #2657
2015-08-05 15:21:00 +10:00
Randy Mackay
a81d756ce1
AC_WPNav: remove unused definitions
2015-08-05 14:14:55 +09:00
Randy Mackay
fb9cc124c8
AC_WPNav: replace hardcoded 0.02 with pos_control dt
2015-08-05 14:14:54 +09:00
Leonard Hall
8195f45d6c
AC_WPNav: fix spline height loss
2015-08-05 14:14:49 +09:00
Michael du Breuil
c704102dcd
AP_GPS: Default the value of hdop to 99.99 if no value has been read yet.
2015-08-04 22:10:02 +09:00
Randy Mackay
136853a750
Rally: rename RALLY_HOME_INC param to INCL_HOME
...
Also default include-home to 1 only for copter
Also minor formatting and comment changes
2015-08-04 21:25:44 +09:00
KiwiHC16
e0e2ed519c
Rally: add RALLY_HOME_INC param to use Home as a Rally point
2015-08-04 21:25:41 +09:00
Julien BERAUD
39b42a4e6e
AP_Compass_AK8963: suspend timer while reading
...
Protection in case a timer falls while reading data, because it could end up
with corrupted data
2015-08-03 22:50:08 +09:00
Julien BERAUD
0aa2fe7a0b
AP_Compass_AK8963: fix sem handling
...
In case of error or zeroed data, the i2c semaphore wasn't given.
It happened at first startup on Bebop and caused a failure:
"PANIC: failed to take _bus->sem 100 times in a row..."
2015-08-03 20:57:46 +09:00
Leonard Hall
1a583c5382
AP_Motors: calc_roll_pwm based on throttle pwm range
2015-08-03 14:12:49 +09:00
Przemek Lekston
ca915d9928
Plane: fix "logging disabled" build.
2015-08-03 10:07:52 +10:00
squilter
9cfc7a48da
Board_AVR: locate recently-moved boards.txt file in arduino-core
2015-08-03 10:05:13 +10:00
Grant Morphett
c87929e907
Plane: Fix landing to stop divide by zero if params are 0
...
If someone mistakenly puts all 0's in their LAND command then
total_distance will be calculated as 0 and cause a divide by 0 error
below thus crashing ArduPilot. Lets avoid that.
2015-08-03 09:53:48 +10:00
Przemek Lekston
f99b152b1f
Copter: fix logging disabled build
2015-08-01 21:19:17 +09:00
Jakub Oller
06031985cc
Tracker: version to 0.7.2 and update release notes
2015-08-01 20:18:06 +09:00
Randy Mackay
b377d4deac
Tracker: fix initialisation of nav_status
...
Thanks to Jakub Oller for finding the cause. This is a slight
modification upon his fix.
2015-08-01 20:18:03 +09:00
Randy Mackay
9067abc037
AHRS_NavEKF: fix blended accel to use primary accel
2015-08-01 17:19:45 +09:00
squilter
d99c85c1fe
Tracker: init vehicle capabilities
2015-08-01 09:47:35 +09:00
squilter
aa4a7a0b28
Rover: init vehicle capabilities
2015-08-01 09:35:46 +09:00
Randy Mackay
6765aedb5b
Copter: init vehicle capabilities
2015-07-31 14:50:29 +09:00
Randy Mackay
7d2c0079ff
Terrain: set HAL capabilities bit
2015-07-31 14:50:26 +09:00
Randy Mackay
d0aa1a89cd
GCS_MAVLink: retrieve capabilities from HAL
2015-07-31 14:50:22 +09:00
Randy Mackay
810973ce95
HAL: define capability bitmask
2015-07-31 14:50:19 +09:00
squilter
edf5ff1bbe
Copter: add capability bitmask
2015-07-31 14:50:15 +09:00
squilter
c946ce72e8
GCS_MAVLink: add optional param to support capability bitmask
2015-07-31 14:50:10 +09:00
Andrew Tridgell
212898d02b
AP_InertialSensor: don't use INT_STATUS drdy to lower SPI bus speed
...
as pointed out by Lucas in PR#2604 this is probably a bad idea
2015-07-30 14:05:20 +10:00
Grant Morphett
224d45000b
Rover: fixed a bug going into guided and rover still moving
...
When the rover goes into guided mode it sets the current location as
the guided point to goto. If the rover is stationary when this
happens no problem. If however the rover is still rolling (say going
from AUTO to GUIDED) then the rover would go past its guided position
and get confused and begin to circle it. This change resolves that issue.
2015-07-30 12:41:02 +10:00
Grant Morphett
538a077ae8
SITL: fix coverity warning - removed unused variable heli_servos
2015-07-30 12:37:09 +10:00
Grant Morphett
08f5305519
DataFlash: fix coverity warnings - add param init in constructor
2015-07-30 12:37:09 +10:00
Grant Morphett
e2eda97ec6
AP_InertialSensor: fix coverity warnings - param init in construct
2015-07-30 12:37:08 +10:00
Grant Morphett
312184dd13
AP_Baro: coverity fixes - add param init in constructor
2015-07-30 12:37:08 +10:00
Andrew Tridgell
1b13be4ad7
Plane: disable camera logging when camera support disabled
2015-07-30 12:17:48 +10:00
Andrew Tridgell
6e0057778b
Plane: remove unused file
2015-07-30 11:14:39 +10:00
Andrew Tridgell
9f9080983b
Plane: trim out some log msgs on APM2
...
save a bit more flash
2015-07-30 11:14:06 +10:00
Andrew Tridgell
49f7adcc80
Plane: re-enable geofencing on APM2
...
it only just fits ...
2015-07-30 11:04:31 +10:00
Andrew Tridgell
6c07795b63
Plane: added HIL_SUPPORT define
...
disable HIL support on APM2 to save flash space
2015-07-30 11:04:31 +10:00
Andrew Tridgell
087e729748
AP_GPS: re-enable SBAS config on APM2 for uBlox
2015-07-30 11:04:31 +10:00
Andrew Tridgell
9c776736c1
AP_AHRS: use delta_velocity and delta_angle in DCM
...
this prevents an aliasing effect by using the correct delta velocity
time value for each accelerometer sample used
2015-07-30 11:04:31 +10:00
Andrew Tridgell
b6beeb6f2f
AP_GPS: save some memory and code space on APM2 for ublox
...
don't include structures we don't need for low end CPUs
2015-07-30 08:46:20 +10:00
Randy Mackay
8aa7a3cffc
GPS: suppress compile warning
2015-07-29 16:53:18 +09:00
Randy Mackay
be6089e903
GPS: fix compile warning for NMEA logging
2015-07-29 16:53:16 +09:00
Randy Mackay
5732a6a144
Baro: update climb rate only if healthy
2015-07-29 16:32:49 +09:00
Randy Mackay
cc27fb46bf
Copter: arming check that baro is healthy
2015-07-29 16:32:47 +09:00
Randy Mackay
11c9e46ec7
Copter: arming check that accels and gyro are healty
2015-07-29 16:32:45 +09:00