Skip to content

Commit 8e24abc

Browse files
namikxgithubjasmeet0915
authored andcommitted
Fixed launch files for mars rover (space-ros#46)
1 parent bbed18f commit 8e24abc

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

custom_gz_plugins/launch/demo_world.launch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ def generate_launch_description():
2222
':'.join([environ.get('GZ_SIM_SYSTEM_PLUGIN_PATH', default=''),
2323
environ.get('LD_LIBRARY_PATH', default='')]),
2424
'GZ_SIM_RESOURCE_PATH':
25-
':'.join([mars_rover_demos_path])}
25+
':'.join([mars_rover_demos_path, mars_rover_models_path + '/models'])}
2626

2727
urdf_model_path = os.path.join(mars_rover_models_path, 'models', 'curiosity_path',
2828
'urdf', 'curiosity_mars_rover.xacro.urdf')
2929

3030
doc = xacro.process_file(urdf_model_path)
3131
robot_description = {'robot_description': doc.toxml()}
3232

33-
decalare_world_name_arg = DeclareLaunchArgument('world_name', default_value='mars_gale_crater_patch1.sdf',
33+
declare_world_name_arg = DeclareLaunchArgument('world_name', default_value='mars_gale_crater_patch1.sdf',
3434
description='Name of the world file to launch in Gazebo')
3535
world_name = LaunchConfiguration('world_name')
3636

mars_rover/launch/mars_rover.launch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def generate_launch_description():
2727
':'.join([environ.get('GZ_SIM_SYSTEM_PLUGIN_PATH', default=''),
2828
environ.get('LD_LIBRARY_PATH', default='')]),
2929
'GZ_SIM_RESOURCE_PATH':
30-
':'.join([mars_rover_demos_path])}
30+
':'.join([mars_rover_demos_path, mars_rover_models_path + '/models'])}
3131

3232
urdf_model_path = os.path.join(mars_rover_models_path, 'models', 'curiosity_path',
3333
'urdf', 'curiosity_mars_rover.xacro')

mars_rover/nodes/move_arm

100644100755
File mode changed.

mars_rover/nodes/move_mast

100644100755
File mode changed.

mars_rover/nodes/move_wheel

100644100755
File mode changed.

mars_rover/nodes/run_demo

100644100755
File mode changed.

0 commit comments

Comments
 (0)