3 Star 0 Fork 0

UCAS-SAS-Robot-Team/Tailored_Target_Jun_for_2024

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
setup_autolaunch.sh 603 Bytes
一键复制 编辑 原始数据 按行查看 历史
sas 提交于 2024-04-04 11:10 . Update
mydir=`pwd`
echo "[Unit]
Description=ROS Launch Service
After=network.target
[Service]
Type=simple
User=${USER}
ExecStart=/bin/bash -c \"source /opt/ros/foxy/setup.bash && source ${mydir}/install/setup.bash && ros2 launch rm_vision_bringup all.launch.py\"
WorkingDirectory=${mydir}
[Install]
WantedBy=default.target
" | sudo tee /etc/systemd/system/ros_launch.service
sudo echo "The file content:"
sudo cat /etc/systemd/system/ros_launch.service
sudo systemctl daemon-reload
sudo systemctl enable ros_launch.service
sudo systemctl start ros_launch.service
sudo systemctl status ros_launch.service
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ucas-sas-robot-team/tailored-target-jun-for-2024.git
git@gitee.com:ucas-sas-robot-team/tailored-target-jun-for-2024.git
ucas-sas-robot-team
tailored-target-jun-for-2024
Tailored_Target_Jun_for_2024
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385