刚开始使用如下指令:
echo "source /opt/ros/foxy/setup.bash" >> ~/.bashrc
发现其实我的是galactic版本,所以重新设置:
echo "source /opt/ros/galactic/setup.bash" >> ~/.bashrc
还是不对,我的galactic文件下面没有setup.bash文件,后来确认为
echo "source /opt/ros/galactic/setup.sh" >> ~/.bashrc
刚开始使用如下指令:
echo "source /opt/ros/foxy/setup.bash" >> ~/.bashrc
发现其实我的是galactic版本,所以重新设置:
echo "source /opt/ros/galactic/setup.bash" >> ~/.bashrc
还是不对,我的galactic文件下面没有setup.bash文件,后来确认为
echo "source /opt/ros/galactic/setup.sh" >> ~/.bashrc