Launching a player

Warning

This tutorial assumes you have done the following:

If you haven’t installed any of the above, do it before proceeding.

To launch the player in SimSpark, first start the simulator:

rcsoccersim3d

Launch our simulated soccer player:

ros2 launch team_ijnek_launch simulated_player_launch.py

You should see the robot launched in the simulator as shown below.

_images/launch_robot.png

Tip

If the robot doesn’t show up, double check that you started rcsoccersim3d

Launch Arguments

To see launch arguments, use

ros2 launch team_ijnek_launch simulated_player_launch.py --show-args

Currently the supported arguments are:

  • team - string (default: ‘ijnek’)

  • number - int (default: ‘2’)

  • x - double (default: ‘0.0’)

  • y - double (default: ‘0.0’)

  • theta - double (default: ‘0.0’)