Skip to content
Snippets Groups Projects
Commit e252e98d authored by Arnau Ramisa's avatar Arnau Ramisa
Browse files

cloth_perception

parent 442e7d16
No related branches found
No related tags found
No related merge requests found
...@@ -299,19 +299,19 @@ IriBaseAlgorithm<Algorithm>::IriBaseAlgorithm() : ...@@ -299,19 +299,19 @@ IriBaseAlgorithm<Algorithm>::IriBaseAlgorithm() :
dsrv_(private_node_handle_) dsrv_(private_node_handle_)
{ {
ROS_DEBUG("IRI Base Algorithm Constructor"); ROS_DEBUG("IRI Base Algorithm Constructor");
// create thread server instance // create thread server instance
this->thread_server_ = CThreadServer::instance(); this->thread_server_ = CThreadServer::instance();
// identify main thread // identify main thread
this->main_thread_id_ = "main_thread"; this->main_thread_id_ = "main_thread";
// create main thread and attach to server // create main thread and attach to server
this->thread_server_->create_thread(this->main_thread_id_); this->thread_server_->create_thread(this->main_thread_id_);
this->thread_server_->attach_thread(this->main_thread_id_, this->mainThread, this); this->thread_server_->attach_thread(this->main_thread_id_, this->mainThread, this);
// // assign callback to dynamic reconfigure server // // assign callback to dynamic reconfigure server
// dsrv_.setCallback(boost::bind(&IriBaseAlgorithm<Algorithm>::reconfigureCallback, this, _1, _2)); // dsrv_.setCallback(boost::bind(&IriBaseAlgorithm<Algorithm>::reconfigureCallback, this, _1, _2));
} }
template <class Algorithm> template <class Algorithm>
...@@ -417,7 +417,7 @@ int main(int argc, char **argv, std::string node_name) ...@@ -417,7 +417,7 @@ int main(int argc, char **argv, std::string node_name)
// ROS initialization // ROS initialization
ros::init(argc, argv, node_name); ros::init(argc, argv, node_name);
// allow Ctrl+C management // allow Ctrl+C management
signal(SIGHUP, &AbstractAlgorithmNode::hupCalled); signal(SIGHUP, &AbstractAlgorithmNode::hupCalled);
......
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