Commit 1fe46902 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Fix minor detail in call to rosinit.

parent 6be905af
Pipeline #2170 failed with stage
in 5 seconds
...@@ -43,7 +43,9 @@ void SoTTalosController::init() ...@@ -43,7 +43,9 @@ void SoTTalosController::init()
{ {
std::cout << "Going through SoTTalosController." << std::endl; std::cout << "Going through SoTTalosController." << std::endl;
ros::NodeHandle &nh = dynamicgraph::rosInit(false,true); // rosInit is called here only to initialize ros.
// No spinner is initialized.
ros::NodeHandle &nh = dynamicgraph::rosInit(false,false);
interpreter_ = boost::shared_ptr<dynamicgraph::Interpreter>( interpreter_ = boost::shared_ptr<dynamicgraph::Interpreter>(
new dynamicgraph::Interpreter (nh)); new dynamicgraph::Interpreter (nh));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment