diff --git a/src/akushon/action/node/action_manager.cpp b/src/akushon/action/node/action_manager.cpp index 48de839..45d3ada 100644 --- a/src/akushon/action/node/action_manager.cpp +++ b/src/akushon/action/node/action_manager.cpp @@ -76,7 +76,7 @@ void ActionManager::load_config(const std::string & path) } // remove "/" from the start of the name string - name.erase(0, 1); + // name.erase(0, 1); try { std::ifstream file(file_name); nlohmann::json action_data = nlohmann::json::parse(file); @@ -129,7 +129,8 @@ Action ActionManager::load_action( } else if (key == "next") { action.set_next_action(val); } else if (key == "use_spline") { - action.enable_spline(val); + bool value = true; + action.enable_spline(value); } } action.generate_splines(); @@ -177,8 +178,10 @@ void ActionManager::start(const Action & action, const Pose & initial_pose) void ActionManager::process(int time) { - if (interpolator) { + if (true) { + std::cout << "check 2" << std::endl; interpolator->process(time); + std::cout << "process clear" << std::endl; if (interpolator->is_finished()) { interpolator = nullptr;