Converter for create a motion from the model pose and kinematics of a legacy motion.
More...
#include <LegacyMotionConverter.h>
|
|
MotionPtr | convert (const rapidxml::xml_node< char > *motionNode, const std::string &motionName, const std::filesystem::path &motionFilePath, const std::function< void(std::filesystem::path &)> &handleMissingModelFile=NULL) |
| |
|
MotionRecordingPtr | convert (const std::string &xml, bool xmlIsPath=true, const std::function< void(std::filesystem::path &)> &handleMissingModelFile=NULL) |
| |
|
MotionRecordingPtr | convert (const std::vector< LegacyMotionPtr > &legacyMotions, const std::filesystem::path &motionFilePath=std::filesystem::path(), bool checkModel=true) |
| |
|
MotionPtr | convert (simox::xml::RapidXMLWrapperNodePtr motionNode, const std::string &motionName, const std::filesystem::path &motionFilePath, const std::function< void(std::filesystem::path &)> &handleMissingModelFile=NULL) |
| |
|
MotionPtr | convertMotion (LegacyMotionPtr legacyMotion, const std::filesystem::path &motionFilePath, bool checkModel=true) |
| |
|
std::vector< SensorPtr > | createSensors (LegacyMotionPtr legacyMotion) |
| |
| | LegacyMotionConverter (bool mmmOnly=false, const std::vector< std::filesystem::path > &additionalLibPaths=std::vector< std::filesystem::path >(), bool ignoreStandardLibPaths=false) |
| |
| | LegacyMotionConverter (const std::map< std::string, std::shared_ptr< SensorFactory > > &sensorFactories, bool mmmOnly=false) |
| |
|
|
static std::filesystem::path | getStandardLibPath () |
| |
|
|
static const std::string | VERSION = "1.0" |
| | Denotes the version of the legacy motion.
|
| |
|
|
LegacyMotionList | loadMotions (const std::string &xml, bool xmlIsPath=true, const std::function< void(std::filesystem::path &)> &handleMissingModelFile=NULL) |
| |
|
|
bool | mmmOnly |
| |
|
std::map< std::string, std::shared_ptr< SensorFactory > > | sensorFactories |
| |
Converter for create a motion from the model pose and kinematics of a legacy motion.
◆ LegacyMotionConverter() [1/2]
| MMM::LegacyMotionConverter::LegacyMotionConverter |
( |
bool |
mmmOnly = false, |
|
|
const std::vector< std::filesystem::path > & |
additionalLibPaths = std::vector<std::filesystem::path>(), |
|
|
bool |
ignoreStandardLibPaths = false |
|
) |
| |
- Parameters
-
| additionalLibPaths | Paths to sensor plug-in folders. No need to include the standard folder. |
| ignoreStandardLibPaths | Just use the given additional library Paths. |
| mmmOnly | Only load motions with mmm reference model (mmm.xml) |
◆ LegacyMotionConverter() [2/2]
| MMM::LegacyMotionConverter::LegacyMotionConverter |
( |
const std::map< std::string, std::shared_ptr< SensorFactory > > & |
sensorFactories, |
|
|
bool |
mmmOnly = false |
|
) |
| |
- Parameters
-
| sensorFactories | The sensor factory plug-ins. |
| mmmOnly | Only load motions with mmm reference model (mmm.xml) |
The documentation for this class was generated from the following files:
- /builds/sw/mmm/core/MMM/Motion/LegacyMotionConverter.h
- /builds/sw/mmm/core/MMM/Motion/LegacyMotionConverter.cpp