Skip to content

Instantly share code, notes, and snippets.

@Eddy-Morgan
Last active April 5, 2024 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Eddy-Morgan/8e93e86b99d0c19a89dab64e49287cf6 to your computer and use it in GitHub Desktop.
Save Eddy-Morgan/8e93e86b99d0c19a89dab64e49287cf6 to your computer and use it in GitHub Desktop.
gazebo_integration
spawn_entity = Node(
package='gazebo_ros',
executable='spawn_entity.py',
arguments=['-entity', 'bluerov2_heavy_alpha_urdf', '-topic', 'robot_description'],
output='screen'
)
nodes = [
ExecuteProcess(cmd=['gazebo', '--verbose', '-s', 'libgazebo_ros_init.so',
'-s', 'libgazebo_ros_factory.so'], output='screen'),
control_node,
robot_state_pub_node,
joint_state_broadcaster_spawner,
spawn_entity,
delay_rviz_after_joint_state_broadcaster_spawner,
delay_robot_controller_spawner_after_joint_state_broadcaster_spawner,
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment