Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
ros
navigation
iri_rosnav
Commits
c6b3244b
Commit
c6b3244b
authored
Jan 28, 2020
by
Fernando Herrero
Browse files
Add pointcloud_to_laserscan launch and yaml file
parent
fd0874d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
launch/include/pointcloud_to_laserscan.launch
0 → 100644
View file @
c6b3244b
<?xml version="1.0"?>
<!-- -->
<launch>
<arg
name=
"ns"
default=
"robot"
/>
<arg
name=
"config_file"
default=
"$(find iri_rosnav)/params/pointcloud_to_laserscan.yaml"
/>
<arg
name=
"scan_topic"
default=
"$(arg ns)/scan"
/>
<arg
name=
"cloud_topic"
default=
"$(arg ns)/points"
/>
<arg
name=
"output"
default=
"screen"
/>
<arg
name=
"launch_prefix"
default=
""
/>
<group
ns=
"$(arg ns)"
>
<node
name=
"pointcloud_to_laserscan"
pkg =
"pointcloud_to_laserscan"
type=
"pointcloud_to_laserscan_node"
output=
"$(arg output)"
launch-prefix=
"$(arg launch_prefix)"
>
<remap
from=
"/$(arg ns)/scan"
to=
"$(arg scan_topic)"
/>
<remap
from=
"/$(arg ns)/cloud_in"
to=
"$(arg cloud_topic)"
/>
<rosparam
file=
"$(arg config_file)"
command=
"load"
/>
</node>
</group>
</launch>
params/pointcloud_to_laserscan.yaml
0 → 100644
View file @
c6b3244b
target_frame
:
"
"
# Leave target_frame disabled to output scan in pointcloud frame
transform_tolerance
:
0.1
min_height
:
-0.1
max_height
:
0.5
angle_min
:
-3.14159
#-1.5708 # -M_PI/2
angle_max
:
3.14159
#1.5708 # M_PI/2
angle_increment
:
0.00335
# M_PI/360.0
scan_time
:
0.3333
range_min
:
0.1
range_max
:
40.0
use_inf
:
true
# Concurrency level, affects number of pointclouds queued for processing and number of threads used
# 0 : Detect number of cores
# 1 : Single threaded
# 2->inf : Parallelism level
concurrency_level
:
1
Write
Preview
Supports
Markdown
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