diff --git a/baxter_sim_controllers/src/baxter_effort_controller.cpp b/baxter_sim_controllers/src/baxter_effort_controller.cpp index 24c522f..3762796 100644 --- a/baxter_sim_controllers/src/baxter_effort_controller.cpp +++ b/baxter_sim_controllers/src/baxter_effort_controller.cpp @@ -35,6 +35,14 @@ #include #include +// Note copied from joint_effort_controller.cpp to avoid a linker error on clang +template +void forward_command_controller::ForwardCommandController::starting(const ros::Time& time) +{ + // Start controller with 0.0 effort + command_buffer_.writeFromNonRT(0.0); +} + namespace baxter_sim_controllers {