Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_ros_vision
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
mobile_robotics
wolf_projects
wolf_ros
wolf_ros_vision
Commits
751b9c5d
Commit
751b9c5d
authored
3 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
fix: size of text is double
parent
beaea50a
No related branches found
No related tags found
2 merge requests
!3
After cmake and const refactor
,
!1
Resolve "Publisher for visual odometry"
Pipeline
#9808
failed
3 years ago
Stage: license
Stage: build_and_test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/publisher_vision.h
+2
-2
2 additions, 2 deletions
include/publisher_vision.h
src/publisher_vision.cpp
+2
-2
2 additions, 2 deletions
src/publisher_vision.cpp
with
4 additions
and
4 deletions
include/publisher_vision.h
+
2
−
2
View file @
751b9c5d
...
...
@@ -81,7 +81,7 @@ class PublisherVisionDebug : public Publisher
struct
Tracks
{
bool
show_id_
;
int
size_id_
;
double
size_id_
;
double
thickness_
;
COLOR
color_
;
int
min_luminosity_
;
...
...
@@ -97,7 +97,7 @@ class PublisherVisionDebug : public Publisher
};
struct
Landmarks
{
bool
show_id_
;
int
size_id_
;
double
size_id_
;
int
size_pix_
;
COLOR
color_
;
};
...
...
This diff is collapsed.
Click to expand it.
src/publisher_vision.cpp
+
2
−
2
View file @
751b9c5d
...
...
@@ -74,7 +74,7 @@ PublisherVisionDebug::PublisherVisionDebug(const std::string &_unique_name,
topic_preprocessor_
=
getParamWithDefault
<
std
::
string
>
(
_server
,
prefix_
+
"/topic_preprocessor"
,
"/debug_image_prepocessor"
);
//Tracks
tracks_
.
show_id_
=
getParamWithDefault
<
bool
>
(
_server
,
prefix_
+
"/tracks/show_id"
,
false
);
tracks_
.
size_id_
=
getParamWithDefault
<
int
>
(
_server
,
prefix_
+
"/tracks/size_id"
,
0.5
);
tracks_
.
size_id_
=
getParamWithDefault
<
double
>
(
_server
,
prefix_
+
"/tracks/size_id"
,
0.5
);
tracks_
.
thickness_
=
getParamWithDefault
<
double
>
(
_server
,
prefix_
+
"/tracks/thickness"
,
1.5
);
std
::
string
str_color_tracks
=
getParamWithDefault
<
std
::
string
>
(
_server
,
prefix_
+
"/tracks/color"
,
"CYAN"
);
tracks_
.
color_
=
colorStringToEnum
(
str_color_tracks
);
...
...
@@ -93,7 +93,7 @@ PublisherVisionDebug::PublisherVisionDebug(const std::string &_unique_name,
//Landmarks
landmarks_
.
show_id_
=
getParamWithDefault
<
bool
>
(
_server
,
prefix_
+
"/landmarks/show_id"
,
false
);
landmarks_
.
size_id_
=
getParamWithDefault
<
int
>
(
_server
,
prefix_
+
"/landmarks/size_id"
,
0.5
);
landmarks_
.
size_id_
=
getParamWithDefault
<
double
>
(
_server
,
prefix_
+
"/landmarks/size_id"
,
0.5
);
landmarks_
.
size_pix_
=
getParamWithDefault
<
int
>
(
_server
,
prefix_
+
"/landmarks/size_pix"
,
5
);
std
::
string
str_color_landmarks_
=
getParamWithDefault
<
std
::
string
>
(
_server
,
prefix_
+
"/landmarks/color"
,
"CYAN"
);
landmarks_
.
color_
=
colorStringToEnum
(
str_color_landmarks_
);
...
...
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