ubuntu18.04 xavier安装ros
修改rc-local.service
sudo vim /lib/systemd/system/rc-local.service
在其中新添如下字段
[Install]
WantedBy=multi-user.target
Alias=rc-local.service
开启service
systemctl enable rc-local
创建rc.local
sudo touch /etc/rc.local
sudo chmod 777 /etc/rc.local
cat /etc/rc.local
#!/bin/bash
exit 0