Please enable JavaScript.
Coggle requires JavaScript to display documents.
ROS Essentials (Installation (Install the VM using the latest VMware…
ROS Essentials
Installation
- Install the VM using the latest VMware Player
- if prompted for password its robo-nd
- source /opt/ros/kinetic/setup.bash
this will make sure that all enviroment variables are present
- add this command to the ~/.bashrc file to be run every time we start a terminal. this is done by
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
- steps 3 & 4 are not needed in udacity vm for robond
Run TurtleSim
-
-
- open another terminal (ctrl + shift + t) and type:
rosrun turtlesim turtlesim_node
- open another terminal (ctrl + shift + t) and type:
rosrun turtlesim turtle_teleop_key
use arrow keys , with the last terminal focused to navigate the turtle in turtlesim
-
ROS Commands
-
roslaunch
- Launch ROS Master and multiple nodes
- Set default parameters on the parameter server
- Automatically re-spawn processes that have died
- To use roslaunch, you must first make sure that your workspace has been built, and sourced:
Once the workspace has been built, you can source it’s setup script: source devel/setup.bash
-
-
-
rosdep
The rosdep tool will check for a package's missing dependencies (run time dependencies), download them, and install them.
-
In order for the command to work, the workspace must be sourced
To have rosdep install packages, invoke the following command from the root of the catkin workspace
rosdep install -i <package_name>
-