Verwendung
- Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
- Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
- Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/google-deepmind/robotics-antigravity-plugin --skill iterationVor dem Start
- Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
- Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.
Iterating on robot code
Work in stages
- Split a long task into stages, one per sub-goal. For example, putting five
objects in a box is five stages. An action that already works reliably, such as a closed-loop pick-and-place, counts as one stage.
- Write each stage as one script that observes, plans, acts, measures the
result, and prints it. Run it with a timeout, for example timeout 300 python3 stage_1.py.
- After each stage, use the measured result to decide whether to move on. If
the stage failed, look at the trajectory to find where it went wrong and fix the code. Then measure the scene again and go back to the first stage whose goal no longer holds.
- Do not put multi-line code in
python3 -c. Write it to a file instead.
Get a second opinion when stuck
Use this when you can record video and start subagents.
- When a stage fails repeatedly, give a separate subagent the video of the
last try (a video, not still images) and ask it to describe what happened and what went wrong. Send only the video, not your code or what you expected, so that its description is not biased.
- If the stage still fails after that, give a separate subagent the videos,
your code, and the measured results, and ask what to change.
Done means measured
- Decide success from measurements taken after the robot has let go and the
scene has settled, not from commanded poses or a printed "SUCCESS". Check every goal condition before you finish.