Install and test ROS under ubuntu12.04

Source: Internet
Author: User
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


 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.