Add tutorial get_with_plugin

This commit is contained in:
John Zhao
2018-05-09 13:40:34 +08:00
parent 401c003906
commit 1fec1300a8
4 changed files with 48 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ std::vector<api::MotionData> API::GetMotionDatas() {
}
void API::EnablePlugin(const std::string &path) {
DL dl;
static DL dl;
CHECK(dl.Open(path.c_str())) << "Open plugin failed: " << path;
plugin_version_code_t *plugin_version_code =