joy to common
This commit is contained in:
@@ -78,6 +78,21 @@ def generate_launch_description():
|
||||
condition=IfCondition(LaunchConfiguration('start_rviz'))
|
||||
)
|
||||
|
||||
|
||||
pkg_gen_location_on_mesh = FindPackageShare(package="").find("gen_locations_on_mesh")
|
||||
|
||||
mesh_path = PathJoinSubstitution([pkg_gen_location_on_mesh, "share", "scene_init.ply"])
|
||||
|
||||
cache_path = PathJoinSubstitution([pkg_gen_location_on_mesh, "share", "cache.pkl"])
|
||||
|
||||
start_gen_location_on_mesh_cmd = Node(
|
||||
name='gen_locations_on_mesh',
|
||||
package='gen_locations_on_mesh',
|
||||
executable='gen_locations_on_mesh',
|
||||
parameters=[{'mesh_filename': mesh_path,
|
||||
'cache_filename': cache_path,
|
||||
'init_number_of_points': 100}])
|
||||
|
||||
return LaunchDescription(
|
||||
launch_args
|
||||
+ [
|
||||
@@ -85,5 +100,6 @@ def generate_launch_description():
|
||||
#joy,
|
||||
fe_emulator,
|
||||
rviz,
|
||||
start_gen_location_on_mesh_cmd,
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user