Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
name: string
frames_received: int64
frames_written: int64
frames_remuxed: int64
frames_metadata_written: int64
frames_dropped_invalid: int64
frames_dropped_queue: int64
first_recv_ns: int64
last_recv_ns: int64
remux_status: string
remux_error: null
metadata_error: null
raw_write_error: null
source: string
segments: list<item: struct<sub_task_instruction: string, frame_duration: list<item: double>>>
  child 0, item: struct<sub_task_instruction: string, frame_duration: list<item: double>>
      child 0, sub_task_instruction: string
      child 1, frame_duration: list<item: double>
          child 0, item: double
task_instruction: string
format_version: string
timestamp: timestamp[s]
episode_index: int64
video_remux_status: string
robot_type: string
task_name: string
device_serial: string
transcoding_status: string
task_num: string
sim_source: struct<set: string, episode: int64, cup_xy: list<item: double>, drawer_unit_xy: list<item: double>,  (... 185 chars omitted)
  child 0, set: string
  child 1, episode: int64
  child 2, cup_xy: list<item: double>
      child 0, item: double
  child 3, drawer_unit_xy: list<item: double>
      child 0, item: double
  child 4, drawer_unit_yaw_deg: double
  child 5, middle_drawer_start_open_m: double
  child 6, table_top_z: double
  child 7, beads_in_cup_end: int64
  child 8, cup_lift_end_m: double
  child 9, success: bool
  child 10, sim_fps: int64
  child 11, r_grip_remap: null
transcoding_cameras_failed: struct<>
to
{'task_instruction': Value('string'), 'task_num': Value('string'), 'task_name': Value('string'), 'robot_type': Value('string'), 'device_serial': Value('string'), 'episode_index': Value('int64'), 'timestamp': Value('timestamp[s]'), 'format_version': Value('string'), 'segments': List({'sub_task_instruction': Value('string'), 'frame_duration': List(Value('float64'))}), 'transcoding_status': Value('string'), 'video_remux_status': Value('string'), 'transcoding_cameras_failed': {}, 'sim_source': {'set': Value('string'), 'episode': Value('int64'), 'cup_xy': List(Value('float64')), 'drawer_unit_xy': List(Value('float64')), 'drawer_unit_yaw_deg': Value('float64'), 'middle_drawer_start_open_m': Value('float64'), 'table_top_z': Value('float64'), 'beads_in_cup_end': Value('int64'), 'cup_lift_end_m': Value('float64'), 'success': Value('bool'), 'sim_fps': Value('int64'), 'r_grip_remap': Value('null')}}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              name: string
              frames_received: int64
              frames_written: int64
              frames_remuxed: int64
              frames_metadata_written: int64
              frames_dropped_invalid: int64
              frames_dropped_queue: int64
              first_recv_ns: int64
              last_recv_ns: int64
              remux_status: string
              remux_error: null
              metadata_error: null
              raw_write_error: null
              source: string
              segments: list<item: struct<sub_task_instruction: string, frame_duration: list<item: double>>>
                child 0, item: struct<sub_task_instruction: string, frame_duration: list<item: double>>
                    child 0, sub_task_instruction: string
                    child 1, frame_duration: list<item: double>
                        child 0, item: double
              task_instruction: string
              format_version: string
              timestamp: timestamp[s]
              episode_index: int64
              video_remux_status: string
              robot_type: string
              task_name: string
              device_serial: string
              transcoding_status: string
              task_num: string
              sim_source: struct<set: string, episode: int64, cup_xy: list<item: double>, drawer_unit_xy: list<item: double>,  (... 185 chars omitted)
                child 0, set: string
                child 1, episode: int64
                child 2, cup_xy: list<item: double>
                    child 0, item: double
                child 3, drawer_unit_xy: list<item: double>
                    child 0, item: double
                child 4, drawer_unit_yaw_deg: double
                child 5, middle_drawer_start_open_m: double
                child 6, table_top_z: double
                child 7, beads_in_cup_end: int64
                child 8, cup_lift_end_m: double
                child 9, success: bool
                child 10, sim_fps: int64
                child 11, r_grip_remap: null
              transcoding_cameras_failed: struct<>
              to
              {'task_instruction': Value('string'), 'task_num': Value('string'), 'task_name': Value('string'), 'robot_type': Value('string'), 'device_serial': Value('string'), 'episode_index': Value('int64'), 'timestamp': Value('timestamp[s]'), 'format_version': Value('string'), 'segments': List({'sub_task_instruction': Value('string'), 'frame_duration': List(Value('float64'))}), 'transcoding_status': Value('string'), 'video_remux_status': Value('string'), 'transcoding_cameras_failed': {}, 'sim_source': {'set': Value('string'), 'episode': Value('int64'), 'cup_xy': List(Value('float64')), 'drawer_unit_xy': List(Value('float64')), 'drawer_unit_yaw_deg': Value('float64'), 'middle_drawer_start_open_m': Value('float64'), 'table_top_z': Value('float64'), 'beads_in_cup_end': Value('int64'), 'cup_lift_end_m': Value('float64'), 'success': Value('bool'), 'sim_fps': Value('int64'), 'r_grip_remap': Value('null')}}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Cup on the drawer unit + forearm close, within the joint limits (sim, scripted): 5 sim demos in the ROBOTIS MCAP layout

5 Isaac Lab demos of picking a filled cup from the top of a drawer unit and, still holding it, closing the unit's middle drawer with the same arm's forearm. The arm now stays well inside its joint limits (at least 0.39 rad from every limit), slower than 0.5 rad/s, and never presses on anything except the drawer front during the sweep.

This set replaces cup_drawer_toppick_front_replay5 for real-robot replay. It uses the same 5 layouts: the same cup positions and the same drawer openings, folder for folder. Those older demos ran the robot at its limits. Every one of them touched joint2 = 0 and joint1 = -3.14, came within 1 mrad of joint6 = 1.57, ran at up to 0.84 rad/s and leaned the forearm on the open drawer. This set was recorded with a new scripted program (below). The three earlier sets (cup_drawer_forearm_replay5, cup_drawer_toppick_replay5, cup_drawer_toppick_front_replay5) were all recorded with the old programs.

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 moves). /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.

How hard the arm is driven: old vs this set

Measured on the joint commands and joint states, against the joint limits in robot.urdf. Each column covers the 7 episodes recorded at these layouts.

old (cup_drawer_toppick_front_replay5) this set
smallest distance of any arm joint to its limit 0.000 rad (joint2, joint1, joint6 at the limit) 0.39 rad
time within 0.1 rad of a limit, per episode 46 ticks (3 s) 0
peak commanded joint speed 0.84 rad/s 0.36 rad/s
time above 0.5 rad/s, per episode 150 ticks (10 s) 0
time with a joint command >= 0.025 rad ahead of the joint (pushing on something or lagging behind) 354 ticks (24 s) 0
max cup tilt 10-17 deg 3.5-9.6 deg
episode length 26-35 s 45 s

In the 5 exported bags, the smallest margin is 0.392 rad on the commands and 0.394 rad on the joint states (folder 4).

Where the cup is

layout

The cup (blue, 30 beads inside) stands on top of the drawer unit, at its front corner on the drawer side (x 0.565, y 0.465 in the robot base frame). The unit's centre is at x 0.45, y 0.60, and its drawer side faces the robot's centre line. Same layout as cup_drawer_toppick_front_replay5.

The motion

Lift and base are locked: only the left arm moves. The 3-drawer mesh unit stands sideways at the left edge of the table, close to the robot, its front facing the robot's centre line (the drawers slide out toward the robot's right, -y). The middle drawer is open 6.6-9.9 cm.

  1. The left hand opens wide (0.157) and rises. It turns toward the grasp orientation while rising (the old program held the start orientation, which pinned joint2 and joint6), and hovers only 4 cm above the pregrasp (the old 10 cm hover at 1.48 m pinned joint1 at -3.14).
  2. It side-grasps the cup's lower body 3.6 cm up, approaching from the robot's side (reaching forward over the unit's top), 25 deg down, with the cup-basket right-hand recipe: pause 0.15 s, then close over 0.6 s.
  3. It lifts the cup 5 cm and carries it sideways to y 0.05, in front of the open drawer. The old program came down at y 0.15, where the forearm landed on the drawer top and pushed it.
  4. It turns the hand 45 deg about the vertical (at 15 deg/s), then lowers the cup.
  5. It places the wrist / lower forearm (arm link 7) in front of the open drawer, 6 cm toward the robot's front from the unit centre, at the drawer's height. It then sweeps outward (+y) as a guarded push: the target moves at 4 cm/s, is never more than 1.5 cm ahead of the hand, and stops when the drawer is shut or stops moving. The hand keeps the cup upright the whole time.

Every move takes its time from a speed budget (8 cm/s, 25 deg/s), so the arm never runs at the speed clamp. The sim also caps every joint at 0.033 rad per 15 Hz tick (0.5 rad/s).

All 5 demos succeeded in sim. The middle drawer ends 0.3-0.4 cm open (shut), the other drawers are untouched, all 30 beads stay in the cup, and the cup is still in the hand, 16 cm above the table, at the end. Of the 7 episodes recorded at these layouts, 7 succeeded (24/24 on a separate check set). The drawer starts closing by about 1 cm while the arm moves to the sweep start, before the push itself.

Gripper: the sim executes close 0.50 on the cup's solid grip band. The recorded leader command is 0.70 (the real robot's maximum, the cup-basket right-hand setting), mapped linearly from the open value 0.157. Same as the old set.

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 drawer placement is an ESTIMATE from the user's photo (no tape measurements yet). The unit is an IKEA LENNART-type white mesh unit, 34.3 x 29.9 x 55.9 cm. Place its centre at x 0.45, y 0.60: its near face (toward the robot's front) is at x 0.30 and its front face (drawer side) at y 0.43, front facing the robot's centre line. It stands on the table and must be fixed (it is on casters: lock or clamp it). The cup (6.25 in cone cup, 3.5 in top / 2 3/8 in bottom) stands on top of the unit at the position in the table below, its base edge ~5 mm inside the unit's top edges. Demo 0 is the round layout (cup at x 0.565, y 0.465; middle drawer 8.0 cm open): try it first.

Things to check on the real robot before replaying:

  • The placement above is estimated. Check the unit and cup positions against the first frame of the head video. The head camera does not see the cup on top of the unit at the start (it is above the head view).
  • The pushing part is the wrist / lower forearm (arm link 7) right behind the gripper, near the wrist camera mount. Whether the sim gives the camera housing a collision shape is not verified: replay slowly the first time.
  • The hand reaches up to about shoulder height and forward over the unit's top to pick the cup.
  • The drawer push is open-loop (sim runner damping 20 N s/m). A stiffer real drawer may stop the sweep short.

Sim replay videos

The same 5 demos in the simulator. Left: the robot's head camera. Right: an overview camera. The banner shows the middle drawer's opening and the beads still in the cup, live. Folder i = video i_*.

Demo 0 (0_seed300.mp4)

Demo 1 (1_seed102.mp4)

Demo 2 (2_seed103.mp4)

Demo 3 (3_seed105.mp4)

Demo 4 (4_seed106.mp4)

First frames (rows = folders 0-4; columns = head, left wrist, right wrist):

first frames

Last frames (drawer shut, cup held):

last frames

folder layout cup x [m] cup y [m] middle drawer open at start [cm] at end [cm] beads kept max cup tilt [deg] min joint margin [rad] length [s]
0 fixed layout (seed 300) 0.565 0.465 8.0 0.3 30/30 4.5 0.401 45.0
1 varied (seed 102) 0.566 0.468 6.6 0.3 30/30 4.8 0.401 44.9
2 varied (seed 103) 0.562 0.462 7.3 0.4 30/30 6.4 0.402 44.8
3 varied (seed 105) 0.570 0.461 8.6 0.3 30/30 3.5 0.404 44.9
4 varied (seed 106) 0.560 0.461 9.9 0.4 30/30 9.6 0.392 45.4

Source: real2sim/tasks/cup_drawer/run_cupdrawer.py --record --grip_close 0.50 --grip_rec 0.70 --free_joint3 --max_joint_step 0.033 --max_ticks 900 with the scripted program real2sim/tasks/cup_drawer/programs/ref_top_pick_sweep_gentle.py (sets data_local/sim_demos/cup_drawer_toppick_front_gentle_*), exported with real2sim/tools/export_robotis_mcap.py. The joint-limit numbers come from real2sim/tasks/cup_drawer/limit_report.py.

Downloads last month
161

Collection including padiredd/cup_drawer_within_joint_limits_replay5