Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
iri_mvbluefox3_camera_driver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
ros
sensors
mono_cameras
iri_mvbluefox3_camera_driver
Commits
25655524
Commit
25655524
authored
8 years ago
by
Angel Santamaria-Navarro
Browse files
Options
Downloads
Patches
Plain Diff
minor modifications
parent
b87ffd64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/mvbluefox3_camera_driver.cpp
+1
-2
1 addition, 2 deletions
src/mvbluefox3_camera_driver.cpp
src/mvbluefox3_camera_driver_node.cpp
+1
-3
1 addition, 3 deletions
src/mvbluefox3_camera_driver_node.cpp
with
2 additions
and
5 deletions
src/mvbluefox3_camera_driver.cpp
+
1
−
2
View file @
25655524
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
src/mvbluefox3_camera_driver_node.cpp
+
1
−
3
View file @
25655524
...
...
@@ -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
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment