/ ml (SlashML) Embodied Robotics Spatial Memory Skill
Use this skill when building or controlling embodied robotics agents, VLA policies, ROS 2 nodes (tf2, Nav2, MoveIt 2), or spatial world-state trackers backed by slashml-robotics (@slashml/robotics).
Core Spatial Operations
-
Record 6-DoF Pose & Affordance Observations (
record_sensor_observation/POST /v1/robotics/observations): Record observed object poses (pose: [x, y, z, qx, qy, qz, qw]), workstation zones (room_zone), and task affordance tags (tags).from slashml_robotics import Pose6D, RoboticMemory memory = RoboticMemory(api_key="sml_live_...") memory.add_observation( object_name="torque_wrench", room_zone="machining_bay", pose=Pose6D(x=1.25, y=-0.40, z=0.82), tags=["tool", "fastening"], confidence=0.98, ) -
Query Latest Object Belief State (
locate_physical_object/GET /v1/robotics/where_is/{object_name}): Retrieve the current superseded 6-DoF pose, room zone, and confidence for an object without scanning stale historical frames.loc = memory.where_is("torque_wrench") -
Retrieve Kinematic Trajectory (
query_object_trajectory/GET /v1/robotics/trajectory/{object_name}): Inspect chronological pose observations to trace how an object moved across workspaces over time.traj = memory.get_trajectory("torque_wrench") -
Lookup Objects by Affordance (
find_objects_by_affordance/GET /v1/robotics/affordance/{action}): Find all tracked objects in the workspace that satisfy a required manipulation or navigation affordance (e.g.,fastening,measuring).matches = memory.find_by_affordance("fastening", room_zone="machining_bay")
