41 const std::string Component::defaultName =
"example_component_plugin_user";
100 auto builder = controllerBuilder<common::ControllerType::TSImp>();
103 .withNodeSet(
"RightArm")
104 .create(
"MyTaskSpaceImpedanceController1");
107 std::this_thread::sleep_for(std::chrono::seconds(1));
111 std::this_thread::sleep_for(std::chrono::seconds(2));
124 auto builder = controllerBuilder<common::ControllerType::TSImp>();
127 builder.withNodeSet(
"RightArm")
128 .create(
"MyTaskSpaceImpedanceController2");
133 std::this_thread::sleep_for(std::chrono::seconds(2));
145 auto builder = controllerBuilder<common::ControllerType::TSImp>();
149 .withConfig(
"file provided by Jeff")
150 .withNodeSet(
"RightArm")
151 .create(
"MyTaskSpaceImpedanceController3");
154 std::this_thread::sleep_for(std::chrono::seconds(2));
158 std::this_thread::sleep_for(std::chrono::seconds(2));
188 auto builder = controllerBuilder<common::ControllerType::TSImp>();
191 builder.withNodeSet(
"RightArm").create(
"MyTaskSpaceImpedanceController5");
207 std::this_thread::sleep_for(std::chrono::seconds(2));
211 std::this_thread::sleep_for(std::chrono::seconds(2));
216 std::this_thread::sleep_for(std::chrono::seconds(2));
229 auto builder = controllerBuilder<common::ControllerType::TSImp>();
232 builder.config().kdImpedance *= 3;
235 builder.withNodeSet(
"RightArm").create(
"MyTaskSpaceImpedanceController6");
238 std::this_thread::sleep_for(std::chrono::seconds(2));
242 std::this_thread::sleep_for(std::chrono::seconds(2));
258 auto builder = controllerBuilder<common::ControllerType::TSImp>();
261 builder.config().kdImpedance *= 3;
264 builder.withNodeSet(
"RightArm").create(
"MyTaskSpaceImpedanceController7");
269 std::this_thread::sleep_for(std::chrono::seconds(2));
293 return Component::defaultName;
300 return Component::defaultName;