Ignore:
Timestamp:
07/27/16 17:39:33 (8 years ago)
Author:
Thomas Fuhrmann
Message:

Cleanup the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mavlink/tools/Controller/Mavlink/src/Mavlink_test.cpp

    r50 r52  
    3838#include "mavlink.h"
    3939
     40#include <iostream>
     41
    4042using namespace flair::core;
    4143using namespace flair::gui;
     
    8082  btn_remove_entrance_wpt = new PushButton(show_wptGroupBox->LastRowLastCol(), "Remove entrance wpt");
    8183  btn_remove_exit_wpt = new PushButton(show_wptGroupBox->LastRowLastCol(), "Remove exit wpt");
    82  
    83 
    84   // label_mission_wpt = new Label(show_wptGroupBox->NewRow(), "Label mission");
    85   // label_mission_wpt->SetText("Mission wpt");
    86   // label_entrance_wpt = new Label(show_wptGroupBox->LastRowLastCol(), "Label entrance");
    87   // label_entrance_wpt->SetText("Entrance wpt");
    88   // label_exit_wpt = new Label(show_wptGroupBox->LastRowLastCol(), "Label exit");
    89   // label_exit_wpt->SetText("Exit wpt");
    90   // label_mission_wpt_list = new Label(show_wptGroupBox->NewRow(), "Label mission list");
    91   // label_entrance_wpt_list = new Label(show_wptGroupBox->LastRowLastCol(), "Label entrance list");
    92   // label_exit_wpt_list = new Label(show_wptGroupBox->LastRowLastCol(), "Label exit list");
    9384
    9485  // Action wpt group
     
    9788  btn_clear_wpt = new PushButton(action_wptGroupBox->LastRowLastCol(), "Clear wpt");
    9889  btn_loop = new PushButton(action_wptGroupBox->LastRowLastCol(), "Loop");
    99 
    100  
    101 
    102   // Put some initial values in the labels
    103   // label_mission_wpt_list->SetText("3/3\n5/3.5\n");
    104   // label_entrance_wpt_list->SetText("1.5/2.5\n6/6.5\n");
    105   // label_exit_wpt_list->SetText("7/7.5\n2/5\n");
    106 
    107   list_mission_wpt->AddItem("toto");
    108   list_entrance_wpt->AddItem("toto");
    109   list_entrance_wpt->AddItem("tata");
    110   list_exit_wpt->AddItem("toto");
    111 
    11290
    11391  mavlinkSocket = new Socket((Thread *)this, "mavlink socket", "127.0.0.1:5000");
Note: See TracChangeset for help on using the changeset viewer.