Tin

Examples · learn/34-robot-safety · 321 of 339

reply.fails

examples/learn/34-robot-safety/reply.fails.tintin run examples/learn/34-robot-safety/reply.fails.tin
robot Arm = so101

type Where = { pan: float }
agent Pointer { model: "mock" }

fn main() {
  var arm = Arm()
  let w: Where = Pointer.ask("where is the door?")
  arm.act(Pose { shoulder_pan: w.pan * 1rad })
}