로그인 해서 쓰니 둘다 쿼터가 연돈된다.

그런데 4:20에 리셋된다는데

 

웹에서는 3:50에 재설정된다고 (3시 53분이라고!) 써있는데

시간이 지나서 해보려는데도 안된다. 야 30분 계산 어따 빼먹었어?

 

그 와중에 5시간 쿼터에서 100% 쓰니 주간 한도 11%

100% 꾹꾹 눌러 쓰면

10번 조금 못미치게 쓸수 있으니

오전 / 오후 해서 2번. 주 5일 겨우 쓸수 있겠네

'프로그램 사용 > ai 프로그램' 카테고리의 다른 글

회사 클로드 결제  (0) 2026.07.03
gemini cli 안녕~?  (0) 2026.07.01
mogrify를 이용한 이미지 증강, 배경색 설정  (0) 2026.06.25
local llm - mcp  (0) 2026.06.20
llama-swap 구현 (채팅)  (0) 2026.06.18
Posted by 구차니

크이전에 결제한 적이 있어서 카드 번호가 있다보니

별다른 절차없이 결제 하기 누르고 카드 고르니 끝.

전사적으로 결제하게 한게 2년 정도 지났는데

그때도 3달 정도 결제하고 쓰질 않아서 돈 아까워서 없앴다가

이제 쓸일이 좀 생겨서 결제!

 

2024.11.22 - [개소리 왈왈/인공지능] - claude 구독 해제

'프로그램 사용 > ai 프로그램' 카테고리의 다른 글

claude.ai / claude code  (0) 2026.07.03
gemini cli 안녕~?  (0) 2026.07.01
mogrify를 이용한 이미지 증강, 배경색 설정  (0) 2026.06.25
local llm - mcp  (0) 2026.06.20
llama-swap 구현 (채팅)  (0) 2026.06.18
Posted by 구차니
embeded/robot2026. 7. 3. 12:25

일단은 micro HDMI 연결해서 시도.

 

다행히 x11 forwarding으로 되네. 모니터 안달아도 되겠다

ros2shell
ros2 run turtlesim turtlesim_node
ros2 run turtlesim turtle_teleop_key

 

하라는 대로 해보면 아래처럼 나온다.

ssh로 해서 귀찮아서 백그라운드로 돌리고 쑈하는 중

G(gola), B(?) 누르면 아래처럼 메시지가 나온다.

(ros2 galactic py3)er@er:~$ ros2 run turtlesim turtlesim_node
[INFO] [1783047470.975415679] [turtlesim]: Starting turtlesim with node name /turtlesim
[INFO] [1783047470.985410507] [turtlesim]: Spawning turtle [turtle1] at x=[5.544445], y=[5.544445], theta=[0.000000]
^Z
[1]+  Stopped                 ros2 run turtlesim turtlesim_node
(ros2 galactic py3)er@er:~$ bg
[1]+ ros2 run turtlesim turtlesim_node &
(ros2 galactic py3)er@er:~$ ros2 run turtlesim turtle_teleop_key
Reading from keyboard
---------------------------
Use arrow keys to move the turtle.
Use G|B|V|C|D|E|R|T keys to rotate to absolute orientations. 'F' to cancel a rotation.
'Q' to quit.
[INFO] [1783047541.329042626] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047541.872528190] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047541.888733657] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047541.904818475] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047541.919834899] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047541.952188870] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047541.984665508] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.016009140] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.048402795] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.080809062] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.112165583] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.144652053] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.176082352] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.192223411] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.224715381] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047542.256142236] [turtlesim]: Rotation goal completed successfully
[WARN] [1783047543.335142919] [turtlesim]: Rotation goal received before a previous goal finished. Aborting previous goal
[INFO] [1783047543.806747242] [turtlesim]: Rotation goal completed successfully
[WARN] [1783047545.833930732] [turtlesim]: Rotation goal received before a previous goal finished. Aborting previous goal
[INFO] [1783047545.834608550] [turtlesim]: Rotation goal completed successfully
[INFO] [1783047547.348717894] [turtlesim]: Rotation goal completed successfully

 

B 눌러서 살짝 돌아간 거북이

 

 

 

실행하면 먼가 나오는데

(ros2 galactic py3)er@er:~$ rqt_graph

 

hide 쪽 다 끄니 먼가 좀 나온다.

 

아니면 위에 topic을 적어주면 먼가 나온다.

[링크 : https://m.blog.naver.com/zeta0807/221775210962]

 

-v 옵션  줘서 topic list를 하면 위의 그래프와 동일한 내용이 나온다.

(ros2 galactic py3)er@er:~$ ros2 topic -h
usage: ros2 topic [-h] [--include-hidden-topics] Call `ros2 topic <command> -h` for more detailed usage. ...

Various topic related sub-commands

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.

(ros2 galactic py3)er@er:~$ ros2 topic list
/parameter_events
/rosout
/turtle1/cmd_vel
/turtle1/color_sensor
/turtle1/pose

(ros2 galactic py3)er@er:~$ ros2 topic list -v
Published topics:
 * /parameter_events [rcl_interfaces/msg/ParameterEvent] 2 publishers
 * /rosout [rcl_interfaces/msg/Log] 2 publishers
 * /turtle1/color_sensor [turtlesim/msg/Color] 1 publisher
 * /turtle1/pose [turtlesim/msg/Pose] 1 publisher

Subscribed topics:
 * /parameter_events [rcl_interfaces/msg/ParameterEvent] 2 subscribers
 * /turtle1/cmd_vel [geometry_msgs/msg/Twist] 1 subscriber

[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/12-ApplicationBaseROS/12.2-ROS2/12.2.2-基础教程.html]

 

하라는 대로 하니 되긴한다. 좋네~

(ros2 galactic py3)er@er:~/colcon_ws$ colcon build --symlink-install
Starting >>> mycobot_description
Starting >>> mycobot_interfaces
Starting >>> mypalletizer_interfaces                                                       
Starting >>> mecharm_interfaces
Finished <<< mycobot_description [9.82s]                                                              
[Processing: mecharm_interfaces, mycobot_interfaces, mypalletizer_interfaces]                                             
[Processing: mecharm_interfaces, mycobot_interfaces, mypalletizer_interfaces]                                                 
Finished <<< mecharm_interfaces [1min 10s]                                              
[Processing: mycobot_interfaces, mypalletizer_interfaces]                               
[Processing: mycobot_interfaces, mypalletizer_interfaces]                               
Finished <<< mycobot_interfaces [2min 26s]                                               
Starting >>> mycobot_communication
Starting >>> mecharm_communication                                                                                    
Finished <<< mypalletizer_interfaces [2min 28s]                                                                           
Starting >>> mypalletizer_communication                                                               
Finished <<< mycobot_communication [10.3s]                                                                  
Starting >>> mybuddy
Starting >>> mycobot_280                                                                                                     
Finished <<< mecharm_communication [10.4s]                                                                      
Starting >>> mecharm
Finished <<< mypalletizer_communication [10.6s]                                                                        
Starting >>> mecharm_pi                                                                        
Finished <<< mecharm [13.1s]                                                                                          
Starting >>> mycobot_280jn
Finished <<< mybuddy [13.4s]                                                                                               
Starting >>> mycobot_280pi
Finished <<< mycobot_280 [13.5s]                                                                             
Starting >>> mycobot_320                                                                                    
Finished <<< mecharm_pi [11.9s]                                                                                 
Starting >>> mycobot_320pi                                                                                  
Finished <<< mycobot_280jn [12.5s]                                                                                
Starting >>> mypalletizer_260
Finished <<< mycobot_320 [12.7s]                                                                                 
Finished <<< mycobot_280pi [14.6s]                                                                               
Starting >>> mypalletizer_260_pi
Starting >>> ultraarm
Finished <<< mycobot_320pi [11.3s]                                                                                         
Finished <<< mypalletizer_260 [10.2s]                                                                              
Finished <<< mypalletizer_260_pi [10.3s]                                                  
Finished <<< ultraarm [10.3s]

Summary: 18 packages finished [3min 17s]
(ros2 galactic py3)er@er:~/colcon_ws$ source install/setup.bash
(ros2 galactic py3)er@er:~/colcon_ws$ ros2 launch mycobot_280pi slider_control.launch.py

[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

 

[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/12-ApplicationBaseROS/12.2-ROS2/12.2.4-rviz介绍及使用/myCobot-280.html]

'embeded > robot' 카테고리의 다른 글

mycobot ros1/ros2  (0) 2026.07.02
gcode (g-code)  (0) 2026.07.01
mycobot280 pi / TCP(tool center point)  (0) 2026.06.30
mycobot 280 pi / python  (0) 2026.06.29
왼손 오른손 좌표계  (0) 2026.06.22
Posted by 구차니

유튜브 쇼츠로 터보분자펌프를 보면서 신기해했는데

그정도 까진 아니어도 진공펌프를 다뤄야 할 날이 오게 될 줄이야 -_-

 

러핑 펌프라고 해서 무난하게(?) 사용하는 진공 펌프가 있고

그 하위에 로터리 베인 / 로터리 피스톤 / 수착 가 있는데

수착(sorption)은 다공성 물질등으로 기체를 붙여서 진공으로 만드는 녀석이고

진공을 만들어서 고진공 상태에서 작동이 가능할 만한 녀석으로 만드는건 로터리 베인과 / 로터리 피스톤 정도인것 같다.

 

1mbar가 0.750062 torr 라고 하고

대기압은 1atm = 1013.25 mbar = 760 torr로 정의된다.

 

아무튼 로터리 펌프라고 해도 10^-3~10^-4 mbar 까지는 달성이 가능해서

반도체 같은게 아니라면 충분하지 않을까 싶을 정도

[링크 : https://m.blog.naver.com/iotsensor/221622716455]

 

오일리스 진공펌프

[링크 : https://blog.naver.com/sugarfree/222472452693]

'하드웨어 > 모터(motor)' 카테고리의 다른 글

하모닉 드라이브, 사이클로이드 드라이브  (0) 2026.01.13
스텝 모터 2상 4상  (0) 2025.11.28
NEMA 17 스텝 모터?  (0) 2025.02.11
MG-996R 하이토크 디지털 서보  (0) 2025.01.07
로봇 다리  (0) 2021.07.21
Posted by 구차니

메모리는 왜 시리얼로 전송안하나 해서 찾아보다가 발견한

meta(구 facebook) 에서 CXL을 이용해서 구형 서버의 DDR4 메모리를 DDR5 시스템에 연결해서 사용하는 사례

[링크 : https://www.tomshardware.com/pc-components/dram/meta-fights-soaring-hardware-costs-by-reusing-old-ddr4-server-memory-in-new-ddr5-only-servers-custom-cxl-2-0-chip-marries-legacy-ddr4-2400-with-cutting-edge-ddr5-6400]

 

그래서(!) nvidia가 밀고 있다는 socamm이 문득 궁금해졌는데

요약하면 LPDDR5X 기반이라서 저전력이고

SOC와 통합해서 DDR5 대비 더 높은 대역폭으로 연결할수 있는 장점이 있다고 한다.

 

일단 LP(low power) 라서 그런진 모르겠지만

TTL 전압 오르고 내리는 시간이 짧다는 것은 더 빠른 클럭으로 작동이 가능하다는 의미이기도 하니까

더 높은 클럭, 더 넓은 메모리 대역폭을 위해 저전력 기술을 서버로 끌어오는 형상이 되는게 좀 신기하기도 하다.

 

[링크 : https://tristanchoi.tistory.com/702]

[링크 : https://semiconductor.samsung.com/kr/dram/module/socamm2/]

[링크 : https://wisdom15.tistory.com/entry/LPDDR-vs-데스크톱-DRAM-속도-차이-–-실사용-벤치마크-결과]

[링크 : https://m.blog.naver.com/mktgguy/222040001965]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

runpod 조사중  (0) 2026.07.01
cpu 줍줍  (0) 2026.06.30
포맷할때가 되었나..  (0) 2026.06.19
iptime as 접수  (0) 2026.06.15
asrock B360M pro4  (0) 2026.05.01
Posted by 구차니
embeded/robot2026. 7. 2. 18:20

설치는 나중에 해보고 일단 사용법이나 찾아보는 중

매번 해보려고 해도 잘 안되서 답답하네

장치에서 깔려있는걸로 바로 시도해볼수 있나보다.

# 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



[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/12-ApplicationBaseROS/12.2-ROS2/12.2.4-rviz介绍及使用/myCobot-280.html]

 


# 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

Mycobot Teleop Keyboard Controller
---------------------------
Movimg options(control coordinations [x,y,z,rx,ry,rz]):
              w(x+)

    a(y-)     s(x-)     d(y+)

    z(z-) x(z+)

u(rx+)   i(ry+)   o(rz+)
j(rx-)   k(ry-)   l(rz-)

Gripper control:
    g - open
    h - close

Other:
    1 - Go to init pose
    2 - Go to home pose
    3 - Resave home pose
    q - Quit

currently:    speed: 10    change percent: 2



[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/12-ApplicationBaseROS/12.2-ROS2/12.2.4-rviz介绍及使用/myCobot-280.html]

[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/12-ApplicationBaseROS/12.2-ROS2/12.2.2-基础教程.html]

    [링크 : https://docs.elephantrobotics.com/docs/gitbook-en/12-ApplicationBaseROS/12.2-ROS2/12.2.3-ROS2介绍.html]

 

'embeded > robot' 카테고리의 다른 글

elephant robototics mycobot ros2  (0) 2026.07.03
gcode (g-code)  (0) 2026.07.01
mycobot280 pi / TCP(tool center point)  (0) 2026.06.30
mycobot 280 pi / python  (0) 2026.06.29
왼손 오른손 좌표계  (0) 2026.06.22
Posted by 구차니

문제는 새벽 2시 까지 하고 있었단 거지.. -_-

'게임 > 닌텐도 스위치' 카테고리의 다른 글

니어 오토마타 2회차 진행중  (0) 2026.06.29
조이콘 셋트 수리  (0) 2026.06.28
니어 오토마타 1회차 끝  (0) 2026.06.27
니어 오토마타 공략(?) 팁  (2) 2026.06.25
닌텐도 스위치 1 지름  (0) 2026.06.23
Posted by 구차니

PID수동튜닝 방법으로 ziegler-nicholas 방법이 있다고 하는데

[링크 : https://codeparadise.tistory.com/549]

 

계단응답곡선

임계이득 -> 임계주기

[링크 : https://m.blog.naver.com/dkwltmdgus/220939484841]

 

I 값과 D 값을 0 으로 두고

P값을 0부터 최대값 까지 증가 시키면서

잘 찾아 보란건가..?!?

[링크 : https://en.wikipedia.org/wiki/Ziegler%E2%80%93Nichols_method]

[링크 : https://blog.naver.com/serimo/221415461726]

[링크 : https://www.ni.com/docs/ko-KR/bundle/labview-pid-and-fuzzy-logic-toolkit-api-ref/page/lvpidmain/ziegnichforms.html]

'이론 관련 > 전기 전자' 카테고리의 다른 글

xgboost, CALCE  (0) 2026.04.27
CPO - Co Packaged Optics  (0) 2026.04.22
엔코더 파형  (0) 2026.01.12
엔코더 채터링?  (0) 2026.01.11
쇼트키 다이오드  (0) 2025.11.24
Posted by 구차니

pid 관련 검색하다가

드론 pid 값을 어떻게 찾아 해서 찾아보는데

pixhawk나 ardupilot 에서 autotune이라는 이름으로 제공한다고 해서 검색

[링크 : https://m.blog.naver.com/sb1214/220393344607]

  [링크 : https://m.blog.naver.com/sb1214/220389939185]

 

아무튼 된다는 보장도 없다지만 없는것 보단 나으려나?

[링크 : https://ardupilot.org/copter/docs/autotune.html]

'개소리 왈왈 > 쿼드콥터(RC)' 카테고리의 다른 글

hyper go no.14210 1:14 rc  (0) 2025.05.11
pixhawk  (5) 2024.10.07
드론 하나 획득  (0) 2020.11.07
RC카 분해 2  (2) 2020.07.24
오늘의 지름 - 메카넘 휠 RC카  (0) 2020.07.23
Posted by 구차니
embeded/robot2026. 7. 1. 16:05

어떻게 카와이하게 별 모양을 따나 코드 분석

gpt 에서 분석 떠넘김 ㅋㅋ

 

단위가 없네.. 

G20 / G21 하면 인치 / 밀리미터로 되는 듯.

[링크 : https://reprap.org/wiki/G-code#G20:_Set_Units_to_Inches]

[링크 : https://reprap.org/wiki/G-code#G21:_Set_Units_to_Millimeters]

 

G90 으로 절대좌표 모드로 설정하고 그리는데

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코드(예: 펜, 그리퍼, 디지털 출력 등 장비별 기능)

[링크 : https://github.com/elephantrobotics/pymycobot/blob/main/demo/myCobot_280_demo/five_point_star.nc]

 

초기 위치와 끝나고 돌아오는 것을 제외하고 그려보면

아래처럼 5각형 별이 그려진다. 순서는 대충 눈으로 따라가면 외곽선만 따라가는 것 같다.

[링크 : https://reprap.org/wiki/G-code]

'embeded > robot' 카테고리의 다른 글

elephant robototics mycobot ros2  (0) 2026.07.03
mycobot ros1/ros2  (0) 2026.07.02
mycobot280 pi / TCP(tool center point)  (0) 2026.06.30
mycobot 280 pi / python  (0) 2026.06.29
왼손 오른손 좌표계  (0) 2026.06.22
Posted by 구차니