ROS开机自启
来源:互联网 发布:淘宝企业店铺是啥意思 编辑:程序博客网 时间:2024/06/04 18:32
本文摘自:auto start ROS launch script on boot up
- Step 1: Write a script which contains ros commands like roslaunch, roscore, etc.The script would look somewhat like this:
#! /bin/sh source /opt/ros/boxturtle/setup.sh roslaunch hokuyo_node hokuyo_test.launch
Note the second line
source /opt/ros/boxturtle/setup.sh
this is the path of ros bash. We need to source ros setup in our script before we use any of the ros commands.
Step 2: Make the script executable by using command
sudo chmod +x /path/to/script.sh
Step 3: Go to System –>Preferences –> Startup Application
Step 4: click on add application or add tab, a window would popup. Add name say “rosnome”
Step 5: On the given window in the command tab type
gnome-terminal -x /path/to/script.sh
Step 6: type whatever you want on the comment space or leave blank and click
add
Step 7: On the terminal Edit –>profile preferences–>title and command tab select when command exits hold the terminal open
Step 8: reboot system and your application would auto start on boot every time.
Note: It is not possible or rather a bit difficult job to open multiple terminals from a single script so it is recommended to use a single ros launch file for the entire robot which would include everything.
中文参考:http://blog.csdn.net/yiranhaiziqi/article/details/53640523
- ROS开机自启
- ROS的开机自启脚本编写
- ROS:开机自启动
- ROS开机自启动
- ROS开机自启动
- ROS脚本开机自启动
- ROS程序开机自启动
- ros 程序开机自启动
- Ubuntu开机自启ROS节点或执行命令
- ros/ubuntu开机自启动节点
- ros/ubuntu开机自启动节点
- 【ROS总结】Turtlebot ROS 开机自启动设置
- 【ROS总结】Turtlebot ROS 开机自启动设置(2)
- oracle 开机自启
- Android开机自启
- 开机自启
- 开机自启方面
- 应用开机自启
- spring boot 启用原理
- linux Ubuntu常用命令
- 死锁
- linu spi子系统驱动开发笔记之实例(1)
- c语言 字符串和指针部分
- ROS开机自启
- 安卓党福音:国内安卓将统一消息推送标准
- python开发环境配置-文本编辑器emeca-spacemasc的安装
- Gson的简单实用
- 一步步构建对话机器人
- canvas手写签名
- [git]解决 merge 的时候CONFLICT问题
- RxJava
- Django实战之用户验证登录