The Skills Editor

Edit one skill's code and metadata, fill in its parameters, and run it on its own against a world.

The Skills Editor runs a single skill without a workflow around it, and lets you edit the skill's code and metadata in the browser. Open it with Practice Skill on Home or Skills Editor in the sidebar. To learn how to write a skill, see Authoring a skill.

On a deployed box the execution world starts on Real Hardware, and the run button, labelled Sim, then runs the skill on the real arms. Switch the execution world to Simulation first unless you mean to move the robot.

The top bar

ControlWhat it does
SkillSearchable list of the project's skills. The last entry, Add New Skill, asks for a name, creates a new skill under it, and selects it.
World and LoadLoad clears the scene and loads the picked world, and refreshes the objects offered in the Inputs tab.
DeckWhat sits on each seat of the world; swap, place or remove plates and tip boxes.
Execution worldSimulation or Real Hardware; in the cloud, Simulation only. Locked while the skill runs.
ResetPuts both simulated arms back at their start position, opens the grippers and lets go of a held object, without planning a move. Disabled on Real Hardware and during a run. It does not reload the world. zeon reset-arms does the same from the terminal.
Reset VariablesClears the variables skills share between runs, so values from an earlier run do not carry over.
SimRuns the selected skill with the values in the Inputs tab, in the selected execution world.
Pause, Resume, StopShown while the skill runs. A skill can add its own resume buttons next to Resume.

The panels

  • Simulator (left): the 3D view of the world, with a gizmo toggle.
  • The middle panel has three tabs:
    • Inputs: a form generated from the skill's parameters. An object parameter offers the objects of the loaded world; string, float, int and boolean parameters get a matching control. A skill without parameters shows "No parameters defined for this skill". If the object list is empty or out of date, press Load.
    • Code: an editor for the skill's robotic_code.py, with a Save Code button.
    • Metadata: an editor for the skill's metadata.yaml, with a Save Metadata button. See Skills metadata.yaml.
  • Under the tabs, a collapsible strip has two tabs:
    • Arm State: each arm's tool centre point and joint angles, with a Sim or Real badge, Refresh, and Auto.
    • Console Logs: everything the skill prints with print_log, live while it runs, with a Live / Reconnecting marker and Download .txt. Output is capped at 2000 lines per run; after that one line says the rest was dropped.

Saving

Save Code and Save Metadata each save one file. The banner beside the button reports the result:

  • Green: saved and committed to the project. It clears after about three seconds.
  • Amber: saved, but not committed to the project. The text gives the reason. Treat it as not saved.
  • Red: the save failed.

For how changes saved in the app reach your local copy, see Syncing your work.


Did this page help you?