Tutorials/1.3/rand

Gazebo makes use of a random number generator. By default the seed is set to the PID of the process running Gazebo. It is possible to set the random number seed.


 * 1) Commandline

Gazebo can be initialized with a random number seed on the command line using the `--seed` argument:

gazebo --seed


 * 1) Message

Gazebo listens to the `~/world_control` topic, which requires messages of type msgs::WorldControl. The world control message may contain a random number seed.