Skip to content
Snippets Groups Projects
Commit 95c51487 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Update the way to set the rate, according to last iri_base_algorithm version

parent c62b8081
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,8 @@ BlobDetectorAlgNode::BlobDetectorAlgNode(const ros::NodeHandle &nh) :
algorithm_base::IriBaseAlgorithm<BlobDetectorAlgorithm>(nh),it(nh)
{
//init class attributes if necessary
this->loop_rate_ = 1;//in [Hz]
//this->loop_rate_ = 1;//in [Hz]
this->setRate(1);//in [Hz]
// [init publishers]
this->blobs_publisher_ = this->public_node_handle_.advertise<iri_blob_detector::blob_array>("blobs", 1);
......
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