Andrew Tridgell
f53afaa5ac
AP_OpticalFlow: use new scheduler API
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Randy Mackay
5bf55a9523
OpticalFlow: switch order of sin_yaw, cos_yaw
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Andrew Tridgell
7d70ff409d
AP_OpticalFlow: use max() macro
12 years ago
Pat Hickey
c393374d4c
AP_OpticalFlow: ported to AP_HAL
...
* 78 wide
* remove SPI.h, SPI3.h, and FastSerial.h dependencies (though not objects)
* gotta totally refactor HAL SPI driver to fix the rest
12 years ago
rmackay9
a1b4531545
AP_OpticalFlow: added ability to pass in semaphores for main spi bus to stop conflicts with dataflash on APM1
12 years ago
rmackay9
ca383b393d
AP_OpticalFlow: use AP_PeriodicProcess to read at 20hz
13 years ago
uncrustify
ce14ba0868
uncrustify libraries/AP_OpticalFlow/AP_OpticalFlow.cpp
13 years ago
Andrew Tridgell
6021daf423
OpticalFlow: adapt optical flow library to new rotation system
13 years ago
Andrew Tridgell
2ab3d2c080
OpticalFlow: fixed line endings
...
this library was a mixture of dos and unix line endings, which makes
for very messy editing
13 years ago
Randy Mackay
33aa6fe13b
Optflow - added reference to FastSerial to resolve compile error on Arduino 1.0.
...
also removed reference to DCM (no longer required) and removed some old code.
13 years ago
Randy Mackay
bbe6dea980
OptFlow - initial support for APM2 (there are still problems) including adding ability to set Chip Select pin.
...
Other unrelated changes are:
a) fixed typo in 'esitmate_velocity' to 'estimate_velocity'.
b) moved init_compass from system.pde to sensors.pde which seemed consistent with other sensors.
13 years ago
rmackay9
c80143b96e
AP_Optflow - small fix to lat/lon calculation and made example sketch work again
14 years ago
Andrew Tridgell
3c69404d5b
fixed build of OpticalFlow code
14 years ago
Jason Short
45778a4e81
added sin and cos yaw from DCM, renamed "get" function because it doesn't return a value.
14 years ago
rmackay9@yahoo.com
d02d4b895c
AP_OpticalFlow - small but important fixes for position calcs
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3040 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
3d641a3b45
AP_OpticalFlow - fixes to position calculations (lat was reversed and would calculate position even with surface quality was very low)
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2913 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
c2ff95371c
AP_OpticalFlow - fixed some bugs in get_position
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2380 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
34c7555fd1
AP_OpticalFlow - added set_orientation
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2245 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
56fd1acc4a
AP_OpticalFlow - first draft of optical flow library for use with experimental ADNS3080 sensor
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1933 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago