济南seo整站外包,北京又不让出京了,网站怎样做优惠卷,网站备案公司1、书写sh脚本文件
每隔5秒钟启动一个launch文件#xff0c;也可以直接在一个launch文件中启动多个#xff0c;这里为了确保启动顺利#xff0c;添加了一些延时
#! /bin/bash
### BEGIN INIT
sleep 5
gnome-terminal -- bash -c source /opt/ros/melodic/setup.bash…1、书写sh脚本文件
每隔5秒钟启动一个launch文件也可以直接在一个launch文件中启动多个这里为了确保启动顺利添加了一些延时
#! /bin/bash
### BEGIN INIT
sleep 5
gnome-terminal -- bash -c source /opt/ros/melodic/setup.bash;source /home/abot/abot_ws/devel/setup.bash;roslaunch starrobot_bringup minimal.launch
sleep 5
gnome-terminal -- bash -c source /opt/ros/melodic/setup.bash;source /home/abot/abot_ws/devel/setup.bash;roslaunch robot_bringup px4.launch
sleep 5
gnome-terminal -- bash -c source /opt/ros/melodic/setup.bash;source /home/abot/abot_ws/devel/setup.bash;rosrun pwm_tran_cmd pwm_tran_cmd
sleep 5
wait
exit 02、给与sh文件777权限
sudo chmod 777 xxx.sh3、添加到自启动列表中
1、进入主菜单界面在搜索框中输入startup applications 2、按照如下提示加入后重启启动即可实现自启动