#include <SMURFLoader.h>
|
unsigned int | unzip (const std::string &destinationDir, const std::string &zipFilename) |
|
Definition at line 44 of file SMURFLoader.h.
◆ SMURFLoader()
◆ ~SMURFLoader()
mars::smurf::SMURFLoader::~SMURFLoader |
( |
| ) |
|
◆ checkEncodings()
void mars::smurf::SMURFLoader::checkEncodings |
( |
| ) |
|
◆ CREATE_MODULE_INFO()
mars::smurf::SMURFLoader::CREATE_MODULE_INFO |
( |
| ) |
|
◆ getLibName()
const std::string mars::smurf::SMURFLoader::getLibName |
( |
| ) |
const |
|
inlinevirtual |
◆ getLibVersion()
int mars::smurf::SMURFLoader::getLibVersion |
( |
| ) |
const |
|
inlinevirtual |
◆ loadEntity()
void mars::smurf::SMURFLoader::loadEntity |
( |
configmaps::ConfigVector::iterator |
it, |
|
|
std::string |
path |
|
) |
| |
|
virtual |
Loads a URDF, SMURF or SMURFS (SMURF scene) file.
- Parameters
-
filename | The name of the file to be loaded as a full path. |
tmpPath | The path to the temporary directory to which files should be unzipped if the file format requires it. |
robotname | This parameter is obsolete with URDF and SMURF and was only needed for MARS scenes. It may be removed in the future. |
- Returns
- 1 if the file was successfully loaded, 0 otherwise
Definition at line 304 of file SMURFLoader.cpp.
◆ loadFile()
bool mars::smurf::SMURFLoader::loadFile |
( |
std::string |
filename, |
|
|
std::string |
tmpPath, |
|
|
std::string |
robotname |
|
) |
| |
|
virtual |
◆ parseSVG()
unsigned int mars::smurf::SMURFLoader::parseSVG |
( |
std::vector< configmaps::ConfigMap > * |
configList, |
|
|
std::string |
sceneFilename |
|
) |
| |
◆ saveFile()
int mars::smurf::SMURFLoader::saveFile |
( |
std::string |
filename, |
|
|
std::string |
tmpPath |
|
) |
| |
|
virtual |
◆ unzip()
unsigned int mars::smurf::SMURFLoader::unzip |
( |
const std::string & |
destinationDir, |
|
|
const std::string & |
zipFilename |
|
) |
| |
|
private |
◆ control
◆ courseconfig
◆ entityList
◆ entitylist
◆ factoryManager
◆ global_length
double mars::smurf::SMURFLoader::global_length |
|
private |
◆ global_width
double mars::smurf::SMURFLoader::global_width |
|
private |
◆ params
std::map<std::string, std::string> mars::smurf::SMURFLoader::params |
|
private |
◆ tmpPath
std::string mars::smurf::SMURFLoader::tmpPath |
|
private |
The documentation for this class was generated from the following files:
- /Developer/bob-learning-dev/simulation/mars/smurf_loader/src/SMURFLoader.h
- /Developer/bob-learning-dev/simulation/mars/smurf_loader/src/SMURFLoader.cpp