
LeKiwiÃGemini Robotics-ER 1.5ã§ãããã³ã°ããŠã¿ã
Gemini Robotics-ER 1.5ãã¬ãã¥ãŒAPIã䜿ã£ãŠLeKiwiã§ãããã³ã°ã¿ã¹ã¯ã詊ããå 容ããŸãšããŸããã
å®éšç°å¢
LeKiwi ã¢ãŒã ã¯SO-101ã®Pro Kit
Gemini Robotics-ER 1.5ãã¬ãã¥ãŒ
以äžã®ãã¥ãŒããæŽãã¿ã¹ã¯
1蟺2cmãããã®ãã¥ãŒããæŽãã§ã«ãŽã«å
¥ããã¿ã¹ã¯

å®è£ ãããŒ
åæ¹ã«ã¡ã©ç»åããå¯Ÿè±¡ãæ€åºãã察象ãç»åäžã®ããã¯ã¢ããäœçœ®ã«å ¥ãããã«å°è»ã埮移å/æåã§äœçœ®èª¿æŽãè¡ãã調æŽåŸã¯äºååé²ã®ã¢ãŒã·ã§ã³ãåçããŠææããŸãã

ããã³ãç»åã Gemini ã«æž¡ããŠæ€åºäžèЧãååŸ

Gemini Robotics-ER 1.5ã«ã«ã¡ã©ã®ç»åãæž¡ãã2次å 座æšãšç©äœåãåºåãããã
urrentObservation: {"detections": [{"label": "green block", "x": 0.329, "y": 0.672}, {"label": "laptop", "x": 0.184, "y": 0.308}, {"label": "sticker on laptop", "x": 0.269, "y": 0.232}, {"label": "sign with pink hair graphic", "x": 0.396, "y": 0.108}, {"label": "black sign with white text", "x": 0.701, "y": 0.22}, {"label": "blue sign", "x": 0.678, "y": 0.1}, {"label": "exit sign", "x": 0.909, "y": 0.112}, {"label": "computer mouse", "x": 0.937, "y": 0.353}, {"label": "cables", "x": 0.577, "y": 0.267}, {"label": "door handle", "x": 0.876, "y": 0.198}], "target_window": {"x": [0.31, 0.35], "y": [0.66, 0.7]}, "target_center": {"x": 0.5, "y": 0.6}}æ€åºäžèЧãšç®æšç¯å²ãããã³ããã«å«ãã
以äžã®ããã³ããã«æ€åºäžèЧãå«ããŸãã
You are a robotics planner for the ALIGNMENT PHASE only.
Goal: Move/rotate so the chosen target enters the window xâ[0.31,0.35], yâ[0.66,0.70].
Available functions (use exactly these names and positional args order):
- rotate(theta: float, seconds: float)
- move(x: float, y: float, theta: float, seconds: float)
- pickup()
Return ONLY a JSON array. Each item is {"function": <name>, "args": [..], "reason_ja": "<çãæ¥æ¬èªã®çç±>"}. No prose.
Policy:
1) A detections list is provided in CurrentObservation.detections as [{label,x,y},...].
Choose ONE target whose label best matches the instruction (e.g., 'green block').
2) Plan small move()/rotate() steps to bring the target into xâ[0.31,0.35] and yâ[0.66,0.70].
Movement rules (scaled with large-swing when far):
- Define center_x=(target_window.x[0]+target_window.x[1])/2 and center_y=(target_window.y[0]+target_window.y[1])/2.
- Compute dx = center_x - detected_x and dy = center_y - detected_y.
- step_x: if |dx| >= 0.06 â step_x = clip(round(dx*0.35, 3), -0.050, 0.050); else â step_x = clip(round(dx*0.25, 3), -0.020, 0.020).
if abs(step_x) < 0.001 then step_x = sign(dx)*0.001.
- step_y: if |dy| >= 0.08 â step_y = clip(round(dy*0.45, 3), -0.080, 0.080); else â step_y = clip(round(dy*0.25, 3), -0.020, 0.020).
if abs(step_y) < 0.001 then step_y = sign(dy)*0.001.
(round(v,3) = 0.001 resolution; clip caps the maximum swing; farther targets allow larger swings).
- Use move(x=step_x, y=step_y, theta=0, seconds=1.0) repeatedly; prefer multiple small steps over one large step.
- Note: smaller detected y means farther; larger detected y means nearer.
reason_ja style (strict):
- Write 'reason + action' per axis in clear Japanese. Use only å³/å·Š/å/åŸã and a 3-decimal magnitude.
- For x axis: if detected_x < center_x â '察象ãå·Šã«ãããããå·Šãž{abs(step_x):.3f}ç§»åãã' ;
if detected_x > center_x â '察象ãå³ã«ãããããå³ãž{abs(step_x):.3f}ç§»åãã'.
- For y axis: if detected_y < center_y â '察象ãããã¯ã¢ããããžã·ã§ã³ãã奥ã«ãããããåãž{abs(step_y):.3f}ç§»åãã' ;
if detected_y > center_y â '察象ãããã¯ã¢ããããžã·ã§ã³ããæåã«ãããããåŸããž{abs(step_y):.3f}ç§»åãã'.
- If both axes move, join clauses with 'ã' and end with 'ç§»åãã'. Avoid using 奥/æå or mixing opposite terms.
If the target cannot be found in detections, do NOT move forward/backward; use rotate with POSITIVE theta (left/CCW) to search, e.g., rotate(20.0,1.0).
Rotation convention: theta>0 = counter-clockwise, theta<0 = clockwise.
3) If the chosen target is already within xâ[0.31,0.35] and yâ[0.66,0.70], return EXACTLY [{"function":"pickup","args":[], "reason_ja":"<çãæ¥æ¬èªã®çç±>ãã¿ãŒã²ãããããã¯ã¢ãããã"}] and nothing else.
When returning pickup(), reason_ja MUST contain a concise Japanese reason the model infers (not fixed text),
and explicitly include the phrase 'ã¿ãŒã²ãããããã¯ã¢ãããã'.
Instruction: {task}ããªã㯠ALIGNMENT ãã§ãŒãºå°çšã®ãããã£ã¯ã¹ãã©ã³ããŒã§ãã
ç®ç: éžãã ã¿ãŒã²ããããŠã£ã³ã㊠xâ[0.31,0.35], yâ[0.66,0.70] ã«å
¥ãããã«å°è»ã®ç§»å/æåã§æŽåããŠãã ããã
å©çšå¯èœãªé¢æ°ïŒååãšåŒæ°é ã¯å³å¯ã«ä»¥äžã®ã¿ïŒ:
- rotate(theta: float, seconds: float)
- move(x: float, y: float, theta: float, seconds: float)
- pickup()
åºå圢åŒ: JSON é
åã®ã¿ãè¿ããŠãã ãããåèŠçŽ ã¯ {"function": <name>, "args": [..], "reason_ja": "<çãæ¥æ¬èªã®çç±>"} ã§ãã説ææã¯æžããªãã§ãã ããã
æ¹é:
1) CurrentObservation.detections ã« [{label,x,y}, ...] 圢åŒã®æ€åºãªã¹ããäžããããŸãã
æç€ºïŒäŸ: "green block"ïŒã«æãåèŽããã¿ãŒã²ããã 1 ã€éžãã§ãã ããã
2) ã¿ãŒã²ããã xâ[0.31,0.35], yâ[0.66,0.70] ã«å
¥ããããã®å°å»ã¿ãª move()/rotate() ã¹ããããèšç»ããŠãã ããã
ç§»åã«ãŒã«ïŒè·é¢ãé ãã»ã©å€§ããã®ã¹ãããã蚱容ïŒ:
- center_x=(target_window.x[0]+target_window.x[1])/2, center_y=(target_window.y[0]+target_window.y[1])/2
- dx = center_x - detected_x, dy = center_y - detected_y
- step_x:
|dx| >= 0.06 ã®ãšã â step_x = clip(round(dx*0.35, 3), -0.050, 0.050)
ããä»¥å€ â step_x = clip(round(dx*0.25, 3), -0.020, 0.020)
ããã« |step_x| < 0.001 ã®ãšã â step_x = sign(dx)*0.001
- step_y:
|dy| >= 0.08 ã®ãšã â step_y = clip(round(dy*0.45, 3), -0.080, 0.080)
ããä»¥å€ â step_y = clip(round(dy*0.25, 3), -0.020, 0.020)
ããã« |step_y| < 0.001 ã®ãšã â step_y = sign(dy)*0.001
ïŒround(v,3) 㯠0.001 å»ã¿ãclip ã¯æå€§å€äœã®äžéãé ãã»ã©å€§ããã«åããŠãããšããæå³ïŒ
- move(x=step_x, y=step_y, theta=0, seconds=1.0) ãè€æ°å䜿ãã现ããå¯ããŠãã ããã
- y ã¯å°ããã»ã©é ãã倧ããã»ã©è¿ãããšã«æ³šæããŠãã ããã
reason_ja ã®æžãæ¹ïŒå³å¯ïŒ:
- å軞ããšã«ãçç±ïŒè¡åããç°¡æœãªæ¥æ¬èªã§æžããèªåœã¯ å³/å·Š/å/åŸã ã®ã¿ãéã¯å°æ°ç¬¬3äœãŸã§ã
- x 軞: detected_x < center_x â ã察象ãå·Šã«ãããããå·Šãž{abs(step_x):.3f}ç§»åããã
detected_x > center_x â ã察象ãå³ã«ãããããå³ãž{abs(step_x):.3f}ç§»åããã
- y 軞: detected_y < center_y â ã察象ãããã¯ã¢ããããžã·ã§ã³ãã奥ã«ãããããåãž{abs(step_y):.3f}ç§»åããã
detected_y > center_y â ã察象ãããã¯ã¢ããããžã·ã§ã³ããæåã«ãããããåŸããž{abs(step_y):.3f}ç§»åããã
- 䞡軞ã§åãå Žåã¯ãããã§é£çµããç§»åãããã§çµããããšãéæ¹åèªã®æ··åšã¯é¿ããããšã
ã¿ãŒã²ãããæ€åºãªã¹ãããèŠã€ããããªãå Žåã¯ãååŸç§»åã¯è¡ãããå·ŠåãïŒæ£ã® thetaïŒã® rotate ãçšããŠæ¢çŽ¢ããŠãã ããïŒäŸ: rotate(20.0, 1.0)ïŒã
å転ã®ç¬Šå·èŠå: theta>0 ã¯åæèšåããtheta<0 ã¯æèšåãã
3) ãã§ã«ã¿ãŒã²ããã xâ[0.31,0.35], yâ[0.66,0.70] ã«å
¥ã£ãŠããå Žåã¯ã
æ£ç¢ºã«æ¬¡ã®ã¿ãè¿ããŠãã ãã:
[{"function":"pickup","args":[], "reason_ja":"<çãæ¥æ¬èªã®çç±>ãã¿ãŒã²ãããããã¯ã¢ãããã"}]
ãã®ãšã reason_ja ã«ã¯ç°¡æœãªæ¥æ¬èªã®çç±ãå«ããå¿
ããã¿ãŒã²ãããããã¯ã¢ããããããšããèªå¥ãå
¥ããŠãã ããã
æç€º: {task} LLMå¿çã«åºã¥ãè¡å
Gemini Robotics-ER 1.5ãã¬ãã¥ãŒã«äžèšã®ããã³ãããéãæåããããã察象ç©ã«è¿ã¥ãããããã¯ã¢ããã¢ãŒã·ã§ã³ãåçãããæ±ºããŠãããã
çµæ
LeKiwiãšgemini-robotics-er-1.5-previewã§å¯Ÿè±¡ç©ãèªèããŠããã¯ã¢ãããã«ãŽã«å ¥ããæ€èšŒåç»
â ãããã (@yoshikai_man) October 9, 2025
æåã«gemini-robotics-er-1.5-previewã§å¯Ÿè±¡ç©ã®RGBã«ã¡ã©ã®2次å 座æšäžã®äœçœ®ãç®åºããã®äœçœ®ã«ãªãããã«ãµãŒãã§ãªã ããã€ãŒã«å¶åŸ¡ããŠæå®ã®äœçœ®ã«ç§»åã⊠pic.twitter.com/ykCj61b3eL
課é¡ç¹
ã«ã¡ã©ã«æ ãèŠãæ¹ã«ãã£ãŠæ€åºãããç©äœåãå€åãã
äŸãã°ã©ã€ãã£ã³ã°ãªã©ã§èŠãæ¹ã代ãã£ãŠããŸãéãç®±ãšããŠèªèããŠã»ãããã®ãç·ã®ã¹ãã³ãžãšæ€åºãããŠããŸãã
ã«ã¡ã©äžã®2次å 座æšãããªãã®ã§ã察象ç©ã«ãã£ãŠã¯äœçœ®èª¿æŽã«å€±æãã
å·Šäžã®éãç®±ãããã¯ã¢ããããäœçœ®ã«ç§»åã詊ã¿ããè¿ãããŠåº§æšã0.5,0.5ã«ãªã£ãŠããŸããã®åŸã®äœçœ®èª¿æŽãäžæããããªã


ãããã«
ä»åæ€èšŒã«äœ¿ã£ãã³ãŒãã¯ããã«å
¬éããŠãŸãã
https://github.com/tinjyuu/lerobot/blob/321a587ec74213705d9bbe184fde88adfc35d90e/examples/lekiwi/orchestrate.py