Changeset 52 in flair-src for branches/mavlink/tools
- Timestamp:
- Jul 27, 2016, 5:39:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mavlink/tools/Controller/Mavlink/src/Mavlink_test.cpp
r50 r52 38 38 #include "mavlink.h" 39 39 40 #include <iostream> 41 40 42 using namespace flair::core; 41 43 using namespace flair::gui; … … 80 82 btn_remove_entrance_wpt = new PushButton(show_wptGroupBox->LastRowLastCol(), "Remove entrance wpt"); 81 83 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");93 84 94 85 // Action wpt group … … 97 88 btn_clear_wpt = new PushButton(action_wptGroupBox->LastRowLastCol(), "Clear wpt"); 98 89 btn_loop = new PushButton(action_wptGroupBox->LastRowLastCol(), "Loop"); 99 100 101 102 // Put some initial values in the labels103 // 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 112 90 113 91 mavlinkSocket = new Socket((Thread *)this, "mavlink socket", "127.0.0.1:5000");
Note:
See TracChangeset
for help on using the changeset viewer.