Booting from the Raspberry Pi ubuntu-mate roslaunch

Source: Internet
Author: User

Reference:

http://blog.csdn.net/flywiththejet/article/details/55258030 1. Write multiple Ros node to be started into the same launch file: my_robot_name_2dnav/ Launch/nav_patrol.launch 2. The Roslaunch command to be started is added to the ~/.BASHRC file: Add the following at the end of the ~/.BASHRC file: ... source/opt/ros/indigo/ Setup.bashsource ~/catkin_ws/devel/setup.bashexport Ros_master_uri=http://192.168.192.166:11311export ROS_ hostname=192.168.192.166 #robot auto startif rostopic list; Then echo "Roscore and Robot_auto_start started!" else date >> ~/start_log.txt echo ": Nav_patrol Running" >> ~/start_log.txt nohup roslaunch my_robot_name_2d Nav Nav_patrol.launch & >> ~/start_log.txt sleep 30fi ... 3. Implement the system boot automatic login function sudo apt-get install lightdmvim/etc/lightdm/lightdm.conf #autologin-user= to Autologin-user=ubuntu 4. sudo reboot is OK.

Booting from the Raspberry Pi ubuntu-mate roslaunch

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.