Skip to content
Snippets Groups Projects
Commit fa0185f2 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved a bug: the main node thread was launched twice.

This exaplins that the output rate of drivers doubled the desired one.
parent 802db424
No related branches found
No related tags found
No related merge requests found
......@@ -347,9 +347,6 @@ IriBaseNodeDriver<Driver>::IriBaseNodeDriver(const ros::NodeHandle &nh) :
this->driver_.setPreCloseHook(boost::bind(&IriBaseNodeDriver::preCloseHook, this));
this->driver_.setPostStartHook(boost::bind(&IriBaseNodeDriver::postStartHook, this));
this->driver_.setPreStopHook(boost::bind(&IriBaseNodeDriver::preStopHook, this));
// create the status thread
pthread_create(&this->main_thread,NULL,this->mainThread,this);
// initialize class attributes
// allow Ctrl+C management
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment