rmackay9
00279c6d3a
AP_OpticalFlow: change Serial.print to Serial.print_P to save 27 bytes
2012-10-22 16:37:24 +09:00
rmackay9
a7d9e181d3
AP_OpticalFlow: added ability to pass in semaphores for main spi bus to stop conflicts with dataflash on APM1
2012-10-18 17:02:45 +09:00
Pat Hickey
e8cceff543
AP_OpticalFlow_ADNS3080: has private AP_Semaphore* _semaphore
...
Semaphore can be null, handled correctly if it is. Rather than check for
which SPI bus the sensor is using, just check whether semaphore is not null
before using it. More general and flexible.
2012-10-09 11:35:59 -07:00
rmackay9
9ef95d59ba
AP_OpticalFlow: modified to use AP_Semaphore for SPI3 bus when required
2012-10-06 12:41:42 +09:00
rmackay9
d0177688b4
AP_OpticalFlow: save and restore SPI bus speed to remove conflict with dataflash that runs at 8Mhz
2012-09-28 17:29:45 +09:00
Andrew Tridgell
b39cc974dc
OpticalFlow: fixed SITL build
2012-09-25 07:10:22 +10:00
rmackay9
99eaa37a38
AP_OpticalFlow_ADNS3080: detect if optical flow sensor is on standard or secondary SPI bus
2012-09-24 18:39:12 +09:00
uncrustify
8f5c22d448
uncrustify libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp
2012-08-21 19:04:09 -07:00
rmackay9
026cd4e64f
AP_OpticalFlow - moved most pin definitions into .cpp file
2012-04-21 20:09:15 +09:00
rmackay9
99cdc69110
AP_OpticalFlow - small bug fix to ensure init attempts to read the product id 3 times before giving up
2012-03-28 22:00:57 +09:00
Andrew Tridgell
7aa6ba2c86
OpticalFlow: fixed line endings
...
this library was a mixture of dos and unix line endings, which makes
for very messy editing
2012-03-11 15:37:07 +11:00
Randy Mackay
98f3386ea0
Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h".
...
Modified FastSerial's write function to return size_t (number of bytes written).
2012-01-28 12:25:47 +09:00
Randy Mackay
13caa24515
Optical Flow - added overflow check
2012-01-25 21:45:52 +09:00
Randy Mackay
4e9c668315
OpticalFlow - bug fix - highest resolution was incorrectly set as 1200 instead of 1600
2012-01-14 12:34:29 +09:00
Randy Mackay
ff66a3417c
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.
2011-12-30 12:06:31 +09:00
Andrew Tridgell
67630d42e7
opticalflow: use the right path for SPI.h
2011-10-09 22:40:00 +11:00
Andrew Tridgell
a13c68a404
fixed build of OpticalFlow code
2011-09-17 14:58:02 +10:00
Jason Short
5d61e9289c
added sin and cos yaw from DCM, renamed "get" function because it doesn't return a value.
2011-09-16 19:24:57 -07:00
rmackay9@yahoo.com
998b00693c
AP_OpticalFlow - small but important fixes for position calcs
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3040 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-07 13:19:18 +00:00
rmackay9@yahoo.com
f096d8cb23
OpticalFlow - add check to see if sensor has initialised correctly.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2974 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-31 04:31:36 +00:00
rmackay9@yahoo.com
4ce3cb9be8
AP_OpticalFlow - added set_orientation
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2245 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-11 12:49:19 +00:00
rmackay9@yahoo.com
8d1f9c9fd9
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
2011-04-30 08:29:28 +00:00