Commit Graph

412 Commits

Author SHA1 Message Date
Andrew Tridgell
4ac529a0dd Rover: support 18 input channels in MAVLink 2014-03-25 14:47:43 +11:00
Andrew Tridgell
ce3ed33649 Rover: support 14 RC channels on PX4 2014-03-25 14:47:05 +11:00
Andrew Tridgell
843318f58c Rover: updates for new RCInput API 2014-03-25 14:47:02 +11:00
Andrew Tridgell
d1a650a527 Rover: updates for GPS changes 2014-03-24 12:04:58 +11:00
Andrew Tridgell
bf4566095a Rover: report unhealthy compass if primary compass unhealthy 2014-03-24 07:03:35 +11:00
Andrew Tridgell
552674389d Rover: enable logging of RADIO_STATUS 2014-03-20 09:56:37 +11:00
Andrew Tridgell
3d167b5420 Rover: use should_log() for more log msgs 2014-03-19 14:18:12 +11:00
Randy Mackay
9ff5ba3c3f Rover: integrate Mission cmd field changes 2014-03-19 12:14:27 +09:00
Andrew Tridgell
8da72fccba Rover: use common deferred message handling 2014-03-19 12:14:18 +09:00
Andrew Tridgell
c8eafc4d42 Rover: use common MISSION_ITEM handling 2014-03-19 12:14:14 +09:00
Andrew Tridgell
0aafef9f69 Rover: use new common MAVLink message handlers 2014-03-19 12:13:41 +09:00
Randy Mackay
a90a10b0ca Rover: use common GCS_MAVLink handle_mission methods 2014-03-19 12:13:24 +09:00
Andrew Tridgell
c7c8a36620 Rover: use new handle_mission_request() function
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:13 +09:00
Randy Mackay
de119e07bb Rover: remove do_takeoff, do_change_alt support 2014-03-19 12:13:07 +09:00
Randy Mackay
59555e8364 Rover: revert next_WP, prev_WP to location structures 2014-03-19 12:13:04 +09:00
Randy Mackay
204eb8b7d3 Rover: use mission command specific structure 2014-03-19 12:13:00 +09:00
Randy Mackay
df5c874f73 Rover: fix to support uploading partial missions 2014-03-19 12:12:58 +09:00
Randy Mackay
954e10b26f Rover: integrate dataflash Log_Write_MavCmd 2014-03-19 12:12:48 +09:00
Randy Mackay
9b0ae2fcff Rover: use Dataflash lib's Log_Write_Cmd 2014-03-19 12:12:13 +09:00
Randy Mackay
7ff379850c Rover: integrate variable max num commands 2014-03-19 12:12:05 +09:00
Randy Mackay
fdec917607 Rover: pass eeprom start to Mission constructor 2014-03-19 12:12:04 +09:00
Randy Mackay
7b9c3bf707 Rover: call mission.init during startup 2014-03-19 12:11:50 +09:00
Randy Mackay
923dca0cb8 Rover: Log_Write_Startup checks success of cmd read before logging 2014-03-19 12:11:44 +09:00
Randy Mackay
0a7d33a1da Rover: cli test checks read_cmd success before printing 2014-03-19 12:11:43 +09:00
Randy Mackay
5ccfa247ac Rover: remove unused definitions 2014-03-19 12:11:36 +09:00
Randy Mackay
29340c68bd Rover: Mission integration for cli test 2014-03-19 12:11:34 +09:00
Randy Mackay
1a70ffdeee Rover: Mission integration for ch7 save waypoint 2014-03-19 12:11:33 +09:00
Randy Mackay
c83733048f Rover: Mission integration into dataflash Logging 2014-03-19 12:11:31 +09:00
Randy Mackay
4ca3a92655 Rover: Mission integration into command execution 2014-03-19 12:11:30 +09:00
Randy Mackay
df1b2e1192 Rover: Mission integration with GCS_Mavlink.pde 2014-03-19 12:11:28 +09:00
Randy Mackay
192286f04d Rover: create Mission object 2014-03-19 12:11:27 +09:00
Randy Mackay
26b82cf0a3 Rover: use common location options masks 2014-03-19 12:10:23 +09:00
Andrew Tridgell
18686ab671 Rover: fixed comment 2014-03-13 16:26:14 +11:00
Andrew Tridgell
e7b0e32bfe Rover: set 2nd GPS as secondary 2014-03-08 21:48:23 +11:00
Andrew Tridgell
148fd889bc Rover: fix for X8R receiver on SBUS in failsafe
the X8R briefly gives PWM of 874 on all channels when the receiver is
setup as "no pulses" failsafe handling. This was interpreted as switch
position 0, which was AUTO for me.

This change rejects pulse widths below 900 for mode changes
2014-03-08 19:27:50 +11:00
Andrew Tridgell
7104bdf855 Rover: support k_steering channel 2014-03-05 12:57:51 +11:00
Andrew Tridgell
989b26899f Rover: enable EKF detailed logging 2014-03-03 09:03:48 +11:00
Andrew Tridgell
8740ccfc61 Rover: only send GPS2_RAW when we have a 2nd GPS 2014-03-03 07:05:42 +11:00
Andrew Tridgell
87ea98fe2c Rover: disable GPS2 in HIL 2014-02-27 08:16:11 +11:00
Andrew Tridgell
82ffc0ff2b Rover: support a 2nd GPS 2014-02-26 09:24:23 +11:00
Andrew Tridgell
50f89d0aa6 Rover: pass fix type to gps->setHIL() 2014-02-25 21:11:06 +11:00
Andrew Tridgell
11028c665d Rover: removed unused variables
thanks to Mike McCauley
2014-02-24 18:48:55 +11:00
Andrew Tridgell
eac4b1ec96 Rover: fixed EKF usage for rover
added barometer object, and use shared home object from AHRS. This
gives basic EKF operation.
2014-02-24 09:25:50 +11:00
Andrew Tridgell
203073e3ba Rover: only use pivot steering in AUTO modes 2014-02-24 08:23:20 +11:00
Andrew Tridgell
4ed2630f4f Rover: fix for HIL API change 2014-02-23 08:18:15 +11:00
Randy Mackay
bb0995f7d8 Rover: add EKF params to full param list 2014-02-21 13:51:34 +09:00
Andrew Tridgell
532f06073a Rover: set the ahrs.set_armed() flag 2014-02-19 10:54:04 +11:00
Andrew Tridgell
2ba994b040 Rover: allow for a wider range of values on the control switch 2014-02-17 13:58:11 +11:00
Andrew Tridgell
4e2d5043ba Rover: added PIVOT_TURN_ANGLE parameter
this allows skid steering rovers to turn on the spot for sharp turns
2014-02-17 10:11:40 +11:00
Andrew Tridgell
aeb7578e5d Rover: change to Compass::learn_offsets 2014-02-16 13:22:20 +11:00