ROS
ros 기본 명령어
hellobird
2019. 5. 11. 01:35
1 2 3 4 5 6 7 8 9 | rosrun <패키지> <노드이름> rqt_graph rviz rqt rqt_plot<message name> // ex) rqt_plot /turtle1/pose/ catkin_create_pkg <pkg_name> <dependency_pkg> ex)catkin_create_pkg ros_tutorials_topic message_generation std_msgs roscp catkin_make //패키지 컴파일 roscd ros_tutorials_topic/src rostopic list //토픽 리스트 출력 rostopic pub <nameOfTopic> <typeOfTopic> <value> rostopic echo /ros_tutorial_ms //토픽의 내용을 raw 데이터로 출력 rosservice call <nameOfService> <pram1> <pram2> //ros_tutorial_srv 10 2 rosparam list //현재 로스 마스터에 있는 파라미터 목록을 출력한다. rosparam set <nameOfParam> <valueToSet> //calculation_method 2 roslaunch <pkg_name> <*.launch> --screen //여러 노드를 실행할때 그 결과를 보고 싶으면 --screen rosnode list // 현재 마스터에 연결된 노드들의 목록을 출력 check_urdf <nameOfUrdfFile> // validate urdf urdf_to_graphiz <nameOfUrdfFile> // check tree diagram of links | cs |