git拉取服务器老版本上位机代码并编译

  保存环境变量:vi ~/.bashrc

 source /opt/ros/kinetic/setup.bash

安装rqt

sudo apt-get install  -y ros-kinetic-effort-controllers  ros-kinetic-hector-* ros-kinetic-gazebo-ros-control ros-kinetic-joint-state-controller ros-kinetic-qt-ros libudev-dev libudev1

 

 310  git clone  [email protected]:/software/git/simulation_structure.git
  311  ls
  312  cd simulation_structure/
  313  ls
  314  git log  --oneline
  315  git checkout 04cd5f5
  316  cd src/
  317  ls
  318  rm -rf  sensor_cmd_communication

source /opt/ros/kinetic/setup.bash

  319  catkin_create_pkg  sensor_cmd_communication rospy roscpp
  320  cd ../

sudo apt-get install  -y ros-kinetic-effort-controllers  ros-kinetic-hector-* ros-kinetic-gazebo-ros-control ros-kinetic-joint-state-controller ros-kinetic-qt-ros libudev-dev libudev1

  321 catkin_make
  322  rm -rf  build/ devel/
  323  git checkout .
  324  catkin_make
  325  git checkout master
  326  catkin_make

 

 

你可能感兴趣的:(git拉取服务器老版本上位机代码并编译)