Andrew Tridgell
91bbf914f7
RangeFinder: added SONAR_ENABLE boolean to analog sonar object
12 years ago
Christopher Hrabia
744f610409
RangeFinder_I2C: fixed bug with interchanged min max values
...
- add usage of mode-filter and min-max constrain, similar to MaxsonarXL
12 years ago
Andrew Tridgell
2fc922a251
AP_Rangefinder: use voltage_average() interface for generic analog rangefinder
12 years ago
Andrew Tridgell
e4fb54fcc9
RangeFinder: added new AP_RangeFinder_analog
...
this is a generic analog rangefinder, supporting 3 types of functions
between voltage and distance.
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
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
393455cdbb
RangeFinder: fixed example build
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
a4fdfd999c
remove AP_RangeFinder_test: deprecated by AP_HAL
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
a38ce8962e
AP_Rangefinder: ported to AP_HAL. Only officially supports MaxsonarXL.
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
2f8e467ab2
RangeFinder: fixed example build
12 years ago
rmackay9
4bfd3d5a29
AP_RangeFinder_MaxsonarI2CXL: fix compiler error re undefine I2c
12 years ago
rmackay9
f68523b39b
AP_RangeFinder_MaxsonarI2CXL: resolve shadowed variable compiler warning
12 years ago
rmackay9
321d40f73a
AP_RangeFinder: added support for MaxBotix XL I2C sonar
12 years ago
rmackay9
50a4838879
AP_Motors, AP_RangeFinder, Filter: fixes to example sketches
12 years ago
uncrustify
c60cfb33f2
uncrustify libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.h
13 years ago
uncrustify
9c45c74d97
uncrustify libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.h
13 years ago
uncrustify
c6f99a7b6e
uncrustify libraries/AP_RangeFinder/RangeFinder.h
13 years ago
uncrustify
b57832e19b
uncrustify libraries/AP_RangeFinder/RangeFinder.cpp
13 years ago
uncrustify
f8a27802f1
uncrustify libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.cpp
13 years ago
uncrustify
605b3b6de2
uncrustify libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp
13 years ago
uncrustify
5abb025c9e
uncrustify libraries/AP_RangeFinder/examples/AP_RangeFinder_test/AP_RangeFinder_test.pde
13 years ago
Andreas M. Antonopoulos
d4a0cb5db1
Added Michael Pursifull's Maxsonar HRLV model support
13 years ago
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
13 years ago
rmackay9
2b6a10d18b
AP_RangeFinder - changed example sketch to work with new Filter library
13 years ago
rmackay9
f264e29814
AP_RangeFinder - cut over to use new ModeFilter from Filter library
13 years ago
Randy Mackay
ed19c25a97
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).
13 years ago
Randy Mackay
8dee001657
Sonar - changed default pin to A0
13 years ago
Jason Short
b6fc8e519c
AP Rangefinder had some bad characters in it. Converted and cleaned the text files.
13 years ago
Randy Mackay
e070109e21
AP_RangeFinder - change sonar example sketch to use default Sonar PIN for APM2 (A1)
13 years ago
Randy Mackay
67855b207d
Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types
13 years ago
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
13 years ago
Randy Mackay
df1e54ec79
RangeFinder - fixed example sketch so it works again
13 years ago
Randy Mackay
1f53c25577
RangeFinder - small bug fix to initialise prescale variable.
...
Fixed up example sketch so it compiles and works again!
13 years ago
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
13 years ago
James Goppert
0c7c508541
Optional recursion added.
14 years ago
James Goppert
5489b84f8e
Improvements to cmake.
14 years ago
James Goppert
d887a28b91
Added ArduBoat/ ArduRover/ and APO library.
14 years ago
Andrew Tridgell
acb4538073
RangeFinder: use new ADC interface
...
the new interface gives values 8 times as large as previously
14 years ago
unknown
a4e001bbcf
Adding CMake support
14 years ago
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
14 years ago
jasonshort
e1b677a25d
Reworked the filtering algorithm based on Maxbotics recommendations to use a Mode filter
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2965 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
c79ff4f583
doubled Slew rate limiter to 2 m/s max @ 10 hz.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2912 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
a1733ee901
Added a slew rate limit
...
reworked filter, same results, just wanted to get rid of modulus.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2900 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
00222a2e20
temporally revert to prior version of Sonar class to narrow in on a bug.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2708 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
e2d5f7bf82
removed duplicate filter from ADC based input
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2562 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
7809b0ca2a
Massive warning fixes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2089 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago