[Learning ROS]环境配置
程序员文章站
2022-07-12 09:47:59
...
ROS安装步骤见官网。
rqt所有功能包安装:
sudo apt-get install ros-kinetic-rqt*
安装完成后需要在~/.bashrc里配置如下:
(localhost根据自己需要修改ip)
# Set ROS Kinetic
source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash
# Set ROS Network
export ROS_HOSTNAME=localhost
export ROS_MASTER_URI=http://localhost:11311
# Set ROS alias command
alias cw='cd ~/catkin_ws'
alias cs='cd ~/catkin_ws/src'
alias cm='cd ~/catkin_ws && catkin_make'