Commit Graph

181 Commits

Author SHA1 Message Date
Andrew Tridgell cabef0ef6c Rover: cleanup build warnings 2013-04-20 13:52:36 +10:00
Andrew Tridgell 7717cc1450 Rover: added compass logging 2013-04-20 13:52:36 +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 947b64dfc4 Rover: fixed turn time in flash logs 2013-04-19 11:03:43 +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 df27b8b35d Rover: fixed logging for new API 2013-04-17 21:34:20 +10:00
tobias 217b8d7a59 cleanup: use const for struct Location pointers and references
this allows the compiler to generate more efficient code
2013-04-09 12:10:32 +10:00
Andrew Tridgell a5fdbadcc2 Rover: use get_pid_4500() to prevent PID overflow
if users set much too large gains
2013-04-01 22:17:05 +11:00
Andrew Tridgell 645bd87b63 Rover: minor parameter documentation updates 2013-03-29 22:46:58 +11:00
Andrew Tridgell 12c35da9aa Rover: fixed SKID_STEER_IN calculations 2013-03-29 19:43:28 +11:00
Andrew Tridgell 3a1e9e43a1 Rover: use new angle wrap code 2013-03-29 13:14:14 +11:00
Andrew Tridgell a8bd8950c8 Rover: enable HOLD with throttle failsafe by default
this is the safest combination
2013-03-29 11:34:42 +11:00
Andrew Tridgell 9eaa764f42 Rover: report smaller of two sonar distances 2013-03-29 11:00:41 +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 0ed3061d32 Rover: added waypoint passed logic to RTL
this prevents circling around home
2013-03-29 10:24:59 +11:00
Andrew Tridgell d02a127b7e Rover: change version to 2.40 2013-03-29 09:54:06 +11:00
Andrew Tridgell e4a4cb59e0 Rover: fixed timeout for obstacle detection 2013-03-29 09:36:54 +11:00
Andrew Tridgell 7c4dfa6698 Rover: fixed speed scaling for steering
it was inverted!
2013-03-29 09:14:58 +11:00
Andrew Tridgell caf5e5b7c5 Rover: added HOLD mode
used when RTL completes
2013-03-29 08:53:20 +11:00
Andrew Tridgell d968a7c7ed Rover: log obstacle events 2013-03-29 08:53:02 +11:00
Andrew Tridgell 7b04747366 Rover: identify as a rover in MAVLink heartbeat message 2013-03-29 08:16:29 +11:00
Andrew Tridgell 829a000aa5 Rover: fixed sonar reset after the turn time
thanks to Tom for finding this
2013-03-29 08:08:14 +11:00
Andrew Tridgell a25fede6bb Rover: added range of sonar distances and voltages 2013-03-29 08:07:24 +11:00
Randy Mackay 6cb47cee6b Rover: add support for GPS fix type 2D 2013-03-27 11:41:58 +09:00
Andrew Tridgell c76f8a5242 Rover: fixed AUTO_KICKSTART GPIO pin handling 2013-03-22 12:31:35 +11:00
Andrew Tridgell a88ac50e6c Rover: log the X accel that triggers auto 2013-03-22 11:54:04 +11:00
Andrew Tridgell ed6d4a1495 Rover: fixed AUTO_KICKSTART parameter markup 2013-03-22 11:22:02 +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 1c52de5f20 Rover: fixed GPS test (detection of uBlox needs 10Hz poll) 2013-03-21 22:45:29 +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 89c85f9c5a Rover: added shell command in CLI test menu 2013-03-20 12:35:56 +11:00
John Stäck c9576e59f9 Add set command to setup menu (and changed show command), same as for ArduCopter. Not included when building for 1280. 2013-03-19 11:40:25 +09: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 0dde0b3551 Rover: initial implementation of skid steering for APMrover2
this adds SKID_STEER_IN and SKID_STEER_OUT parameters for controlling
skid skeering control and output
2013-03-15 11:04:33 +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 2294de85ac Rover: removed INPUT_VOLTS parameter
no longer needed
2013-03-08 10:01:51 +11:00
Andrew Tridgell cf2d99847e Rover: use voltage_average() interface 2013-03-03 16:16:01 +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 6dd549dea8 Rover: removed SONAR_TYPE option
now set the values in the object
2013-03-01 12:59:31 +11:00