Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
larm-astro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Inès EL HADRI
larm-astro
Commits
653e6fda
Commit
653e6fda
authored
Jan 22, 2024
by
Inès EL HADRI
💤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cam_vision crash
parent
44f8c25a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cam_vision
grp_astro/src/cam_vision
+3
-0
No files found.
grp_astro/src/cam_vision
View file @
653e6fda
...
@@ -52,6 +52,9 @@ class CameraVision(CameraDriver):
...
@@ -52,6 +52,9 @@ class CameraVision(CameraDriver):
self
.
_kernel
=
np
.
ones
((
5
,
5
),
np
.
uint8
)
self
.
_kernel
=
np
.
ones
((
5
,
5
),
np
.
uint8
)
self
.
_color_info
=
(
0
,
0
,
255
)
self
.
_color_info
=
(
0
,
0
,
255
)
self
.
_rgb_detection
=
None
self
.
_mask_detection
=
None
# Initialize a ROS2 Image to CV2 image converter
# Initialize a ROS2 Image to CV2 image converter
self
.
_bridge
=
CvBridge
()
self
.
_bridge
=
CvBridge
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment