-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old generated files before generating again
Pass topic namespace to nodes Added velodyne
- Loading branch information
1 parent
81acc8c
commit 2d33589
Showing
12 changed files
with
167 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
velodyne_lidar_driver: | ||
ros__parameters: | ||
device_ip: 192.168.131.20 | ||
gps_time: false | ||
time_offset: 0.0 | ||
enabled: true | ||
read_once: false | ||
read_fast: false | ||
repeat_delay: 0.0 | ||
frame_id: velodyne | ||
model: VLP16 | ||
rpm: 600.0 | ||
port: 2368 | ||
velodyne_lidar_pointcloud: | ||
ros__parameters: | ||
calibration: /opt/ros/humble/share/velodyne_pointcloud/params/VLP16db.yaml | ||
min_range: 0.9 | ||
max_range: 130.0 | ||
view_direction: 0.0 | ||
organize_cloud: true | ||
velodyne_lidar_laserscan: | ||
ros__parameters: | ||
ring: -1 | ||
resolution: 0.007 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
from launch import LaunchDescription | ||
from launch.substitutions import LaunchConfiguration | ||
|
||
from launch_ros.actions import Node | ||
|
||
|
||
def generate_launch_description(): | ||
|
||
name = LaunchConfiguration('name') | ||
parameters = LaunchConfiguration('parameters') | ||
topic = LaunchConfiguration('topic') | ||
|
||
velodyne_driver_node = Node( | ||
package='velodyne_driver', | ||
executable='velodyne_driver_node', | ||
name=[name, '_driver'], | ||
parameters=[parameters], | ||
output='screen' | ||
) | ||
|
||
velodyne_pointcloud_node = Node( | ||
package='velodyne_pointcloud', | ||
executable='velodyne_convert_node', | ||
name=[name, '_pointcloud'], | ||
output='screen', | ||
parameters=[parameters] | ||
) | ||
|
||
velodyne_laserscan_node = Node( | ||
package='velodyne_laserscan', | ||
executable='velodyne_laserscan_node', | ||
name=[name, '_laserscan'], | ||
output='screen', | ||
parameters=[parameters] | ||
) | ||
|
||
ld = LaunchDescription() | ||
ld.add_action(velodyne_driver_node) | ||
ld.add_action(velodyne_pointcloud_node) | ||
ld.add_action(velodyne_laserscan_node) | ||
return ld |