- Timestamp:
- Jul 15, 2021, 2:44:03 PM (3 years ago)
- Location:
- trunk/lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/SimuUgv.cpp
r377 r435 19 19 #include "SimuUgv.h" 20 20 #include <SimulatedUgvControls.h> 21 #include <FrameworkManager.h> 21 22 22 23 using std::string; … … 32 33 33 34 SetUgvControls(new SimulatedUgvControls("controls", simu_id,0)); 34 35 getFrameworkManager()->AddDeviceToLog(GetUgvControls()); 35 36 36 37 } -
trunk/lib/FlairMeta/src/SumoUgv.cpp
r378 r435 19 19 #include "SumoUgv.h" 20 20 #include <SumoUgvControls.h> 21 #include <FrameworkManager.h> 21 22 22 23 … … 32 33 33 34 SetUgvControls(new SumoUgvControls("controls")); 34 35 getFrameworkManager()->AddDeviceToLog(GetUgvControls()); 35 36 36 37 } -
trunk/lib/FlairSensorActuator/src/SimulatedUgvControls.cpp
r377 r435 70 70 } 71 71 output->ReleaseMutex(); 72 73 output->SetDataTime(GetTime()); 74 ProcessUpdate(output); 72 75 } 73 76 -
trunk/lib/FlairSensorActuator/src/SumoUgvControls.cpp
r378 r435 51 51 } 52 52 53 54 53 void SumoUgvControls::SetControls(float speed,float turn) { 55 54 sumoControl->move(speed*127, turn*127); … … 60 59 output->SetValueNoMutex(1, 0, turn); 61 60 output->ReleaseMutex(); 61 62 output->SetDataTime(core::GetTime()); 63 ProcessUpdate(output); 62 64 } 63 65 -
trunk/lib/FlairSensorActuator/src/UgvControls.h
r377 r435 85 85 */ 86 86 void UpdateFrom(const core::io_data *data){}; 87 87 88 88 gui::Tab *mainTab; 89 89 };
Note:
See TracChangeset
for help on using the changeset viewer.