1. Install reference official website installation Tutorial: http://ros.org/wiki/fuerte/Installation/Ubuntu 2. test the use of ROS in the turtle to perform the ROS test. When you use the "rosrun turtle_teleop turtle_teleop_key" command, the reference http://blog.sina.com.cn/s/blog_661159d50100od99.html prompts that the command is not found. The reason is that the turtle_teleop package is not installed. You need to download the source package from the Internet for installation. First download the source package from the official website (http://ros.org/wiki/turtle_teleop), and then it is best to put your own main folder, otherwise the compilation will produce permission issues. Then add the path:
echo "export ROS_PACKAGE_PATH=~/ros_workspace:$ROS_PACKAGE_PATH" >> ~/.bashrcecho "export ROS_WORKSPACE=~/ros_workspace" >> ~/.bashrc. ~/.bashrc
To ensure that your package path is correctly set, echo the ros_package_path variable:
echo $ROS_PACKAGE_PATH
Run the following command to find and install the package: rospack find turtle_teleop rosmake turtle_teleop.
After the installation is complete, run the command, and there will still be a problem, prompting that the turtle_teleop_key file is not executed. solution:
(1) rosdep install turtle_teleop
(2) roscd turtle_teleop
(3) roslaunch launch/turtle_keyboard.launch
Note: (1) configure the environment in zsh: source/opt/ros/fuerte/setup. zsh
Echo "source/opt/ros/fuerte/setup. zsh"> ~ /. Zshrc
.~ /. Zshrc (2) use the source code to install ROS under ubuntu: http://ros.org/wiki/fuerte/Installation/Ubuntu/Source