Randy Mackay
3d646a26e2
AP_HAL_SITL: calls to terrain:height_amsl provide extrapolate and corrected params
9 years ago
Randy Mackay
1c4b2be16a
AC_WPNav: simplify use of terrain to just current location
9 years ago
Randy Mackay
c5a3781507
AC_WPNav: accept terrain library reference
9 years ago
Randy Mackay
e23c869c5d
AC_WPNav: fix reporting of set_wp_destination failure
9 years ago
Randy Mackay
9fbfea951a
AC_WPNav: spline handles terrain altitudes
9 years ago
Randy Mackay
8b2c479d62
AC_WPNav: straight line waypoints accept terrain
9 years ago
Randy Mackay
cd999a2091
Location: initial class implementation
9 years ago
Randy Mackay
83922f9b65
AP_Terrain: update comments for height_terrain_difference_home
9 years ago
Randy Mackay
d84321be2e
AP_Terrain: height_amsl can correct for non-zero terrain alt at home position
9 years ago
Randy Mackay
7474e827ce
AP_Terrain: get_statistics made public
9 years ago
AndersonRayner
74b9f624a3
Added temperature to the Airspeed.cpp example script
...
Fixed the formatting of the output data
9 years ago
Niti Rohilla
8fcf5cf0c1
Changed the prototype of handle_guided_request() to report error
...
while setting guided points.
9 years ago
Lucas De Marchi
6839ee4f37
AP_OpticalFlow: remove trailing whitespaces
9 years ago
Lucas De Marchi
5a52533084
AP_OpticalFlow: move bus definition to AP_HAL header
9 years ago
Ricardo de Almeida Gonzaga
46fb57fcf1
AP_OpticalFlow: use I2CDevice interface
9 years ago
Andrew Tridgell
68e17af070
SITL: allow for changing FlightAxis controller IP
9 years ago
Andrew Tridgell
e428d1e72d
SITL: support tricopter quadplanes
9 years ago
Andrew Tridgell
ff96085bd3
AP_Motors: allow arbitrary motor mapping with tricopters
9 years ago
Andrew Tridgell
4908350ccb
AC_WPNav: limit WPNAV_ACCEL to that implied by ANGLE_MAX
...
this prevents an overshoot and backtracking in the navigation code
when WPNAV_ACCEL is unachievable due to an angle limit
9 years ago
Andrew Tridgell
c7664291f9
AC_AttitudeControl: fixed comment on function
9 years ago
Andrew Tridgell
23a64e1227
AC_AttitudeControl: fixed accel limit trigonometry
...
Leonard had mentioned the limit should be tan(angle) not sin(angle). I
noticed this one was wrong.
9 years ago
Andrew Tridgell
9e01d7de6c
SITL: added support for "quad-fast" frame
...
much more powerful copter for testing nav at high speed
9 years ago
Staroselskii Georgii
60426faa52
AP_HAL_Linux: changed ADC logic a bit for Navio 2
...
- make voltage_average_ratiometric() the same as voltage_average()
- make read_latest() the same as voltage_average()
wip
9 years ago
Staroselskii Georgii
3feade792a
AP_Airspeed: changed default pin for Navio boards
...
Use channel 5 (i.e. /sys/kernel/adc/ch5) for Airspeed sensors instead of virtual 65 that doesn't
make sense on these boards.
9 years ago
Peter Barker
e83b10cbc5
AP_HAL: move definition of callbacks structure out of C linkage
...
This fixes all the examples which use the AP_HAL_MAIN macro.
9 years ago
Rustom Jehangir
4a10156b13
AP_HAL_Linux: Fix RCInput::read from stopping at any zero channel
...
This bug led to issues for us so it may help others to resolve it.
Currently, the AP_HAL_Linux RCInput::read(uint16_t*,uint8_t) function
only returns the first x nonzero channels. Once it hits a channel that
is set to zero, it stops and all remaining channels are returned as
zero, even if they are set. This causes discrepancies between the raw RC
input sent to the GCS and the RC input that is actually used on the
vehicle.
The fixes this issue and makes it behave exactly as it does on the
PX4_HAL code. We ran into this issue when sending rc_override messages
in which there were some channels set to zero.
9 years ago
Andrew Tridgell
197e72acc0
GCS_MAVLink: fixed null termination bug
...
found with ASAN
9 years ago
Andrew Tridgell
69e233a39d
AP_GPS: fixed init string for SBF GPS
...
coverity #125042
9 years ago
Andrew Tridgell
785ad0614a
SITL: fixed coverity 125055
9 years ago
Andrew Tridgell
ed4e8b635a
SITL: fixed fd leak
...
coverity #125056
9 years ago
Andrew Tridgell
97d27ce58f
AP_Math: fixed memory leak
...
found by coverity
9 years ago
Andrew Tridgell
847483d744
SITL: fixed coverity warning
9 years ago
Andrew Tridgell
be41d402b5
AP_InertialSensor: added set of delta angle time for replay
9 years ago
Andrew Tridgell
bcefb45e0a
DataFlash: added DelaT to delta-angle logs
9 years ago
Andrew Tridgell
4401cbec72
AP_InertialSensor: cope with zero delta angle time from Replay
9 years ago
Michael du Breuil
831ae72908
AP_Mission: Remove DO_SET_PARAMETER
9 years ago
mirkix
6e546ba181
AP_HAL_Linux: Fix compiler warning unused hal
9 years ago
mirkix
b381045d5e
AP_HAL: BBBmini rework for dual MPU9250 and external HMC5843 compass
9 years ago
mirkix
c3a6a56ebb
AP_InertialSensor: Add second MPU9250 autodetection to BBBmini
9 years ago
mirkix
3df5a02448
AP_Compass: Add HMC5843 and second AK8963 autodetection to BBBmini
9 years ago
mirkix
2aba5a4643
AP_HAL_Linux: BBBmini add second MPU9250
9 years ago
Randy Mackay
f70072c54b
AP_AccelCal: check return of get_calibrator
...
resolves compiler warning
9 years ago
Randy Mackay
39560f9af8
DataFlash: remove unused num_format_types and _structures
...
resolves compiler warning
9 years ago
Randy Mackay
6ef735c41e
AP_RSSI: use fabsf instead of abs
...
resolves compiler warning
9 years ago
Randy Mackay
7af9892bd1
AP_MotorsMatrix: make const a float
...
resolves compiler warning
9 years ago
Randy Mackay
a50f5bfaf8
AP_L1_Control: replace fabsf with labs
...
resolves a compiler warning
9 years ago
Randy Mackay
b2153fb97f
AP_L1_Control: remove unused _xtrackVelPos
9 years ago
Randy Mackay
58e65c836f
HAL_Linux: remove unused pru_chan_map from RCOutput
9 years ago
Randy Mackay
d6d5bac419
RCInput_UART: remove unused _count, _direction
...
resolves a compiler warning
9 years ago
Randy Mackay
3c7b2232b0
AP_GPS_GSOF: remove unused last_hdop
...
resolves a compiler warning
9 years ago