2018-04-25

作者: 繁星丶落幕 | 来源:发表于2018-04-25 22:03 被阅读0次

1 sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

    2  sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

    3  sudo apt-get update

    4  sudo apt-get install ros-kinetic-desktop-full

    5  sudo apt-get upgrate

    6  sudo apt-get upgrade

    7  sudo apt-get install ros-kinetic-desktop-full

    8  sudo apt-get update

    9  sudo apt-get upgrade

  10  sudo apt-get install ros-kinetic-desktop-full

  11  cd /opt

  12  ls

  13  cd ros

  14  ls

  15  cd

  16  sudo rosdep init

  17  rosdep update

  18  source /opt/ros/kinetic/setup.bash

  19  roscore

  20  ls -a

  21  gedit .bashrc

  22  echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc

  23  gedit .bashrc

  24  source ~/.bashrc

  25  sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential

  26  roscore

  27  rosrun turtlesim turtlesim_node

  28  rosrun turtlesim turtle

  29  rosrun turtlesim turtle_teleop_key

  30  rostopic echo /

  31  rostopic echo /turtle1/cmd_vel

  32  rostopic pub /turtle1/cmd_vel geometry_msgs/Twist

  33  rosrun turtlesim

  34  rosrun turtlesim turtle

  35  rosrun turtlesim turtle_teleop_key

  36  clear

  37  rostopic list

  38  rosnode list

  39  rosnode info /turtlesim

  40  rostopic list

  41  rostopic info /turtle1/cmd_vel

  42  rostopic echo /turtle1/cmd_vel

  43  gedit ,bashrc

  44  gedit .bashrc

  45  rosecore

  46  roscore

  47  rosrun turtlesim turtlesim_node

  48  rosrun turtlesim turtle_teleop_key

  49  rostopic pub /turtle1/cmd_vel

  50  rostopic pub /turtle1/cmd_vel geometry_msgs/Twist "linear:

  51    x: 1.0

  52    y: 0.0

  53    z: 0.0

  54  angular:

  55    x: 0.0

  56    y: 0.0

  57    z: 1.0"

  58  rostopic pub / -r 10 turtle1/cmd_vel geometry_msgs/Twist "linear:

  59    x: 1.0

  60    y: 0.0

  61    z: 0.0

  62  angular:

  63    x: 0.0

  64    y: 0.0

  65    z: 1.0"

  66  rostopic pub -r 10 /turtle1/cmd_vel geometry_msgs/Twist "linear:

  67    x: 1.0

  68    y: 0.0

  69    z: 0.0

  70  angular:

  71    x: 0.0

  72    y: 0.0

  73    z: 1.0"

  74  rosnode list

  75  roscore

  76  roscd

  77  roscd

  78  clear

  79  cd

  80  sudo apt-get install ros-kinetic-universal-robot

  81  rospack profile

  82  roslaunch ur_gazebo ur5.launch

  83  clear

  84  vi .bashrc

  85  echo $ROS

  86  echo $ROS_PACKAGE_PATH

  87  ls

  88  mkdir catkin_ws/

  89  ls

  90  cd catkin_ws/

  91  mkdir src

  92  ls

  93  cd src/

  94  catkin_init_workspace

  95  ls -a

  96  cd ..

  97  catkin_make

  98  ls

  99  cd devel/

  100  ls

  101  source ~/catkin_ws/devel/setup.bash

  102  echo $ROS_PACKAGE_PATH

  103  cd

  104  gedit bashrc

  105  gedit ./bashrc

  106  gedit .bashrc

  107  roscd

  108  cd

  109  echo $ROS_PACKAGE_PATH

  110  echo $ROS_PACKAGE_PATH

  111  mkdir yyshuo_ws

  112  cd yyshuo_ws/

  113  mkdir src

  114  cd src/

  115  catkin_init_workspace

  116  cd ..

  117  echo $ROS_PACKAGE_PATH

  118  catkin_make

  119  source ./devel/setup.bash

  120  echo $ROS_PACKAGE_PATH

  121  ls

  122  source /opt/ros/kinetic/

  123  source /opt/ros/kinetic/setup.bash

  124  catkin_make

  125  source ./devel/setup.bash

  126  echo $ROS_PACKAGE_PATH

  127  source ~/catkin_ws/devel/setup.bash

  128  echo $ROS_PACKAGE_PATH

  129  source ~/yyshuo_ws/devel/setup.bash --extend

  130  echo $ROS_PACKAGE_PATH

  131  gedit .bashrc

  132  cd

  133  gedit .bashrc

  134  source .bashrc

  135  echo $ROS_PACKAGE_PATH

  136  gedit .bashrc

  137  echo $ROS_PACKAGE_PATH

  138  source .bashrc

  139  echo $ROS_PACKAGE_PATH

  140  roslaunch ur_gazebo ur5.launch

  141  sudo apt-get install git

  142  git clone https://github.com/tianbot/yy_drone.git

  143  cd ..

  144  catkin_make

  145  cd ~/yyshuo_ws/

  146  catkin_make

  147  git clone https://github.com/tianbot/yy_drone.git

  148  catkin_make

  149  cd ..

  150  catkin_make

  151  sudo apt-get install ros-kinetic-joy

  152  lsusb

  153  cd /dev/input/

  154  ls

  155  cd

  156  roscd sim_drone

  157  cd ~/yyshuo_ws/src

  158  ls

  159  git clone https://github.com/tianbot/yy_drone.git

  160  cd ..

  161  catkin_make

  162  rospack profile

  163  roslaunch sim_drone test_kaka.launch

  164  roslaunch sim_drone test_kaka.launch | grep "ERROR"

  165  lsusb

  166  roslaunch sim_drone test_kaka.launch

  167  cd ~/yyshuo_ws/src

  168  cd ..

  169  rospack profile

  170  lsusb

  171  cd /dev/input/

  172  ls

  173  roscd sim_drone/

  174  ls

  175  cd launch/

  176  gedit test_kaka.launch

  177  roslaunch sim_drone test_kaka.launch

  178  roslaunch sim_drone test_kaka.launch | grep "ERROR"

  179  gedit test_kaka.launch

  180  roslaunch sim_drone test_kaka.launch

  181  roslaunch sim_drone test_quad.launch

  182  gedit test_kaka.launch

  183  roslaunch sim_drone test_quad.launch

  184  gedit test_quad.launch

  185  roslaunch sim_drone test_quad.launch

  186  cd yyshuo_ws/src/

  187  cd ..

  188  catkin_make

  189  lsusb

  190  cd /dev/input/

  191  ls

  192  cd

  193  roscd simdrone/

  194  roscd sim_drone/

  195  ls

  196  cd launch/

  197  roslaunch sim_drone  test_kaka.launch

  198  roslaunch sim_drone test_kaka.launch | grep "ERROR"

  199  history

  200  lsusb

  201  cd yyshuo_ws/

  202  ls

  203  cd src/

  204  cd ..

  205  catkin_make

  206  roslaunch sim_drone test_kaka.launch

  207  roslaunch sim_drone test_quad.launch

  208  ls

  209  cd /dev/input/

  210  ls

  211  cd yyshuo_ws/

  212  catkin_make

  213  roslaunch sim_drone test_quad.launch

  214  cd /dev/input/

  215  ls

  216  cd

  217  roscd sim_drone/

  218  ls

  219  gedit test_quad.launch

  220  gedit test_kaka.rviz

  221  gedit test_kaka.launch

  222  cd launch/

  223  gedit test_kaka.launch

  224  roslaunch sim_drone test_kaka.launch

  225  history

相关文章

网友评论

    本文标题:2018-04-25

    本文链接:https://www.haomeiwen.com/subject/dbrulftx.html