Andrew Tridgell
50db4d362d
AC_PrecLand: use new in-tree IRLock driver
8 years ago
Andrew Tridgell
c6ea451c56
AP_IRLock: new in-tree IRLock driver on I2C
8 years ago
Andrew Tridgell
22717f23be
AP_OpticalFlow: apply yaw for flow in all drivers
8 years ago
Andrew Tridgell
06dfbc3e09
AP_OpticalFlow: added common driver for PX4Flow
...
used on Linux and NuttX boards
8 years ago
Andrew Tridgell
52715c5d16
AP_OpticalFlow: fixed default pixart flow scaling
8 years ago
Andrew Tridgell
9b93e12bbb
AP_OpticalFlow: retry config register write up to 5 times
8 years ago
Andrew Tridgell
ea462d80e6
AP_OpticalFlow: added _applyYaw method to backend
...
for common handling of yaw correction
8 years ago
Andrew Tridgell
abc42c737c
AP_OpticalFlow: added update function for Pixart flow driver
8 years ago
Andrew Tridgell
0be1b1aac2
AP_OpticalFlow: give access to AHRS from all backends
8 years ago
Andrew Tridgell
def6e014cf
HAL_SITL: removed old optflow simulation
8 years ago
Andrew Tridgell
42435e700b
SITL: expose height above ground to all models
8 years ago
Andrew Tridgell
2e2f8ad8cf
AP_OpticalFlow: added SITL flow driver as normal driver
...
move away from HAL_SITL embedded drivers
8 years ago
Andrew Tridgell
a96ed8c188
AP_HAL: added virtual destructor for Semaphores
8 years ago
Andrew Tridgell
0889b25afa
AP_OpticalFlow: initial code for Pixart optical flow chip
8 years ago
Randy Mackay
54a87ad35c
AP_Proximity: set minimum boundary distance
...
AC_Avoidance will not stop if it thinks the vehicle is on or outside the polygon. Setting a minimum distance ensures the vehicle is always within the polygon.
8 years ago
Randy Mackay
57ae14ab4c
AP_Proximity: add get distances, distance_max, distance_min
...
These are used to send distance-sensor messages to the ground station
8 years ago
Randy Mackay
b46cc623a0
AC_Avoidance: adjust_velocity_polygon accepts body-frame points
8 years ago
Randy Mackay
55d79d9a32
AC_Avoidance: proximity sensor method re-uses polygon fence boundary code
8 years ago
Randy Mackay
cdee68174d
AC_Avoidance: rename adjust_velocity_polygon_fence
8 years ago
Randy Mackay
79280036de
AC_Avoidance: rename adjust_velocity_circle_fence method
8 years ago
Randy Mackay
40c4e75ae7
AC_Avoidance: remove unnecessary const float arguments
8 years ago
Randy Mackay
6293fa1595
AP_Proximity: add boundary points for object avoidance
...
This returns a fence which can be used for object avoidance by AC_Avoidance
8 years ago
Randy Mackay
26332251f5
AP_Proximity: add ignore areas
...
Only SF40c uses these ignore areas for now at least.
It is safe to increase the eeprom locations for the 2nd proximity instance because we only define a single instance.
8 years ago
Randy Mackay
87dea46f5d
AP_Proximity: add get_closet_object for use in pre-arm checks
8 years ago
Randy Mackay
a56c9545bd
AP_Proximity: SITL driver filles in backend sector data
8 years ago
Randy Mackay
f594a5a7d6
AP_Proximity: move sectors to backend
...
This prepares for sectors to be re-used by the SITL driver
8 years ago
Andrew Tridgell
f9845c93b1
AP_InertialSensor: keep transfers nicely setup for DMA on stm32
...
this avoids using stack based bounce buffers which may not support DMA
on stm32
8 years ago
Andrew Tridgell
37a9a78725
HAL_PX4: avoid bounce buffers for SPI when possible
8 years ago
Andrew Tridgell
f3d401abb9
HAL_PX4: fixed FMUv1 build
8 years ago
Andrew Tridgell
df60b4252a
HAL_PX4: reduced noise in PX4 console
8 years ago
Andrew Tridgell
771cedca3d
AP_InertialSensor: reduced number of SPI transfers
...
use cached copy of temperature in MPU6000 and MPU9250 to detect FIFO
error when possible
8 years ago
Andrew Tridgell
fdc94ec28a
AP_HAL: fixed frequency init for register checking
8 years ago
Tom Pittenger
40777e9e74
AP_Mission: move jump_to_landing_sequence() to AP_Mission
8 years ago
Tom Pittenger
d4d186058d
AP_Landing: move jump_to_landing_sequence() to AP_Mission
8 years ago
Tom Pittenger
1a70e2f353
AP_Landing: new param LAND_TYPE to split current behavior into AP_Landing_Slope.cpp
8 years ago
Tom Pittenger
c7bbb6998a
TECS: set landing params as private and use accessors
8 years ago
Tom Pittenger
fe4cd7bbbd
AP_Landing: set landing params as private and use accessors
8 years ago
Tom Pittenger
98ae77d6a3
AP_Landing: Migrate the rest of "LAND_" params from Plane to AP_Landing
8 years ago
Tom Pittenger
d53b177877
AP_Landing: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
9035dcbbc5
AP_TECS: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
15ec551990
AP_Vehicle: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
8f36fe7705
AP_Landing: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
fc84c61672
AP_Landing: add const to all possible vars in function calls
8 years ago
Tom Pittenger
fc2f518f31
Plane: revert auto_state.checked_for_autoland back to Plane
8 years ago
Tom Pittenger
3814b5a38b
AP_Landing: resorted functions so they line up with plane/landing for easier compare
8 years ago
Tom Pittenger
75e625fd30
AP_landing: port the rest of plane/landing.cpp
8 years ago
Tom Pittenger
9a79b79f1e
AP_Landing: port more from plane
8 years ago
Tom Pittenger
10027b21d6
Plane/AP_Landing: port setup_landing_glide_slope()
8 years ago
Tom Pittenger
f556f705e6
Plane: move various g params to aparms
8 years ago
Tom Pittenger
d2376b7c8b
Plane: migrate two helper functions to AP_Landing
...
- move functions restart_landing_sequence() and jump_to_landing_sequence() to AP_Landing
- NOTE: jump_to function can not set mode, so it is now done externally in vehicle
8 years ago