Commit Graph

107 Commits

Author SHA1 Message Date
Andrew Tridgell 1ca1b1e36e Rover: support reboot to bootloader 2013-09-04 11:58:41 +10:00
Andrew Tridgell 1646b9c815 Rover: updates for new notify API 2013-08-30 13:01:35 +10:00
Randy Mackay 814ddcd787 Rover: integrate AP_Notify 2013-08-30 13:01:35 +10:00
Andrew Tridgell 6e52a09e50 Rover: fixed HIL build 2013-07-15 10:30:10 +10:00
Andrew Tridgell 5b88334dbb Rover: added full camera and mount support 2013-07-15 09:57:00 +10:00
Andrew Tridgell a5586ec394 Rover: enable RELAY_* parameters 2013-06-25 12:48:58 +10:00
Andrew Tridgell 6c29a3cd23 Rover: make GPS UART blocking again
until we have support for non-blocking config packets in uBlox
2013-06-11 18:50:26 +10:00
Andrew Tridgell feb539bade Rover: fixed HIL operation
only HIL sensors - removed HIL_MODE_ATTITUDE as it didn't exercise
enough of the code
2013-06-04 11:57:59 +10:00
Andrew Tridgell 2d795ac85a Rover: convert to use AP_Scheduler
this gives us better timing information and scheduling, while also
making the code easier to read
2013-06-04 10:37:05 +10:00
Andrew Tridgell 5a9485a419 Rover: support RCMAP_* mapping for steering/throttle 2013-06-03 19:33:59 +10:00
Andrew Tridgell b58d753344 Rover: make AUTO_TRIGGER_PIN be a push on/push off 2013-05-03 09:20:40 +10:00
Andrew Tridgell 3f9ade2b1f Rover: added INITIAL_MODE option
this should be useful for sparkfun comp
2013-05-03 08:08:30 +10:00
Andrew Tridgell 44dd9ddf74 Rover: updates for new compass API 2013-05-02 12:48:14 +10:00
Andrew Tridgell fb6b736c78 Rover: print mode as string in logs 2013-04-20 15:18:42 +10:00
Andrew Tridgell 8c7a7928d4 Rover: use new StartNewLog() interface 2013-04-20 13:52:36 +10:00
Andrew Tridgell 90f70707b1 Rover: convert to new logging system 2013-04-20 13:52:36 +10:00
Andrew Tridgell caaf32211e Rover: new failsafe logic
this obeys FS_TIMEOUT and FS_ACTION
2013-03-29 10:25:53 +11:00
Andrew Tridgell caf5e5b7c5 Rover: added HOLD mode
used when RTL completes
2013-03-29 08:53:20 +11:00
Andrew Tridgell 3bed733f56 Rover: added AUTO_KICKSTART and AUTO_TRIGGER_PIN options 2013-03-22 09:38:25 +11:00
Andrew Tridgell daa603552b Rover: added new STEERING mode
this makes it easier to tune for auto mode
2013-03-01 22:33:11 +11:00
Andrew Tridgell 12d73a8662 Rover: use new AP_RangeFinder_analog class 2013-03-01 12:00:48 +11:00
Andrew Tridgell 44a279811d Rover: removed old LITE mode
this will be replaced with a AHRS_Lite backend later
2013-03-01 07:40:47 +11:00
Andrew Tridgell 06dd6c2790 Rover: always build sonar code
can use enabled/disabled parameter for runtime control
2013-03-01 07:18:25 +11:00
Andrew Tridgell 52800e52b9 Rover: added 'level' CLI and reboot command 2013-02-22 07:49:07 +11:00
Andrew Tridgell 882f058e7d Rover: don't override declination on startup 2013-02-22 07:14:54 +11:00
Andrew Tridgell 0f239ae92c Rover: reset AHRS trim after levelling 2013-02-20 11:56:38 +11:00
Andrew Tridgell 6cf4d11e33 Rover: cleanup parameter names and remove dead parameters 2013-02-09 20:36:26 +11:00
Andrew Tridgell f1ff27ed08 Rover: major restructuring
this removes a lot of the old arduplane code, and renames a lot of
variables.

This will need a lot more testing and fixup before being usable
2013-02-08 09:21:22 +11:00
Andrew Tridgell aff5b1559d Rover: added SERIAL0_BAUD parameter 2013-01-20 22:12:57 +11:00
Andrew Tridgell c88766850a Rover: ensure ahrs.init() is called 2013-01-13 17:32:48 +11:00
Andrew Tridgell cf8e648558 CLI: fixed accel setup
disable mavlink callback in CLI
2012-12-24 08:51:33 +11:00
Andrew Tridgell 45615e5698 Rover: merge in mavlink updates from ArduPlane 2012-12-20 14:52:35 +11:00
Andrew Tridgell b284d4c21e Rover: first cut at porting rover to AP_HAL 2012-12-20 14:52:34 +11:00
Andrew Tridgell d89c213d42 Rover: update for new ins interface 2012-11-30 07:15:18 +11:00
Andrew Tridgell ff9628accf Rover: removed some more plane specific variables 2012-11-29 20:53:21 +11:00
Andrew Tridgell 5768244671 Rover: more cleanups
get rid of flight_mode_strings and cleanup unused code

switch to using ahrs for have_position
2012-11-29 20:53:20 +11:00
Andrew Tridgell a16ba57467 Rover: cleaned up a bunch more plane cruft
removed elevon and flap support
2012-11-28 09:35:42 +11:00
Andrew Tridgell 54a722158a Rover: fixed cliSerial and clean out more gunk 2012-11-27 21:47:30 +11:00
Andrew Tridgell 24adc1aaa3 Rover: make it possible to run the CLI over a radio link 2012-11-21 21:41:34 +11:00
Andrew Tridgell ebaf1a1ae9 Rover: fixed the sonar
We were not initialising the analog source timer
2012-11-17 18:02:28 +11:00
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
2012-11-17 17:45:30 +11:00
rmackay9 e877a58b60 APMRover: fixes to incorporate accelerometer calibration 2012-11-07 19:21:20 +09:00
Andrew Tridgell 4939d67a1b Rover: updates for new GPS detection 2012-09-17 14:45:47 +10:00
Andrew Tridgell 6d11940ada AHRS: removed Quaternion build support from APM/ACM/rover 2012-08-22 10:42:21 +10:00
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
2012-07-01 15:01:05 +10:00
Andrew Tridgell 09db935874 Rover: a rover moves along its X axis
this allows a rover to work without a compass for yaw control
2012-06-27 16:01:50 +10:00
Andrew Tridgell 2e951647c4 Rover: updates for new compass interface 2012-06-27 16:01:50 +10:00
Jean-Louis Naudin 9355a159fc APMrover v2.20 - use RangeFinder optical SharpGP2Y instead of ultrasonic sonar
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-06-13 08:29:32 +02:00
Andrew Tridgell 93de111837 Rover: fixed the build for MAVLink 1.0
I have no idea if it will actually work, but at least it builds
2012-06-10 19:34:11 +10:00
Andrew Tridgell 940d994efb GPS: Use appropiate GPS_ENGINE settings in APM, ACM and rover 2012-06-10 16:36:18 +10:00
Jean-Louis Naudin 408d3dfa98 APMrover v2.1.6 - Added Speed Booster between wp and soft start
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-05-17 18:42:16 +02:00
Michael Oborne 6a6c8eb708 change rover id to mav_ground 2012-05-16 18:06:40 +08:00
Robert Lefebvre 10b5d758f8 Changed software ID from 0 to 20 for ArduRover V2 Divergence.
Also changed definition of flight mode 2 from Stabilize to Learning.
2012-05-14 15:21:29 -04:00
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>
2012-05-14 17:47:08 +02:00
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>
2012-05-09 07:12:26 +02:00
Jean-Louis Naudin 53cbbfaaa4 APMrover V2.0b - updates about Save_WP
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-05-03 13:47:32 +10:00
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>
2012-04-30 09:17:14 +02:00