From a0cc3bf897c4f78cf27de710ee1ad12873ca5a78 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Sat, 19 Nov 2011 23:16:57 -0800 Subject: [PATCH] renamed set_cmd function --- ArduCopter/test.pde | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ArduCopter/test.pde b/ArduCopter/test.pde index 5a5b3e2568..e83a72a8ee 100644 --- a/ArduCopter/test.pde +++ b/ArduCopter/test.pde @@ -970,38 +970,38 @@ static int8_t // clear home {Location t = {0, 0, 0, 0, 0, 0}; - set_command_with_index(t,0);} + set_cmd_with_index(t,0);} // CMD opt pitch alt/cm {Location t = {MAV_CMD_NAV_TAKEOFF, WP_OPTION_RELATIVE, 0, 100, 0, 0}; - set_command_with_index(t,1);} + set_cmd_with_index(t,1);} if (!strcmp_P(argv[1].str, PSTR("wp"))) { // CMD opt {Location t = {MAV_CMD_NAV_WAYPOINT, WP_OPTION_RELATIVE, 15, 0, 0, 0}; - set_command_with_index(t,2);} + set_cmd_with_index(t,2);} // CMD opt {Location t = {MAV_CMD_NAV_RETURN_TO_LAUNCH, WP_OPTION_YAW, 0, 0, 0, 0}; - set_command_with_index(t,3);} + set_cmd_with_index(t,3);} // CMD opt {Location t = {MAV_CMD_NAV_LAND, 0, 0, 0, 0, 0}; - set_command_with_index(t,4);} + set_cmd_with_index(t,4);} } else { //2250 = 25 meteres // CMD opt p1 //alt //NS //WE {Location t = {MAV_CMD_NAV_LOITER_TIME, 0, 10, 0, 0, 0}; // 19 - set_command_with_index(t,2);} + set_cmd_with_index(t,2);} // CMD opt dir angle/deg deg/s relative {Location t = {MAV_CMD_CONDITION_YAW, 0, 1, 360, 60, 1}; - set_command_with_index(t,3);} + set_cmd_with_index(t,3);} // CMD opt {Location t = {MAV_CMD_NAV_LAND, 0, 0, 0, 0, 0}; - set_command_with_index(t,4);} + set_cmd_with_index(t,4);} }