video video 18.9 25.3 |
|---|
Toy throw, sideways (sim, scripted): 5 sim demos in the ROBOTIS MCAP layout
5 Isaac Lab demos of throwing the small panda plush sideways with the left arm into a basket in front of the robot. The whole left arm sweeps from left to right about the shoulder and lets go while the hand is still on the robot's left side. The toy flies about 37 cm to the right and drops into the basket at (0.643, 0.153), between the two hands. The swing peaks at 1.43 m/s at the fingertips.
All 5 demos use the same layout and nearly the same commands: they agree within 25 mrad (1.5 deg), from small differences in the grasp. The repeats are for checking how repeatable the throw is on the real robot.
Layout: the same as the real Cyclo Intelligence recordings (format_version: robotis_v2, one folder per demo with
<i>_0.mcap, metadata.yaml, episode_info.json, camera_info/, robot.urdf, videos/<i>_0/<cam>.mp4), like the
earlier *-replay5 sets. Leader command topics = the sim joint targets (16: both arms + grippers; only the left arm and
gripper move). /joint_states = the sim joint state. Both are resampled from 15 Hz to 100 Hz, and the videos are
frame-repeated to 30 fps. The sim has no right head camera, so cam_right_head.mp4 is a copy of the left head video.
What changed
Compared with padiredd/toy_throw_diagonal_hardgrip_replay5: the throw goes sideways (65 deg to the right of straight ahead instead of 30 deg to the left), with a sidearm swing of the whole arm; one basket in front of the robot, between the hands; the toy model has the IKEA mini panda's size and weight (108 mm, 27 g; was 123 mm, 80 g); the swing is faster (peak joint command 3.16 rad/s; was 1.41).
Before replaying on the real robot
This is the fastest set so far. The commands reach 3.16 rad/s (joint 2). The diagonal hard-grip set peaked at 1.41 rad/s, and the earlier replay sets at about 0.8 rad/s. Peak command speed per left-arm joint [rad/s]: j1 0.28, j2 3.16, j3 0.36, j4 0.33, j5 2.98, j6 1.40, j7 0.38. Joints 2 and 5 do most of the swing. The arm sweeps across the front of the robot toward the middle of the table and stops at least 17 cm short of the robot's centre line. Keep everyone clear of that sweep and of the throw path.
- Replay once without the toy first. That shows the sweep safely.
- Arm timing at throwing speed is not measured. The sim reproduces the real command path as measured at teleop speed: 15 Hz commands interpolated in between, arm commands applied 110 ms late and gripper commands 30 ms late on top of the drives' own lag. The real throw may land short of or past the basket, and the release timing may need adjusting.
- Grip: the close command is 1.10, the hard grip of the earlier set. The sim caps the gripper force at 4 N m. At 6 N m, the real current limit, the rigid sim toy dropped out of the fingers before the release in half of the test throws. The real plush deforms instead, so the real robot grips with up to its current limit.
- Release: the gripper command opens (to 0.2577) at the arm's peak speed. In the sim the toy leaves 125-158 ms after the open command, at the real gripper's closing speed (1.35 rad/s); the real opening speed is not measured.
- Toy: the IKEA DJUNGELSKOG mini panda. The sim model has the product page's size (108 mm tall) and weight (27 g, from the 1 oz package weight). It is rigid, with a soft contact; its softness is not measured. The sim basket is 0.28 m wide; the real one is 0.33-0.35 m.
- Sim reliability at this basket: in a 12-throw check with the toy's start moved up to 1 cm, 9 throws landed in the basket and 1 landed on its rim. In the other 2 the toy slipped out during the grasp; the safety gate caught them, and they were not thrown.
Safety checks in the sim
Every demo passed the throw's safety gate, checked on every physics step (120 Hz) from the start pose to the end:
| check | limit | worst of the 5 demos |
|---|---|---|
left-arm joint positions vs robot.urdf |
>= 0.05 rad inside, planned; >= 0.02 rad, measured | 0.08 rad on the commands, 0.07 rad on the joint states |
| joint speed | <= 3.84 rad/s commanded, <= 4.32 rad/s measured (URDF 4.8) | 3.16 rad/s commanded (15 Hz commands), 3.14 rad/s measured |
| command acceleration (smoothness) | <= 40 rad/s^2 | 18.0 rad/s^2 |
| joint torque (inverse dynamics incl. gravity and the toy) | <= 70 % of the actuator limit | 58 % (joint 1) |
| the two arms (upper arm to fingers) | never more than 1 cm closer than at the start pose, and >= 25 cm | 33.1 cm, equal to the start pose (33.1 cm): the arms never get closer |
| left arm vs the robot's centre line | >= 5 cm on its own side | 16.6 cm |
| arm above the table | >= 4 cm | 10.0 cm |
| held toy above the table, from the wind-up on | >= 5 cm | 13.8 cm |
Setup to reproduce on the real robot
Robot base frame: x forward, y to the robot's left. Table top 29.25 in = 0.743 m, the measured real table (near edge x 0.131, far edge 0.93, foam board at x 0.92). The robot starts at its home pose with both grippers open (0.2577).
- Toy: sitting upright at x 0.40, y 0.48, face toward the robot (the left hand grasps its head from above).
- Basket: upright, centre at x 0.643, y 0.153, turned 65 deg clockwise (seen from above) to face the throw (optional: the basket is nearly square).
- Nothing else on the table in the throw path. The right arm stays at its home pose.
- Each demo below has the head camera's first frame with the toy and the basket marked: match the real head view to it.
The motion
Only the left arm and gripper move; lift, head and base stay put.
- The left hand grasps the toy's head top-down (gripper command 1.10) and lifts it.
- It moves to the release point (x 0.48, y 0.48, 40 cm above the table). On the way it turns the hand 65 deg to the right about the vertical and points the fingers straight down.
- It winds up, back along the throw line toward the robot's left (1 s), pauses 0.27 s, then swings left to right: the fingertips speed up over 0.47 s to 1.43 m/s, aimed 20 deg above the table, and slow down over the next 0.27 s.
- The gripper command opens at the peak. The toy leaves while the arm slows and flies into the basket. The arm then holds its follow-through pose.
Each demo: placement on the head camera + sim video
Videos: left = the robot's head camera, right = a camera above the far edge of the table, looking back at the robot. The throw takes about half a second; the overview repeats it 4x slower.
Overview, then 4x slow motion (overview_slowmo.mp4)
Demo 0
Sim: in the basket, toy at rest at (0.666, 0.053); toy left the hand 125 ms after the open command. Sim video (0.mp4):
Demo 1
Sim: in the basket, toy at rest at (0.643, 0.044); toy left the hand 158 ms after the open command. Sim video (1.mp4):
Demo 2
Sim: in the basket, toy at rest at (0.676, 0.067); toy left the hand 158 ms after the open command. Sim video (2.mp4):
Demo 3
Sim: in the basket, toy at rest at (0.659, 0.051); toy left the hand 142 ms after the open command. Sim video (3.mp4):
Demo 4
Sim: in the basket, toy at rest at (0.686, 0.059); toy left the hand 125 ms after the open command. Sim video (4.mp4):
Start frames, 1.6 s in (rows = folders 0-4; columns = head, left wrist, right wrist):
Last frames (toy in the basket):
| folder | basket x [m] | basket y [m] | swing speed [m/s] | in basket (sim) | toy at rest (x, y) | min joint margin, commands [rad] | peak joint speed, commands [rad/s] | peak torque [%] | arms apart, min [cm] | length [s] |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0.643 | 0.153 | 1.43 | yes | (0.666, 0.053) | 0.08 | 3.16 | 58 | 33.1 | 18.9 |
| 1 | 0.643 | 0.153 | 1.43 | yes | (0.643, 0.044) | 0.08 | 3.15 | 58 | 33.1 | 18.9 |
| 2 | 0.643 | 0.153 | 1.43 | yes | (0.676, 0.067) | 0.08 | 3.16 | 58 | 33.1 | 18.9 |
| 3 | 0.643 | 0.153 | 1.43 | yes | (0.659, 0.051) | 0.08 | 3.16 | 58 | 33.1 | 18.9 |
| 4 | 0.643 | 0.153 | 1.43 | yes | (0.686, 0.059) | 0.08 | 3.16 | 58 | 33.1 | 18.9 |
Source: real2sim/tasks/toy_throw/preview_throw.py --real_sim --ikea --n 5 --toy_xy 0.40 0.48 --release 0.48 0.40 --azimuth -65 --hand_pitch -90 --angle 20 --free_j3 --redistribute 6 --joint_cost 1 0.4 6 1.5 4 4 4 --acc_ticks 7 --dec_ticks 4 --open_ticks 0 --grip_close 1.1 --grip_effort 4.0 --fixed 1.4323 0.6430 0.1530 1.4323 0.6430 0.1530 --jitter 0 --record ...
(realistic sim: measured table and board, the look fitted to the real camera frames, the real head-camera lens), exported
with real2sim/tools/export_robotis_mcap.py, packaged with real2sim/tasks/toy_throw/make_replay_upload.py --style sideways. The safety gate is real2sim/tasks/toy_throw/throw_safety.py.
- Downloads last month
- 240







