optional arguments: -h, --help show this help message and exit --include-hidden-topics Consider hidden topics as well
Commands: bw Display bandwidth used by topic delay Display delay of topic from timestamp in header echo Output messages from a topic find Output a list of available topics of a given type hz Print the average publishing rate to screen info Print information about a topic list Output a list of available topics pub Publish a message to a topic type Print a topic's type
Call `ros2 topic <command> -h` for more detailed usage.
[INFO] [launch]: All log files can be found below /home/er/.ros/log/2026-07-03-11-17-17-203959-er-9929 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [robot_state_publisher-1]: process started with pid [9959] [INFO] [joint_state_publisher_gui-2]: process started with pid [9961] [INFO] [rviz2-3]: process started with pid [9963] [INFO] [slider_control-4]: process started with pid [9965] [robot_state_publisher-1] Link joint2 had 1 children [robot_state_publisher-1] Link joint3 had 1 children [robot_state_publisher-1] Link joint4 had 1 children [robot_state_publisher-1] Link joint5 had 1 children [robot_state_publisher-1] Link joint6 had 1 children [robot_state_publisher-1] Link joint6_flange had 0 children [robot_state_publisher-1] [INFO] [1783048639.394243790] [robot_state_publisher]: got segment joint1 [robot_state_publisher-1] [INFO] [1783048639.394549934] [robot_state_publisher]: got segment joint2 [robot_state_publisher-1] [INFO] [1783048639.394636748] [robot_state_publisher]: got segment joint3 [robot_state_publisher-1] [INFO] [1783048639.394680932] [robot_state_publisher]: got segment joint4 [robot_state_publisher-1] [INFO] [1783048639.394718784] [robot_state_publisher]: got segment joint5 [robot_state_publisher-1] [INFO] [1783048639.394756061] [robot_state_publisher]: got segment joint6 [robot_state_publisher-1] [INFO] [1783048639.394793246] [robot_state_publisher]: got segment joint6_flange [joint_state_publisher_gui-2] [INFO] [1783048643.531952578] [joint_state_publisher]: Waiting for robot_description to be published on the robot_description topic... [joint_state_publisher_gui-2] [INFO] [1783048643.610075662] [joint_state_publisher]: Centering [joint_state_publisher_gui-2] [INFO] [1783048644.027434405] [joint_state_publisher]: Centering [rviz2-3] [INFO] [1783048644.403594556] [rviz2]: Stereo is NOT SUPPORTED [rviz2-3] [INFO] [1783048644.404085494] [rviz2]: OpenGl version: 3.1 (GLSL 1.4) [rviz2-3] [INFO] [1783048647.151156049] [rviz2]: Stereo is NOT SUPPORTED [slider_control-4] array('d', [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]) [slider_control-4] array('d', [-0.0004613180000001549, -0.0004613180000001549, -0.0004613180000001549, -0.0004613180000001549, -0.0004613180000001549, -0.0004613180000001549])
실제 장비가 움직이는진 모르겠지만 뜨긴한다.
$ ros2 launch mycobot_280 test.launch.py [INFO] [launch]: All log files can be found below /home/er/.ros/log/2026-07-03-11-23-38-154196-er-10335 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [robot_state_publisher-1]: process started with pid [10367] [INFO] [joint_state_publisher_gui-2]: process started with pid [10369] [INFO] [rviz2-3]: process started with pid [10371] [robot_state_publisher-1] Link joint2 had 1 children [robot_state_publisher-1] Link joint3 had 1 children [robot_state_publisher-1] Link joint4 had 1 children [robot_state_publisher-1] Link joint5 had 1 children [robot_state_publisher-1] Link joint6 had 1 children [robot_state_publisher-1] Link joint6_flange had 0 children [robot_state_publisher-1] Link env had 0 children [robot_state_publisher-1] [INFO] [1783049020.099496084] [robot_state_publisher]: got segment env [robot_state_publisher-1] [INFO] [1783049020.099850118] [robot_state_publisher]: got segment joint1 [robot_state_publisher-1] [INFO] [1783049020.099978210] [robot_state_publisher]: got segment joint2 [robot_state_publisher-1] [INFO] [1783049020.100036728] [robot_state_publisher]: got segment joint3 [robot_state_publisher-1] [INFO] [1783049020.100077783] [robot_state_publisher]: got segment joint4 [robot_state_publisher-1] [INFO] [1783049020.100116357] [robot_state_publisher]: got segment joint5 [robot_state_publisher-1] [INFO] [1783049020.100152116] [robot_state_publisher]: got segment joint6 [robot_state_publisher-1] [INFO] [1783049020.100192041] [robot_state_publisher]: got segment joint6_flange [rviz2-3] [INFO] [1783049023.998647585] [rviz2]: Stereo is NOT SUPPORTED [rviz2-3] [INFO] [1783049023.999256988] [rviz2]: OpenGl version: 3.1 (GLSL 1.4) [joint_state_publisher_gui-2] [INFO] [1783049024.105868138] [joint_state_publisher]: Waiting for robot_description to be published on the robot_description topic... [joint_state_publisher_gui-2] [INFO] [1783049024.137961673] [joint_state_publisher]: Centering [joint_state_publisher_gui-2] [INFO] [1783049024.490631764] [joint_state_publisher]: Centering [rviz2-3] [INFO] [1783049026.693983324] [rviz2]: Stereo is NOT SUPPORTED
# The default serial port name of mycobot 280-PI version is "/dev/ttyAMA0", and the baud rate is 1000000. ros2 launch mycobot_280pi slider_control.launch.py
# The default serial port name of mycobot 280-PI version is "/dev/ttyAMA0", and the baud rate is 1000000. ros2 launch mycobot_280pi teleop_keyboard.launch.py
G90 // 절대좌표 모드(원점 기준 좌표 사용) G4 S1 // 1초 대기 G01 X170 Y0 Z60 F15 // X170 Y0 Z60 위치로 직선 이동, 이송속도 F15 G4 S1 // 1초 대기 G0 X195.54 Y-32.03 // 빠른 이동으로 별의 시작점으로 이동 G0 Z49.00 // 작업 높이(Z=49)까지 하강 G1 X195.54 Y-9.66 // 직선 가공 G1 X215.61 Y-2.75 // 오른쪽 위 꼭짓점으로 이동 G1 X195.54 Y4.16 // 왼쪽으로 이동 G1 X195.54 Y26.52 // 위쪽 꼭짓점으로 이동 G1 X183.14 Y8.43 // 왼쪽 위 대각선 이동 G1 X163.08 Y15.34 // 왼쪽 꼭짓점으로 이동 G1 X175.48 Y-2.75 // 중앙 방향으로 이동 G1 X163.08 Y-20.84 // 왼쪽 아래 꼭짓점으로 이동 G1 X183.14 Y-13.93 // 오른쪽 아래 대각선 이동 G1 X195.54 Y-32.03 // 시작점으로 복귀하여 도형 완성 G0 Z70.00 // 공구를 안전 높이(Z=70)로 상승 G0 X189.34 Y-2.75 // 다음 작업 또는 대기 위치로 빠른 이동 M21 P0 // 제조사 전용 M코드(예: 펜, 그리퍼, 디지털 출력 등 장비별 기능)