murata
9ed38eaf7b
AP_OpticalFlow: Change to collected CRC header
6 years ago
Michael du Breuil
b1bc4268a9
AP_OpticalFlow: Remove unused device ID tracking
6 years ago
Randy Mackay
18c3eba829
AP_OpticalFlow: minor format fix to Pixart driver
6 years ago
Peter Barker
e88358ccc6
AP_OpticalFlow: use AHRS singleton
6 years ago
Andrew Tridgell
a1f1e7e435
AP_OpticalFlow: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Peter Barker
9b23b469cf
AP_OpticalFlow: correct compiler warning
...
In file included from
../../libraries/AP_OpticalFlow/AP_OpticalFlow_Pixart.cpp:28:
../../libraries/AP_OpticalFlow/AP_OpticalFlow_Pixart.h:75:13: warning:
private field 'sum_x' is not used [-Wunused-private-field]
int32_t sum_x;
^
../../libraries/AP_OpticalFlow/AP_OpticalFlow_Pixart.h:76:13: warning:
private field 'sum_y' is not used [-Wunused-private-field]
int32_t sum_y;
^
../../libraries/AP_OpticalFlow/AP_OpticalFlow_Pixart.h:77:14: warning:
private field 'last_print_ms' is not used [-Wunused-private-field]
uint32_t last_print_ms;
^
4 warnings generated.
7 years ago
Andrew Tridgell
ead72214ac
AP_OpticalFlow: support SP01 board
7 years ago
Andrew Tridgell
570a05e9d3
AP_OpticalFlow: fixed pixart SPI name
7 years ago
Andrew Tridgell
7c8cf0a39e
AP_OpticalFlow: fixed SPI name for pixart flow sensor
7 years ago
Andrew Tridgell
ddf8523c2b
AP_OpticalFlow: prevent crash on bad device name
7 years ago
Andrew Tridgell
97e88501c6
AP_OpticalFlow: support pixart 3901
8 years ago
murata
d9dbf6e1eb
AP_OpticalFlow: Change from magic number 0 to definition name.
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Andrew Tridgell
06dfbc3e09
AP_OpticalFlow: added common driver for PX4Flow
...
used on Linux and NuttX boards
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
0889b25afa
AP_OpticalFlow: initial code for Pixart optical flow chip
8 years ago