42 const std::string Component::defaultName =
"example_component_plugin_user";
98 auto builder = controllerBuilder<common::ControllerType::TSImp>();
101 .withNodeSet(
"RightArm")
102 .create(
"MyTaskSpaceImpedanceController1");
105 std::this_thread::sleep_for(std::chrono::seconds(1));
109 std::this_thread::sleep_for(std::chrono::seconds(2));
121 auto builder = controllerBuilder<common::ControllerType::TSImp>();
124 builder.withNodeSet(
"RightArm")
125 .create(
"MyTaskSpaceImpedanceController2");
130 std::this_thread::sleep_for(std::chrono::seconds(2));
142 auto builder = controllerBuilder<common::ControllerType::TSImp>();
146 .withConfig(
"file provided by Jeff")
147 .withNodeSet(
"RightArm")
148 .create(
"MyTaskSpaceImpedanceController3");
151 std::this_thread::sleep_for(std::chrono::seconds(2));
155 std::this_thread::sleep_for(std::chrono::seconds(2));
184 auto builder = controllerBuilder<common::ControllerType::TSImp>();
187 builder.withNodeSet(
"RightArm").create(
"MyTaskSpaceImpedanceController5");
203 std::this_thread::sleep_for(std::chrono::seconds(2));
207 std::this_thread::sleep_for(std::chrono::seconds(2));
212 std::this_thread::sleep_for(std::chrono::seconds(2));
225 auto builder = controllerBuilder<common::ControllerType::TSImp>();
228 builder.config().kdImpedance *= 3;
231 builder.withNodeSet(
"RightArm").create(
"MyTaskSpaceImpedanceController6");
234 std::this_thread::sleep_for(std::chrono::seconds(2));
238 std::this_thread::sleep_for(std::chrono::seconds(2));
252 auto builder = controllerBuilder<common::ControllerType::TSImp>();
255 builder.config().kdImpedance *= 3;
258 builder.withNodeSet(
"RightArm").create(
"MyTaskSpaceImpedanceController7");
263 std::this_thread::sleep_for(std::chrono::seconds(2));
283 return Component::defaultName;
289 return Component::defaultName;