标签:web launch sudo detection 开机 prometheus 自启动 ROS amov
1、安装robot-upstart,命令如下
sudo apt-get install ros-melodic-robot-upstart
2、安装成功后,直接运行如下指令
rosrun robot_upstart install prometheus_detection/launch/web_cam0.launch
其中prometheus_detection是ros的功能包,launch/web_cam0.launch是运行文件的路径
3 、运行完第2步以后终端会显示如下图所示信息
然后在终端中输入途中框起来的内容,即
sudo systemctl daemon-reload && sudo systemctl start prometheus
到此就配置完成了,简单测试下,在终端输入ps -aux | grep prometheus_detection
amov@siki:~$ ps -aux | grep prometheus_detection
amov 2371 0.2 1.3 1015912 71492 ? Ssl 16:57 0:02 /home/amov/Prometheus/devel/lib/prometheus_detection/web_cam __name:=web_cam __log:=/tmp/e9492566-4e96-11ec-a391-455b058e8f53/web_cam-2.log
amov 2986 0.0 0.0 16188 1096 pts/0 S+ 17:15 0:00 grep --color=auto prometheus_detection
已经可以查到该进程了
4、重启计算机,重启后,打开终端输入rosnode list,如图,自启动完成
5、启动&停止
sudo service pibot start
sudo service pibot stop
标签:web,launch,sudo,detection,开机,prometheus,自启动,ROS,amov 来源: https://blog.csdn.net/weixin_45777375/article/details/121564718
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。