Skip to content

Commit

Permalink
auto start preloaded controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoarau committed Jun 30, 2016
1 parent 03b9056 commit feb7b8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lwr_utils/scripts/utils.ops
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,10 @@ global string loadROSControl(bool start_component)
connect(comp_name+".JointTorqueCommand",robot_name+".JointTorqueCommand",ConnPolicy())

## Start it
if(start_component) then
if(start_component) then{
startComponent(comp_name)
scripting.eval(comp_name+".startControllers()")
}
return comp_name;
}

Expand Down

0 comments on commit feb7b8f

Please sign in to comment.