标签:star 守护进程 开机启动 入门 启动 www. ack inux pac
ROS中提供了开机自动启动节点的工具robot_upstart,借助linux systemd工具实现守护进程开机启动功能.
sudo apt-get install ros-kinetic-robot-upstart
rosrun robot_upstart install package_name/launch/start.launch --logdir /$HOME/.ros/log --job mine_job
sudo systemctl daemon-reload && sudo systemctl start mine_job
restart job:
sudo systemctl restart mine_job
stop job:
sudo systemctl stop mine_job
标签:star 守护进程 开机启动 入门 启动 www. ack inux pac
原文地址:https://www.cnblogs.com/objectDetect/p/9081158.html