Changeset 378 in flair-src for trunk/lib/FlairMeta/src/UgvFactory.cpp
- Timestamp:
- Dec 16, 2020, 4:50:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/UgvFactory.cpp
r377 r378 19 19 #include "FrameworkManager.h" 20 20 #include "SimuUgv.h" 21 #include "SumoUgv.h" 21 22 22 23 … … 52 53 } 53 54 return new SimuUgv(name, simu_id); 54 }/* else if (type.compare(0, 7, "x8_simu") == 0) { 55 int simu_id = 0; 56 if (type.size() > 7) { 57 simu_id = atoi(type.substr(7, type.size() - 7).c_str()); 58 } 59 return new SimuX8(name, simu_id,options, multiplex); 60 }*/ else { 55 } else if (type.compare(0, 4, "sumo") == 0) { 56 return new SumoUgv(name); 57 } else { 61 58 getFrameworkManager()->Err("UGV type %s unknown\n", type.c_str()); 62 59 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.