Changeset 38 in flair-src for trunk/lib/FlairSensorActuator/src/TargetController.cpp
- Timestamp:
- Jun 23, 2016, 10:15:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/TargetController.cpp
r15 r38 34 34 namespace sensor { 35 35 36 TargetController::TargetController(const FrameworkManager *parent, string name,37 uint8_t priority)38 : Thread(parent, name, priority), IODevice(parent, name) {39 main_tab = new Tab(getFrameworkManager()->GetTabWidget(),name);40 TabWidget *tab = new TabWidget(main_tab->NewRow(), name);41 setup_tab = new Tab(tab, "Reglages");36 TargetController::TargetController(const FrameworkManager* parent,string name,uint8_t priority) : 37 Thread(parent,name,priority),IODevice(parent,name) { 38 main_tab=new Tab(getFrameworkManager()->GetTabWidget(),name); 39 TabWidget* tab=new TabWidget(main_tab->NewRow(),name); 40 setup_tab=new Tab(tab,"Reglages"); 41 SetPeriodMS(20);; //50Hz 42 42 } 43 43 … … 150 150 } 151 151 } 152 } else {153 // Thread::Info("Debug: relax...\n");154 usleep(20000); // 20ms155 152 } 153 WaitPeriod(); 156 154 } 157 155 }
Note:
See TracChangeset
for help on using the changeset viewer.