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
Andrew Tridgell
45a7c37734
HAL_Linux: added bcast flag for udp broadcast
2015-07-29 16:46:53 +10:00
Andrew Tridgell
eca0940bc7
AP_HAL: allow for broadcast packets on UDP IPv4
2015-07-29 16:46:33 +10:00
Andrew Tridgell
17b5d54f6b
GCS_MAVLink: use a larger log send queue for Linux
...
often on UDP or TCP with more bandwidth
2015-07-29 14:19:47 +10:00
Andrew Tridgell
3e4b0b9869
AP_HAL: added pollout() function to socket API
2015-07-29 14:19:46 +10:00
Andrew Tridgell
b99740cb93
HAL_Linux: sped up UDP transfers by about 25x
...
allow more than 1 packetised transfer per tick
2015-07-29 14:19:46 +10:00
Andrew Tridgell
25fe2b3fb0
AP_GPS: added optional NMEA debug log
...
compile time option for debugging
2015-07-29 11:07:01 +10:00
Grant Morphett
a2e9d0488c
Rover: Implemented loitering at a waypoint if Param1 is non-zero
...
Rover now honours the Param1 setting of a time in seconds for a
NAV_WAYPOINT and the Rover will loiter at that waypoint for that
period of time.
Note that as soon as the Rover reaches that waypoint the loiter timer
will start. If you enter a different mode during this time (HOLD for
instance) the timer resets. If you then switch back to AUTO
mode and the Rover returns to that waypoint it will wait for the
loiter time configured in param1.
2015-07-29 10:08:04 +10:00