Commit Graph

155 Commits

Author SHA1 Message Date
Andrew Tridgell cabef0ef6c Rover: cleanup build warnings 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 9eaa764f42 Rover: report smaller of two sonar distances 2013-03-29 11:00:41 +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 caf5e5b7c5 Rover: added HOLD mode
used when RTL completes
2013-03-29 08:53:20 +11:00
Andrew Tridgell 7b04747366 Rover: identify as a rover in MAVLink heartbeat message 2013-03-29 08:16:29 +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 24094252fd Rover: only enter CLI is link is idle when 3 enters are hit
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:58:12 +11:00
Andrew Tridgell 83d5a64ca8 Rover: change CLI timeout to 20s 2013-03-21 17:34:23 +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
Michael Oborne c2fd7617e1 Send FS state to gcs for AR 2013-02-09 10:11:43 +08: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 6fa5837f71 Rover: fixed mavlink fetch of 16 character parameter 2013-01-21 16:51:50 +11:00
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.
2013-01-16 13:52:01 +11:00
Andrew Tridgell ca1070f10e Rover: fixed a build warning 2013-01-13 20:05:14 +11:00
Andrew Tridgell 1104d45a2c Rover: update for new AP_Param API 2013-01-09 13:30:53 +11: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
Andrew Tridgell 9931009db2 Math: use pythagorous2() in some more places 2012-12-20 15:16:18 +11:00
Pat Hickey 2ad4fed8cd Rover/Copter/Plane: change from vsnprintf to vsnprintf_P 2012-12-20 14:52:38 +11:00
Pat Hickey 2f1846165b ArduRover: use hal's vsnprintf 2012-12-20 14:52:38 +11:00
Andrew Tridgell 1c2a220888 Rover: more mavlink fixes 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
Andrew Tridgell 33e47e2036 Rover: set throttle range from -100 to 100
this allows for reverse
2012-12-18 15:42:11 +11:00
Andrew Tridgell ff9628accf Rover: removed some more plane specific variables 2012-11-29 20:53:21 +11:00
Andrew Tridgell ff41e057d9 Rover: added partial update of waypoints 2012-11-28 09:35:42 +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 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 704da2a5d9 MAVLink: make it possible to enter the CLI over the radio
this only works on the APM2, where UART0 is also the radio port
2012-11-21 14:11:05 +11:00
Andrew Tridgell 39836eabb2 Rover: support 16 character parameter names 2012-11-20 21:39:11 +11:00
Andrew Tridgell 69fbcc8683 MAVLink: fixed accel and gyro sensor offsets in MAVLink 2012-11-20 18:32:26 +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 e04de04cbd Rover: fixed type of payload size 2012-09-25 07:20:54 +10:00
Andrew Tridgell 97aa98015d Rover: added TELEM_DELAY to rover code 2012-08-30 09:36:18 +10:00
Andrew Tridgell dc47074dbd MAVLink: removed the need for Mavlink_compat.h
we have now fully transitioned to MAVLink 1.0, so we no longer need
the compatibility layer and the old names in the code
2012-08-09 12:22:46 +10:00
Andrew Tridgell 2a7b298bbc MAVLink: moved mavlink variables back to library
these were moved to the main sketches to allow for compile time
selection of MAVLink 0.9 vs 1.0. We no longer support 0.9, so we can
move it back, which simplifies some test sketches
2012-08-09 12:06:21 +10:00
Andrew Tridgell dfac01e6f1 AP_Param: updated APMrover2 code for new AP_Param syntax 2012-08-08 12:12:29 +10:00
Jonathan Challinger fc4f111d15 Changed mavlink GLOBAL_POSITION_INT.relative_alt message to correctly return altitude above ground. 2012-07-17 16:15:11 +10:00
Andrew Tridgell 60caaa4b04 MAVLink: remove MAVLink 0.9 protocol support
this simplifies the code a lot. We're not going back to 1.0
2012-07-05 13:00:46 +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
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
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 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