Andrew Tridgell
f8bce994b5
AP_OpticalFlow: don't write an error message if no flow sensor
...
most users have no flow sensor
10 years ago
Randy Mackay
3c23f00e81
OptFlow: remove ADNS3080 image grabber example
10 years ago
Andrew Tridgell
22a7b69260
AP_OpticalFlow: don't build optical flow example
...
broken by library changes
10 years ago
Andrew Tridgell
ed510d4f87
AP_OpticalFlow: run PX4 flow sensor at 10Hz
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
10 years ago
priseborough
063fb41748
AP_OpticalFlow: Add separate scale factors for X and Y axis.
...
The resolution is also increased to take advantage of the planned introduction of automated calibration methods
10 years ago
priseborough
f4f0dfc45c
AP_OpticalFlow: efficiency improvements to data processing
10 years ago
priseborough
7ec8dfebcf
AP_OpticalFlow : Remove gyro scale factor user adjustable parameter
...
No longer required because bug in flow sensor has been fixed.
10 years ago
priseborough
df59f3311a
AP_OpticalFlow : Add gyro scale factor correction parameter
10 years ago
priseborough
eec49ce1dd
AP_OpticalFlow : Add parameter for flow rate scale factor correction
10 years ago
priseborough
92e9336fe1
AP_OpticalFlow : prevent divide by zero
10 years ago
priseborough
cb4d5986e0
AP_OpticalFlow : Update PX4Flow interface
...
Interface now uses the integral of flow and body rates
10 years ago
priseborough
0d774d301d
AP_OpticalFlow : Remove support for ADNS3080 sensor
...
It is not compatible with the new interface and data fusion requirements
10 years ago
Andrew Tridgell
5ddbcc296d
AP_OpticalFlow: fixed example build
10 years ago
Andrew Tridgell
d84c1cd3e4
AP_OpticalFlow: fixed example build
10 years ago
Randy Mackay
eed6a1ce61
OptFlow: fix example sketch so it compiles
10 years ago
Randy Mackay
a476a914b0
OptFlow_PX4: check healthy before updating
10 years ago
Randy Mackay
f504ea7b30
OptFlow_ADNS3080: check healthy before updating
10 years ago
Randy Mackay
d238f48dda
OptFlowPX4: fix compile error for APM
10 years ago
Randy Mackay
a9cfbb71b8
OptFlowPX4: use ORB to pull data from sensor
...
This change is required because PX4Firmware has changed the method used
to pull data from the sensor.
10 years ago
Randy Mackay
ec4581b35a
OptFlow: add ground_distance_m
10 years ago
Randy Mackay
4b0548973a
OptFlow: add PX4Flow support
10 years ago
Randy Mackay
3c4be75487
OptFlow: reorganise ADNS3080 to simplified interface
10 years ago
Randy Mackay
b64f9ed964
OptFlow: rename and restructure OpticalFlow class
...
AP_OpticalFlow.h becomes simply a file that includes all other optical
flow header files.
OpticalFlow class simplified to only return surface quality, raw output
and velocity vector.
10 years ago
Andrew Tridgell
5025f04cb1
AP_OpticalFlow: fixed example build
11 years ago
Kevin Hester
a7820e6c71
OptFlow: fixup line endings
11 years ago
Randy Mackay
d19b566d97
OptFlow: remove unused variables
...
Saves 24bytes RAM by removing several static variables that were used
only for internal calculations
11 years ago
Bill Bonney
82ea5926a8
OptFlow: update function added to fix compiler error
11 years ago
Randy Mackay
3823eed865
OptFlow: update example sketch to work with shrunken library
11 years ago
Randy Mackay
8caa5159f8
OptFlow: shrink lib by removing unused functions
...
Saves 46bytes of RAM and 1k of flash
11 years ago
Andrew Tridgell
b178ad7344
AP_OpticalFlow: updates for AP_HAL::MemberProc
12 years ago
Andrew Tridgell
f53afaa5ac
AP_OpticalFlow: use new scheduler API
12 years ago
Andrew Tridgell
d64660739e
AP_OpticalFlow: fixed example build
12 years ago
Andrew Tridgell
36ea705956
AP_OpticalFlow: fixed build with print() API change
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
012d7b0c0a
OptFlow: initialisation fix
...
Thanks to DongFang (aka Soren) for finding the issue and the solution
12 years ago
Randy Mackay
4ce4b7aef9
OptFlow: minor commenting and format changes
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
6bd361b9cd
OpticalFlow: make surface_quality uint8_t
12 years ago
Pat Hickey
8503f3e2ae
Optflow: uses new Semaphore
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
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
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago
Andrew Tridgell
8311062610
AP_OpticalFlow: fixed some memory cast warnings
12 years ago
rmackay9
09485ddc5f
AP_OpticalFlow: fix example sketch to work with modified AP_Opticalflow library after memory saves
12 years ago