robotic/server โ Robotics REST API serverยถ
Expose motion and waypoint endpoints over HTTP using FastAPI/uvicorn.
Usageยถ
# Bind to all interfaces, port from ConnectionConfig
s6 robotic server --host 0.0.0.0
# Or via Python
python -m s6.app.robotic.server --host 0.0.0.0
Key endpoints (prefix /robotic)ยถ
POST /moveโ JSON{"axis": "x"|"y"|..., "offset": int}step a single axis.POST /zeroโ zero all axes.POST /set-waypointโ JSON{"name": str}save current pose as a waypoint.POST /to-waypointโ JSON{"name": str}move to a saved waypoint.GET /waypointsโ list saved waypoints.DELETE /waypoint/{name}โ delete a waypoint by name.
How it worksยถ
Loads
ConnectionConfigto determine the listen port.Includes
s6.robotic.service.robotic_routerwhich implements the above routes backed by stepperAxisobjects configured viaRoboticConfig.