Skip to content
Snippets Groups Projects
Commit 25655524 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

minor modifications

parent b87ffd64
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,6 @@ Mvbluefox3CameraDriver::~Mvbluefox3CameraDriver(void)
bool Mvbluefox3CameraDriver::openDriver(void)
{
std::cout << "open" << std::endl;
try
{
this->cam_ptr = new CMvbluefox3::CMvbluefox3(this->serial);
......@@ -49,7 +48,7 @@ bool Mvbluefox3CameraDriver::startDriver(void)
// }
// cv::destroyAllWindows();
std::cout << "[ROS mvBlueFOX3]: Driver started." << std::endl;
std::cout << "[mvBlueFOX3]: Driver started." << std::endl;
return true;
}
......
......@@ -4,7 +4,7 @@ Mvbluefox3CameraDriverNode::Mvbluefox3CameraDriverNode(ros::NodeHandle &nh) :
iri_base_driver::IriBaseNodeDriver<Mvbluefox3CameraDriver>(nh)
{
//init class attributes if necessary
//this->loop_rate_ = 2;//in [Hz]
this->loop_rate_ = 50;//in [Hz]
// [init publishers]
......@@ -21,7 +21,6 @@ Mvbluefox3CameraDriverNode::Mvbluefox3CameraDriverNode(ros::NodeHandle &nh) :
void Mvbluefox3CameraDriverNode::mainNodeThread(void)
{
//lock access to driver if necessary
this->driver_.lock();
// [fill msg Header if necessary]
......@@ -34,7 +33,6 @@ void Mvbluefox3CameraDriverNode::mainNodeThread(void)
// [publish messages]
//unlock access to driver if previously blocked
this->driver_.unlock();
}
......
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