URScript

1 program Added 2026-02-13T14:18:44Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit fd624a8f73 · authored 2026-02-13T15:19:45+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Urbi (0.50)ZScript (0.46)F-Script (0.43)ReScript (0.43)SGScript (0.43)

LLM-contributed programs

Pick and Place Robot Movement

Provenance: commit fd624a8f73 · authored 2026-02-13T15:19:45+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.script · added: 2026-02-13T14:18:44Z
def robot_pick_and_place():
  # Move to home position
  movej([0, -1.57, 1.57, -1.57, -1.57, 0], a=1.4, v=1.05)

  # Move to pick position
  movej([0.5, -1.2, 1.8, -2.0, -1.57, 0], a=1.4, v=1.05)

  # Approach object
  movel(p[0.3, -0.4, 0.1, 0, 3.14, 0], a=1.2, v=0.25)

  # Close gripper (simulated with wait)
  set_digital_out(0, True)
  sleep(0.5)

  # Lift object
  movel(p[0.3, -0.4, 0.3, 0, 3.14, 0], a=1.2, v=0.25)

  # Move to place position
  movej([0.5, -1.0, 1.5, -2.0, -1.57, 0], a=1.4, v=1.05)

  # Place object
  movel(p[0.5, 0.2, 0.1, 0, 3.14, 0], a=1.2, v=0.25)

  # Open gripper
  set_digital_out(0, False)
  sleep(0.5)

  # Return to home
  movej([0, -1.57, 1.57, -1.57, -1.57, 0], a=1.4, v=1.05)
end

# Execute the program
robot_pick_and_place()

Contribute — propose a file extension

Tell us where to find evidence about URScript (mapped to pl/urscript). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/URScript/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Ursala URSL →