Commit Graph

11302 Commits

Author SHA1 Message Date
Andrew Tridgell 3277416aeb Plane: fixed relative altitudes and resuming mission
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:12:22 +09:00
Andrew Tridgell 107cc2c126 AP_Mission: added truncate() function
Used when loading a mission while flying

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:12:21 +09:00
Andrew Tridgell 4992e2e2cf Plane: use mission.resume() not mission.start() 2014-03-19 12:12:19 +09:00
Andrew Tridgell d4510d9b9b Plane: altitude for do_set_home() is in meters 2014-03-19 12:12:18 +09:00
Randy Mackay 27969175d9 Plane: bug fix to Loiter after mission completes 2014-03-19 12:12:16 +09:00
Andrew Tridgell acdaf561c8 AP_Mission: fixed typo 2014-03-19 12:12:15 +09:00
Randy Mackay 9b0ae2fcff Rover: use Dataflash lib's Log_Write_Cmd 2014-03-19 12:12:13 +09:00
Randy Mackay f3813593b7 Copter: use Dataflash lib's Log_Write_Cmd 2014-03-19 12:12:11 +09:00
Randy Mackay ebf72f5beb Dataflash: example sketch includes AP_Mission.h 2014-03-19 12:12:10 +09:00
Randy Mackay 790a907811 Plane: use Dataflash lib's Log_Write_Cmd 2014-03-19 12:12:08 +09:00
Randy Mackay 150faafaf4 Dataflash: add Log_Write_Cmd method 2014-03-19 12:12:07 +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 033b7eca9e Plane: integrate variable max num commands 2014-03-19 12:12:02 +09:00
Randy Mackay 7b6906ae3f Copter: integrate variable max num commands 2014-03-19 12:12:01 +09:00
Randy Mackay fcea127537 Plane: CLI uses HAL eeprom storage size definition 2014-03-19 12:11:59 +09:00
Randy Mackay 693ce27bf6 Plane: pass eeprom start to Mission constructor 2014-03-19 12:11:58 +09:00
Randy Mackay b587d0d597 Copter: pass eeprom start to Mission constructor 2014-03-19 12:11:56 +09:00
Randy Mackay 8e117d29eb Mission: test exceeding command storage size 2014-03-19 12:11:55 +09:00
Randy Mackay 9e07070d86 Mission: pass eeprom start into constructor
This allows different storage locations for ArduCopter, Plane and Rover
2014-03-19 12:11:53 +09:00
Randy Mackay 7663c5898e AP_HAL_Boards: board specific storage size definition 2014-03-19 12:11:52 +09:00
Randy Mackay 7b9c3bf707 Rover: call mission.init during startup 2014-03-19 12:11:50 +09:00
Randy Mackay 36a5287de5 Plane: call mission.init during startup 2014-03-19 12:11:49 +09:00
Randy Mackay b718b9070a Copter: call mission.init during startup 2014-03-19 12:11:47 +09:00
Randy Mackay ddc4cd4f18 Mission: add init and check_eeprom_version methods 2014-03-19 12:11:46 +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 6e60730c89 Plane: cli test checks read_cmd success before printing 2014-03-19 12:11:41 +09:00
Randy Mackay ccb2daaed3 Plane: Log_Write_Startup checks success of cmd read before logging 2014-03-19 12:11:40 +09:00
Randy Mackay cc7b1c4e9c Copter: init_home checks cmd read success before logging 2014-03-19 12:11:39 +09:00
Randy Mackay 4c0a31a9dc Mission: init home to zero before writing to eeprom 2014-03-19 12:11:37 +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 df339c05fc Mission: num_commands returns uint16 2014-03-19 12:11:25 +09:00
Randy Mackay 0827506533 Plane: remove unused WAIT_COMMAND 2014-03-19 12:11:24 +09:00
Randy Mackay 53add04d36 Plane: remove some comments in commands_logic.pde 2014-03-19 12:11:22 +09:00
Randy Mackay fa96e9355b Copter: init cmd before saving with Ch7/Ch8 2014-03-19 12:11:21 +09:00
Randy Mackay 802ab79c84 Plane: bug fix for setting flight_stage based on current command 2014-03-19 12:11:19 +09:00
Randy Mackay c4364a8ff5 Plane: remove unused nonnav_command variables
non_nav_command_ID and next_nonnav_command variables removed
2014-03-19 12:11:18 +09:00
Randy Mackay 52a08a5284 Plane: CMD dataflash logs use uint16 for total and num
Also bug fix for Log_Write_Cmd definition when logging disabled
2014-03-19 12:11:16 +09:00
Randy Mackay 0fc36fd244 Copter: CMD dataflash logs use uint16 for total and num 2014-03-19 12:11:15 +09:00
Randy Mackay af186fba05 AP_Common: pack Location structure
This resolves issues storing and retrieving Location to eeprom as part
of AP_Mission
2014-03-19 12:11:13 +09:00
Randy Mackay e60865b715 Mission: example sketch test for set_current_cmd 2014-03-19 12:11:12 +09:00
Randy Mackay 512b378c4a Mission: allow set_current_cmd when mission is not running
Can now be run when mission is complete or stopped.  When mission is
resumed it will begin at the set command.  This command can be either a
nav or do command
2014-03-19 12:11:10 +09:00
Andrew Tridgell f036aa1780 Plane: fixed altitude for takeoff and takeoff heading
fixes for AP_Mission integration

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:11:09 +09:00