|
|
|
@ -15,7 +15,7 @@ int main(int argc, char **argv) {
|
|
|
|
ReceiverClass receiver_object;
|
|
|
|
ReceiverClass receiver_object;
|
|
|
|
MissionClass mission_object;
|
|
|
|
MissionClass mission_object;
|
|
|
|
CommandClass command_object;
|
|
|
|
CommandClass command_object;
|
|
|
|
SelectionClass selection_object;
|
|
|
|
// SelectionClass selection_object;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mode_object.set_Mode("GUIDED");
|
|
|
|
mode_object.set_Mode("GUIDED");
|
|
|
|
@ -23,7 +23,7 @@ int main(int argc, char **argv) {
|
|
|
|
control_object.takeoff(4.5);
|
|
|
|
control_object.takeoff(4.5);
|
|
|
|
sleep(5);
|
|
|
|
sleep(5);
|
|
|
|
|
|
|
|
|
|
|
|
selection_object.choose_leader();
|
|
|
|
// selection_object.choose_leader();
|
|
|
|
// mission_object.start(); //default hover in goose formation
|
|
|
|
// mission_object.start(); //default hover in goose formation
|
|
|
|
|
|
|
|
|
|
|
|
while(ros::ok()){
|
|
|
|
while(ros::ok()){
|
|
|
|
|