Skip to content

Commit

Permalink
Use parameters with ros_gz_sim::Create
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Dec 28, 2023
1 parent 5412da5 commit fe846e9
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', 'cartpole',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cartpole',
'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', 'cartpole',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cartpole',
'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', 'cartpole',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cartpole',
'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', 'cartpole',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cartpole',
'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', 'cartpole',
'-allow_renaming', 'true'],
parameters=[{'string': doc.toxml(),
'name': 'cartpole',
'allow_renaming': True}],
)

load_joint_state_controller = ExecuteProcess(
Expand Down

0 comments on commit fe846e9

Please sign in to comment.