Skip to content

Commit

Permalink
Use parameters with ros_gz_sim::Create (#211)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Co-authored-by: Christoph Fröhlich <[email protected]>
  • Loading branch information
ahcorde and christophfroehlich authored Jan 9, 2024
1 parent 4a2170c commit ef7deef
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions gz_ros2_control_demos/launch/cart_example_effort.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=['-string', doc.toxml(),
'-name', 'cart',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cart',
'allow_renaming': True}],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
6 changes: 3 additions & 3 deletions gz_ros2_control_demos/launch/cart_example_position.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=['-string', doc.toxml(),
'-name', 'cart',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cart',
'allow_renaming': True}],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
6 changes: 3 additions & 3 deletions gz_ros2_control_demos/launch/cart_example_velocity.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=['-string', doc.toxml(),
'-name', 'cart',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cart',
'allow_renaming': True}],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
6 changes: 3 additions & 3 deletions gz_ros2_control_demos/launch/diff_drive_example.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=['-string', doc.toxml(),
'-name', 'diff_drive',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'diff_drive',
'allow_renaming': True}],
)

load_joint_state_controller = ExecuteProcess(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=['-string', doc.toxml(),
'-name', 'gripper',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'gripper',
'allow_renaming': True}],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
6 changes: 3 additions & 3 deletions gz_ros2_control_demos/launch/tricycle_drive_example.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=['-string', doc.toxml(),
'-name', 'tricyle',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'tricyle',
'allow_renaming': True}],
)

load_joint_state_controller = ExecuteProcess(
Expand Down

0 comments on commit ef7deef

Please sign in to comment.