{"slug":"biped-walk","domain":"research","title":"Steer a walking biped","summary":"Lucen Robotics' twelve-joint biped walked by Lucen's own walking policy in MuJoCo, live for up to a minute, steered by the velocity you send: forward, sideways and turning.","help":"biped-walk: steer Lucen Robotics' biped while its own policy walks it in MuJoCo, as JSON.\n\nTHE ROBOT AND THE POLICY\n  biped_Laika is Lucen Robotics' twelve-joint biped (six motors a leg). The\n  walk is Lucen's walk.onnx, trained in simulation and run on the real\n  robot, with the control chain from Lucen's open SDK\n  (github.com/ICE-CUBA/lucen-sdk, Apache-2.0): the policy at 50 Hz, the\n  bridge's speed limit, then PD control of each motor at its own gains and\n  torque limit. Nothing is retuned. The simulator is paced to the clock.\n\nSTEERING\n  `start` gives a `run_id` and an `events_url`. `biped-walk command RUN_ID\n  --vx 0.2 --vy 0 --wz 0.3` sets forward and sideways speed in m/s and\n  turning in rad/s, up to 0.20, 0.10 and 0.30 (larger values are cut to\n  these, the range the policy is used at; one left out is 0). The biped\n  walks at that command until the next one. `--reset true` stands it back\n  up after a fall. A command takes a second or two to show.\n\nTHE ACTUATOR\n  A run uses Lucen's reference setting for its own simulator tool,\n  tools/sim2sim.py (lucen-sdk README §4): the policy's output times 0.8, a\n  delay of 2 control steps (40 ms) between a target and the motor acting on\n  it, and up to 0.05 rad of random offset on the starting joint angles.\n  `start` may change any of it, with sim2sim's names written with underscores:\n    --kp_scale K --kd_scale K --tau_scale K   stiffness, damping and torque\n                                              limit times the motors' own\n    --power_scale K                           the policy's output times K\n    --delay N [--delay_max M]                 N control steps, or each step\n                                              drawn from N..M\n    --jitter RAD --seed S                     the starting offset and seed\n  The policy was trained on stiffness 0.8-1.2, damping 0.7-1.3 and a delay\n  of 0-3 steps. Inside that range it stays up, but how closely it follows\n  the command still changes: turning at stiffness 0.8 reaches about half of\n  what was asked, and at 1.2 nearly all of it\n  (hedwigai.com/blog/robot-actuator-sim-eval). `start` answers with the\n  actuator the run uses.\n\nYOUR OWN POLICY\n  `--policy /tmp/mine.onnx` walks your policy in place of walk.onnx, under\n  the same actuator. It must be stamped with Lucen's contract\n  (python tools/onnx_manifest.py --stamp mine.onnx --profile PROFILE, from\n  lucen-sdk), which Lucen's own check reads before the run starts; a policy\n  that fails it ends the run as `failed`, with the reason, and is not\n  charged. At most 8 MB.\n\nRETURNS\n  `events_url` is a Server-Sent Events stream: batches of `step` (25 a\n  second: the time, every link's position and orientation, the command, the\n  measured speed, the distance so far, the falls so far), `fell`, and a\n  `final` with the totals. `status` gives the `state` (queued, running,\n  done, stopped, failed), and once ended `seconds`, `distance_m` and\n  `falls`. Also `standing`.\n\nPRICE\n  $0.01 a run that walked at least 5 seconds, stopped runs included; a run\n  that fails on our side is free. A run is at most 60 seconds. An account\n  that has never paid gets three runs free; after that a start is refused\n  until $2 of credit is added, and the `credits` tool gives the link.\n\nWATCH IT\n  The page at hedwigai.com/try/biped-walk draws the robot from the stream\n  and steers it from the keyboard.\n\nStudies:\n  start   \n      a new run, queued, with its run_id, events_url and the actuator it uses\n  command  \u003crun_id\u003e\n      the speeds the policy is told from now on; a speed left out is 0\n  status   \u003crun_id\u003e\n      the run's state, and its seconds, distance and falls once it has ended\n  stop     \u003crun_id\u003e\n      the run, stopped where it is\n  standing\n      the balance, the free runs left and the price\n\nJSON to stdout, so it composes: pipe to `jq` to pick a field, or `\u003e /tmp/…` to keep it.\nRun a study with no arguments — `biped-walk start` — to see what it takes.\n","example_command":"biped-walk start --kp_scale 1.2 --delay 1","example_output":"","cost_class":"upstream-fetch","tier":"metered","billing_items":["biped_walk_run"],"price_per_1k_calls":10,"price_is_from":false,"status":"available","commands":["biped-walk"],"studies":[{"call":"start","about":"a new run, queued, with its run_id, events_url and the actuator it uses","args":[{"name":"kp_scale","positional":false,"list":false,"hint":"stiffness times the motors' own, 0.5 to 1.5 (1.0)"},{"name":"kd_scale","positional":false,"list":false,"hint":"damping times the motors' own, 0.3 to 2.0 (1.0)"},{"name":"tau_scale","positional":false,"list":false,"hint":"torque limit times the motors' own, 0.3 to 1.0 (1.0)"},{"name":"power_scale","positional":false,"list":false,"hint":"the policy's output times this, 0.5 to 1.0 (0.8)"},{"name":"delay","positional":false,"list":false,"hint":"control steps of 20 ms between a target and the motor, 0 to 5 (2)"},{"name":"delay_max","positional":false,"list":false,"hint":"with delay: each step's delay drawn from delay..delay_max"},{"name":"jitter","positional":false,"list":false,"hint":"random offset on the starting joint angles, rad, 0 to 0.1 (0.05)"},{"name":"seed","positional":false,"list":false,"hint":"the seed of the jitter and of a varying delay (0)"},{"name":"policy","positional":false,"list":false,"hint":"your own stamped .onnx in the session, e.g. /tmp/mine.onnx (walk.onnx)"}]},{"call":"command","about":"the speeds the policy is told from now on; a speed left out is 0","args":[{"name":"run_id","positional":true,"list":false,"hint":"the run, from start"},{"name":"vx","positional":false,"list":false,"hint":"forward m/s, -0.2 to 0.2"},{"name":"vy","positional":false,"list":false,"hint":"sideways m/s, -0.1 to 0.1 (left is +)"},{"name":"wz","positional":false,"list":false,"hint":"turning rad/s, -0.3 to 0.3 (left is +)"},{"name":"reset","positional":false,"list":false,"hint":"true stands it up after a fall"}]},{"call":"status","about":"the run's state, and its seconds, distance and falls once it has ended","args":[{"name":"run_id","positional":true,"list":false,"hint":"the run, from start"}]},{"call":"stop","about":"the run, stopped where it is","args":[{"name":"run_id","positional":true,"list":false,"hint":"the run"}]},{"call":"standing","about":"the balance, the free runs left and the price","args":[]}],"default_enabled":false,"first_seen":"2026-11-17T12:35:47.943283Z","enabled":false}
