Changeset 122 in flair-src for trunk/demos/Skeletons/CustomTorques/src
- Timestamp:
- Jan 6, 2017, 1:56:26 PM (8 years ago)
- Location:
- trunk/demos/Skeletons/CustomTorques/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/Skeletons/CustomTorques/src/MyApp.cpp
r43 r122 26 26 using namespace flair::sensor; 27 27 28 MyApp::MyApp( Uav* uav,TargetController *controller): UavStateMachine(uav,controller), behaviourMode(BehaviourMode_t::Default) {28 MyApp::MyApp(TargetController *controller): UavStateMachine(controller), behaviourMode(BehaviourMode_t::Default) { 29 29 start_CustomTorques=new PushButton(GetButtonsLayout()->NewRow(),"start CustomTorques"); 30 30 stop_CustomTorques=new PushButton(GetButtonsLayout()->NewRow(),"stop CustomTorques"); -
trunk/demos/Skeletons/CustomTorques/src/MyApp.h
r43 r122 28 28 class MyApp : public flair::meta::UavStateMachine { 29 29 public: 30 MyApp(flair:: meta::Uav* uav,flair::sensor::TargetController *controller);30 MyApp(flair::sensor::TargetController *controller); 31 31 ~MyApp(); 32 32 -
trunk/demos/Skeletons/CustomTorques/src/main.cpp
r43 r122 45 45 manager->SetupLogger(log_path); 46 46 47 Uav* drone=CreateUav( manager,name,uav_type);47 Uav* drone=CreateUav(name,uav_type); 48 48 TargetEthController *controller=new TargetEthController(manager,"Dualshock3",ds3port); 49 MyApp* app=new MyApp( drone,controller);49 MyApp* app=new MyApp(controller); 50 50 51 51 app->Start();
Note:
See TracChangeset
for help on using the changeset viewer.