Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
software
graph_map_public
Commits
2ca0d9e7
Commit
2ca0d9e7
authored
Sep 26, 2018
by
dla.adolfsson@gmail.com
Browse files
removed cout
parent
af84902b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
graph_localization/launch/3d_mcl_ncfm2018.launch
graph_localization/launch/3d_mcl_ncfm2018.launch
+4
-2
graph_localization/src/ndt_mcl_localization.cpp
graph_localization/src/ndt_mcl_localization.cpp
+2
-2
No files found.
graph_localization/launch/3d_mcl_ncfm2018.launch
View file @
2ca0d9e7
...
...
@@ -12,9 +12,11 @@
<arg
name=
"robot_prefix"
default=
"robot$(arg robot_id)"
/>
<include
file=
"$(find graph_map)/launch/VelodyneConvertMotionCompensation.launch"
>
<arg
name=
"robot_prefix"
value=
"$(arg robot_prefix)"
/>
<arg
name=
"input_points_topic"
value=
"$(arg robot_prefix)/velodyne_packets"
/>
<arg
name=
"output_points_topic"
value=
"$(arg robot_prefix)/velodyne_points_unwarped"
/>
<arg
name=
"input_points_topic"
value=
"$(arg robot_prefix)/sensors/velodyne_packets"
/>
<arg
name=
"output_points_topic"
value=
"$(arg robot_prefix)/sensors/velodyne_points_unwarped"
/>
<arg
name=
"link"
default=
"$(arg robot_prefix)/velodyne_link"
/>
</include>
...
...
graph_localization/src/ndt_mcl_localization.cpp
View file @
2ca0d9e7
...
...
@@ -178,6 +178,7 @@ class localisation_node {
initialized
=
true
;
}
void
VeloCallback
(
const
velodyne_msgs
::
VelodyneScan
::
ConstPtr
&
msg
){
pcl
::
PointCloud
<
pcl
::
PointXYZ
>
cloud
;
...
...
@@ -195,14 +196,13 @@ class localisation_node {
}
pnts
.
clear
();
}
std
::
cout
<<
"Velodyne Callback :"
<<
msg
->
header
.
stamp
<<
", size="
<<
cloud
.
size
()
<<
std
::
endl
;
this
->
processFrame
(
cloud
,
t_cloud_end
);
}
void
PCCallback
(
const
sensor_msgs
::
PointCloud2
::
ConstPtr
&
msg
){
pcl
::
PointCloud
<
pcl
::
PointXYZ
>
pcl_cloud
;
pcl
::
fromROSMsg
(
*
msg
,
pcl_cloud
);
std
::
cout
<<
"Callback :"
<<
msg
->
header
.
stamp
<<
", size="
<<
pcl_cloud
.
size
()
<<
std
::
endl
;
this
->
processFrame
(
pcl_cloud
,
msg
->
header
.
stamp
);
}
...
...
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