Skip to content

Commit 08203c9

Browse files
committed
Change lidar topic to /scan to integrate with slam.
Signed-off-by: Jelmer de Wolde <[email protected]>
1 parent 62503a8 commit 08203c9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ros2_ws/src/rcdt_sensors/urdf/rcdt_velodyne.urdf.xacro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Based on:
1818
*origin
1919
parent:=cover_link
2020
name:=velodyne
21-
topic:=/velodyne_points
21+
topic:=/scan
2222
update_rate:=10
2323
lasers:=16
2424
samples:=1875

ros2_ws/src/rcdt_utilities/launch/gazebo_robot.launch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def launch_setup(context: LaunchContext) -> List:
5050
if use_velodyne:
5151
bridge_topics.extend(
5252
[
53-
"/velodyne_points/points@sensor_msgs/msg/[email protected]",
53+
"/scan@sensor_msgs/msg/[email protected]",
54+
"/scan/points@sensor_msgs/msg/[email protected]",
5455
]
5556
)
5657

0 commit comments

Comments
 (0)