-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
19 changed files
with
628 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef LUAMODEL_WRAPPER_H_INCLUDED | ||
#define LUAMODEL_WRAPPER_H_INCLUDED | ||
|
||
#include <rbdl/rbdl.h> | ||
#include <rbdl/rbdl_math.h> | ||
#include <rbdl/addons/luamodel/luamodel.h> | ||
#include <rbdl/addons/luamodel/luatables.h> | ||
|
||
#include "rbdl_wrapper.h" | ||
|
||
#define MODELTYPE_LUA "lua_model" | ||
|
||
class LuaModelWrapper : public RBDLModelWrapper { | ||
public: | ||
LuaModelWrapper(); | ||
LuaTable model_luatable; | ||
|
||
void load(QString model_file); | ||
ModelInfo loadModelInfo(); | ||
std::vector<SegmentVisualInfo> loadSegmentInfo(); | ||
}; | ||
|
||
#endif | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef URDFMODEL_WRAPPER_H_INCLUDED | ||
#define URDFMODEL_WRAPPER_H_INCLUDED | ||
|
||
#include <rbdl/rbdl.h> | ||
#include <rbdl/rbdl_math.h> | ||
#include <rbdl/addons/urdfreader/urdfreader.h> | ||
|
||
#include "rbdl_wrapper.h" | ||
|
||
#define MODELTYPE_URDF "urdf_model" | ||
|
||
class UrdfModelWrapper : public RBDLModelWrapper { | ||
public: | ||
UrdfModelWrapper(); | ||
|
||
std::string model_xml_string; | ||
|
||
void load(QString model_file); | ||
ModelInfo loadModelInfo(); | ||
std::vector<SegmentVisualInfo> loadSegmentInfo(); | ||
}; | ||
|
||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.