lemueltra

aROS

Oct 8th, 2019
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. cd ~/catkin_ws
  2. catkin_make
  3.  
  4.  
  5. roscore
  6. cd ~/catkin_ws
  7. source ./devel/setup.bash
  8.  
  9.  
  10. rosrun beginner_tutorials talker (C++)
  11. rosrun beginner_tutorials talker.py (Python) [chmod +x talker.py]
  12.  
  13. chmod u+x my_python_file.py
  14.  
  15. export LC_NUMERIC="en_US.UTF-8"
  16.  
  17. roscore
  18. rosrun rosserial_python serial_node.py /dev/ttyACM0
  19. rosrun ros_robot controle.py
  20.  
  21.  
  22. JANELA ROSCORE MESTRE ---------
  23. export ROS_IP=192.168.1.101
  24. roscore
  25. ---------
  26.  
  27. JANELA MESTRE ---------
  28. export ROS_IP=192.168.1.101
  29. export ROS_MASTER_URI=http://192.168.1.101:11311
  30. rosrun rospy_tutorials listener.py
  31. ---------
  32.  
  33. JANELA ESCRAVO ---------
  34. export ROS_MASTER_URI=http://192.168.1.101:11311
  35. export ROS_IP=192.168.1.100
  36. rosrun rospy_tutorials talker.py
  37. ---------
Advertisement
Add Comment
Please, Sign In to add comment