Commit Graph

184 Commits

Author SHA1 Message Date
Andrew Tridgell 087a428360 Rover: prepare for 2.41 release 2013-05-07 13:03:18 +10:00
Andrew Tridgell a64d067749 Rover: log GPS packets as they come in 2013-04-28 14:57:19 +10:00
Andrew Tridgell 81b9dad1cd Rover: mark new beta version 2013-04-24 16:20:12 +10:00
Andrew Tridgell fb6b736c78 Rover: print mode as string in logs 2013-04-20 15:18:42 +10:00
Andrew Tridgell 7717cc1450 Rover: added compass logging 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 a8d6fa3107 Rover: fixed dataflash logs to be useful
added sonar and fixed other messages
2013-04-19 10:23:57 +10:00
Andrew Tridgell 0bbddbb877 Rover: added PX4 flash logging 2013-04-17 21:35:40 +10:00
Andrew Tridgell 12c35da9aa Rover: fixed SKID_STEER_IN calculations 2013-03-29 19:43:28 +11:00
Andrew Tridgell ad7e8bd9c4 Rover: added SONAR_DEBOUNCE option
this allows us to debounce the sonar triggering, which will make it
handle noise better
2013-03-29 10:49:08 +11: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 d02a127b7e Rover: change version to 2.40 2013-03-29 09:54:06 +11:00
Andrew Tridgell caf5e5b7c5 Rover: added HOLD mode
used when RTL completes
2013-03-29 08:53:20 +11:00
Randy Mackay 6cb47cee6b Rover: add support for GPS fix type 2D 2013-03-27 11:41:58 +09:00
Andrew Tridgell a88ac50e6c Rover: log the X accel that triggers auto 2013-03-22 11:54:04 +11:00
Andrew Tridgell 3bed733f56 Rover: added AUTO_KICKSTART and AUTO_TRIGGER_PIN options 2013-03-22 09:38:25 +11:00
Andrew Tridgell 47890dfa72 Rover: added dual sonar support 2013-03-22 08:49:51 +11:00
Andrew Tridgell 065cac76c0 Rover: use new sonar enabled flag in object 2013-03-22 07:53:16 +11:00
Andrew Tridgell 0e8407ccbd Rover: put obstacle detection in a structure
easier to extend for multiple sonars
2013-03-22 07:41:36 +11:00
Andrew Tridgell 4991ea73fe Rover: fixed CH_2 and CH_4 RC pass through
fixes issue #158
2013-03-18 18:06:45 +11:00
Andrew Tridgell bb14672dab Rover: fixed PX4 MPU6000 driver for rover 2013-03-16 19:47:09 +11:00
Andrew Tridgell 5ddbad6ccb Rover: remove scaling of voltage pin 2013-03-15 08:40:32 +11:00
Andrew Tridgell af141c2487 Rover: implement RSSI_PIN
route RSSI value from receiver to MAVLink
2013-03-15 08:08:35 +11:00
Andrew Tridgell fc0b50dd82 Rover: reduce throttle more directly
this gives better throttle control in turns and waypoints
2013-03-02 13:51:50 +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 e228bbfebf Rover: implement SONAR_TURN_TIME
keep turning for at least that time
2013-03-01 22:33:11 +11:00
Andrew Tridgell d0f27f8830 Rover: comment/maintainer cleanup 2013-03-01 12:32:48 +11:00
Andrew Tridgell 0873f8d00d Rover: cleanup some old code 2013-03-01 12:29:43 +11:00
Andrew Tridgell 12d73a8662 Rover: use new AP_RangeFinder_analog class 2013-03-01 12:00:48 +11:00
Andrew Tridgell be3b2ee9f8 Rover: cleaned up sonar_trigger_cm parameter 2013-03-01 07:47:26 +11:00
Andrew Tridgell 4de635aa48 Rover: change sonar_dist to sonar_dist_cm
make units clearer
2013-03-01 07:43:51 +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 1cb9f71370 Rover: fixed comments 2013-02-22 07:48:52 +11:00
Andrew Tridgell 582d1c47b3 Rover: added filter to auto steering, and fixed throttle pid 2013-02-08 10:21:30 +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 32d702e912 Rover: fixed logging build errors 2013-01-27 13:04:41 +11:00
Randy Mackay 72414085b2 Rover: logging changes to use new faster packet method 2013-01-26 18:46:16 +09:00
Randy Mackay bb21194fd7 Rover: CUR and CURR renamed to CURRENT in dataflash
Based on user complaint re inconsistency of disabling/enabling and
output in dataflash
2013-01-26 17:41:38 +09:00
Randy Mackay 7bfe659626 Rover: rename RAW dataflash message to IMU 2013-01-26 17:35:18 +09:00
Andrew Tridgell ef35aa63ce Rover: port rover code to PX4 2013-01-02 22:14:35 +11:00
Andrew Tridgell 5a56b845c0 Rover: use GRAVITY_MSS 2013-01-02 14:45:08 +11:00
Craig@3DR 0ed25cf719 Global change all references from
GPS_PROTOCOL_MTK16
to
GPS_PROTOCOL_MTK19
2013-01-02 09:24:31 +11:00
Andrew Tridgell 6f757ed457 Rover: fixup parameter loading 2012-12-20 14:52:35 +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
Pat Hickey a4f1f6a5db AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR 2012-12-20 14:51:28 +11:00
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 cd5ad49417 Rover: switch to IMU driven timing, same as ArduPlane 2012-11-30 07:15:19 +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 aac088dc5b Rover: removed closed loop nav
use a jump in the mission instead
2012-11-28 10:42:10 +11:00
Andrew Tridgell 691d19dd98 Rover: more cleanup, and fixed navigation code
removed loiter code
2012-11-28 09:35:42 +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 283fb7e606 Rover: added support for finish line waypoints
this ensures waypoints complete, even with bad yaw from mag
interference
2012-11-19 07:16:47 +11:00
Andrew Tridgell 16b5b00368 Rover: removed inverted flight support 2012-11-17 18:03:17 +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
Pat Hickey 72fb54e619 APMrover2: fixed build from AP_Menu changes 2012-10-20 11:57:48 -07:00
rmackay9 9c12adba4b ArduRover: fixed compile error related to AP_Semaphore and Dataflash 2012-10-11 16:33:02 +09:00
rmackay9 fcb2ff19bc APMrover2: fixed build
Needed to remove references to MPU6000's CS pin in constructor
2012-09-29 13:55:29 +09:00
Michael Oborne 1ea946b2b4 modify ardurover name to match others 2012-09-24 18:31:47 +08: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 81440a1b09 AHRS: fixed build
AP_Airspeed.h is now needed to build AHRS
2012-08-11 12:22:55 +10:00
Andrew Tridgell dfac01e6f1 AP_Param: updated APMrover2 code for new AP_Param syntax 2012-08-08 12:12:29 +10:00
Andrew Tridgell b1fb2eb71c Rover: changed to auto deltat in Rover code as well 2012-07-06 19:59:18 +10:00
Andrew Tridgell 2e951647c4 Rover: updates for new compass interface 2012-06-27 16:01:50 +10:00
Jean-Louis Naudin d8be428428 APMrover 2.20b: minor update for HIL mode with the new lib
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-06-21 08:10:33 +02:00
Jean-Louis Naudin 846b128075 APMrover 2.0a - improving obstacles detection and tuning
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-06-13 20:43:35 +02: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
Jean-Louis Naudin 84c5a392da APMrover v2.1.6a - small update for LITE version
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-05-20 17:45:07 +02: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
Jean-Louis Naudin 01c4f6105b APMrover 2.1.4 - cosmetic changes
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-05-15 08:00:36 +02: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 5cece403a5 APMrover v2.1.4: compatibility with the latest version of mavlink library...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-05-14 20:33:03 +02: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 602fe6e55a APMrover v2.0b - Special update for rover heading calculation if compass is enabled
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-05-03 13:47:35 +10: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