iteration

Installation
SKILL.md

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.
Installs
18
GitHub Stars
161
First Seen
3 days ago