Andrew Tridgell
ad7e8bd9c4
Rover: added SONAR_DEBOUNCE option
...
this allows us to debounce the sonar triggering, which will make it
handle noise better
12 years ago
Andrew Tridgell
e4a4cb59e0
Rover: fixed timeout for obstacle detection
12 years ago
Andrew Tridgell
d968a7c7ed
Rover: log obstacle events
12 years ago
Andrew Tridgell
829a000aa5
Rover: fixed sonar reset after the turn time
...
thanks to Tom for finding this
12 years ago
Andrew Tridgell
47890dfa72
Rover: added dual sonar support
12 years ago
Andrew Tridgell
af141c2487
Rover: implement RSSI_PIN
...
route RSSI value from receiver to MAVLink
12 years ago
Andrew Tridgell
cf2d99847e
Rover: use voltage_average() interface
12 years ago
Andrew Tridgell
12d73a8662
Rover: use new AP_RangeFinder_analog class
12 years ago
Andrew Tridgell
44a279811d
Rover: removed old LITE mode
...
this will be replaced with a AHRS_Lite backend later
12 years ago
Andrew Tridgell
06dd6c2790
Rover: always build sonar code
...
can use enabled/disabled parameter for runtime control
12 years ago
Andrew Tridgell
6cf4d11e33
Rover: cleanup parameter names and remove dead parameters
12 years ago
Andrew Tridgell
b284d4c21e
Rover: first cut at porting rover to AP_HAL
12 years ago
Andrew Tridgell
abc0a1cd38
Rover: major update, fixing lots of bugs
...
This removes a lot of the ArduPlane specific cruft left over from the
initial Rover import from ArduPlane, plus fixes a bunch of serious
bugs. For example, the rover was unable to use either compass or gps
for heading - it used just gyros!
There is still a lot of cruft left, but this at least gives a bit
better basis for future work
12 years ago
Andrew Tridgell
82ede937e7
AnalogSource: convert analogRead() calls to the new API
...
this should give us much better analog values, plus save a bunch of
CPU time
13 years ago
Jean-Louis Naudin
9355a159fc
APMrover v2.20 - use RangeFinder optical SharpGP2Y instead of ultrasonic sonar
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
4a4402556b
APMrover v2.1.3 :
...
Added option (hold roll to full right + SW7 ON/OFF) to init_home during the wp_list reset
Add ROV_SONAR_TRIG (default = 200 cm) - tested by Franco
Restart_nav() added and heading bug correction, tested OK in the field
RTL then stop update - Tested OK in the field
Added SONAR detection for obstacle avoidance
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
899e6e66b0
APMrover v2.0c - tested with APM v2 full kit (Oilpan) - dualversion (IMUless + IMUfull)
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
77eea3a893
APMrover v2.0 - tested on Traxxas Monster Jam Grinder XL-5 3602
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Doug Weibel
762a5550de
Remove a debugging print
13 years ago
Doug Weibel
69c7598db2
Update battery monitoring code for ArduPlane
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
13 years ago
Andrew Tridgell
cd3729d993
APM: added error checking on barometer read
...
if the barometer is dead and the GPS has a fix, use the GPS for
altitude
13 years ago
Andrew Tridgell
df094ce463
fixed airspeed sensor for ArduPlane on APM2
...
we were trying to use a non-existant ADC chip!
13 years ago
Andrew Tridgell
0a7332b6e3
airspeed: smooth the airspeed value a bit more
...
the value is very noisy in my tests. A bit more smoothing may help
13 years ago
Andrew Tridgell
011110e1dd
airspeed: use floating point values and better averaging in zero_airspeed()
...
this makes the calibration of airspeed a bit more accurate, and
prevents truncation of airspeed values
13 years ago
Andrew Tridgell
d5c23c83cf
apm2: fixed for new barometer code
13 years ago
Pat Hickey
f7a9b8a563
ArduPlane: LED digital writes use LED_OFF and LED_ON
13 years ago
Michael Oborne
7ef51f723d
Sensor hil fix's
14 years ago
Andrew Tridgell
e61d742345
GCS: make the two GCS links gcs0 and gcs3
...
the artifical separation between 'gcs' and 'hil' just leads to
confusion. This also simplifies the code a bit more, and saves us a
bit more text
14 years ago
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
14 years ago
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
14 years ago