This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
cs:simulator:run:start [2017/09/12 17:32] James Irwin |
cs:simulator:run:start [2022/04/15 02:30] (current) Chris Nathman |
||
---|---|---|---|
Line 2: | Line 2: | ||
Next build everything by running ''%%rsmake%%''. Then run the following command: | Next build everything by running ''%%rsmake%%''. Then run the following command: | ||
- | roslaunch robosub_simulator gazebo.launch [gui:=false] [minimal:=true] | + | ros2 launch robosub_simulator gazebo.launch.py [gui:=false] [minimal:=true] |
This will load the proper param files, start up gazebo with the correct world, spawn the sub, and finally, start the simulator bridge, control system, and thruster nodes. If you want to run additional software nodes (vision, hydrophones, AI, etc.), you will need to start them manually. You can use the optional parameters to disable the gui or launch the minimal simulator without the control system or thrusters started. | This will load the proper param files, start up gazebo with the correct world, spawn the sub, and finally, start the simulator bridge, control system, and thruster nodes. If you want to run additional software nodes (vision, hydrophones, AI, etc.), you will need to start them manually. You can use the optional parameters to disable the gui or launch the minimal simulator without the control system or thrusters started. |