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.
2012-12-20 14:51:19 +11:00
Andrew Tridgell
2f8e467ab2
RangeFinder: fixed example build
2012-11-24 21:08:25 +11:00
rmackay9
321d40f73a
AP_RangeFinder: added support for MaxBotix XL I2C sonar
2012-11-12 00:25:29 +09:00
rmackay9
50a4838879
AP_Motors, AP_RangeFinder, Filter: fixes to example sketches
2012-11-08 00:29:43 +09:00
uncrustify
5abb025c9e
uncrustify libraries/AP_RangeFinder/examples/AP_RangeFinder_test/AP_RangeFinder_test.pde
2012-08-21 19:04:10 -07:00
rmackay9
4dd4c95d5c
AP_AnalogSource_Arduino: fix to allow analog port to be read to be specified as a "channel" (i.e. A0)
...
Also fixed example range finder sketch to work with interrupt enabled AP_AnalogSource_Arduino class
2012-07-11 21:19:17 +09:00
rmackay9
2b6a10d18b
AP_RangeFinder - changed example sketch to work with new Filter library
2012-02-28 21:02:10 +09:00
rmackay9
f264e29814
AP_RangeFinder - cut over to use new ModeFilter from Filter library
2012-02-26 15:34:50 +09:00
Randy Mackay
8dee001657
Sonar - changed default pin to A0
2012-01-26 22:50:48 +09:00
Randy Mackay
e070109e21
AP_RangeFinder - change sonar example sketch to use default Sonar PIN for APM2 (A1)
2011-12-18 14:15:50 +09:00
Randy Mackay
67855b207d
Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types
2011-12-11 16:40:59 +09:00
Randy Mackay
fa0723f115
ArduCopter - removed limitation on Maxbotix sonar type requiring ADC so it can work with APM2.
...
modified default analog pin in test sketch to be AN4 which is consistent with APM2 default
2011-12-10 18:33:30 +09:00
Randy Mackay
df1e54ec79
RangeFinder - fixed example sketch so it works again
2011-12-10 16:32:34 +09:00
Pat Hickey
f36ded2854
RangeFinder: rework to use AnalogSource library
...
this removes the hacks that check for the ADC object, and instead
choose the method of getting the analog sonar value via the
AnalogSource API
2011-11-25 20:00:16 -08:00
rmackay9@yahoo.com
0e15cecfb4
AP_RangeFinder - removed LV version because we use XL which covers both types of sonars
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3237 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:55:58 +00:00
james.goppert
7809b0ca2a
Massive warning fixes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2089 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-04 19:12:27 +00:00
jasonshort
0e8d3781d3
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1953 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 04:54:15 +00:00
james.goppert@gmail.com
c1b6032e7f
Eclipse makefile support for examples.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1860 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-09 19:38:12 +00:00
rmackay9@yahoo.com
1448b6991e
AP_RangeFinder_test.pde - corrected some inaccurate comments in the code
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1459 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-09 14:20:26 +00:00
rmackay9@yahoo.com
ef673e5162
AP_RangeFinder - changes to allow sonar to work using pitot tube. Also moved most functionality into RangeFinder class instead of child classes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1404 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-03 04:17:43 +00:00
rmackay9@yahoo.com
9eb889d30d
AP_RangeFinder - added support for MaxsonarLV and corrected some descriptions and links for the other rangefinders
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1234 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 01:23:10 +00:00
rmackay9@yahoo.com
c2db64116a
AP_RangeFinder - bug fix for cases when analog value is zero.
...
- addition of filter call which averages the past 4 values
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1224 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-21 12:34:24 +00:00
rmackay9@yahoo.com
173afc91d1
AP_RangeFinder library. Simple library to support the Sharpe IR range finder and the Maxsonic XL sonar
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1147 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-17 03:01:29 +00:00