Ros beginner start small turtle

First, start ros

roscore

roscore separate out a command terminal is operating, and can not run at the same time two roscore. roscore order to make a master operation. I guess ros in only one master, which is why not run for two reasons roscore command at the same time, to be verified .

Second, start small turtles

A single open end, + shift + t may open a new terminal ctrl command in the same window. input the command:

rosrun turtlesim turtlesim_node

 A small turtle window will appear:

Rosrun format command is: rosrun [package_name] [node_name]. Thus turtlesim a function package, for a node turtlesim_node function package.

And this time you open a new terminal to run another node

rosrun turtlesim turtle_teleop_key

 You can control the movement of the turtle through the keyboard. Note that the arrow must be placed on this terminal command to move the turtle

 

Published an original article · won praise 0 · Views 18

Guess you like

Origin blog.csdn.net/qq_36147963/article/details/104076607