Datasets:
cotap_task2_board_slide_failure (TsFile)
Apache TsFile version of learner1119/cotap_task2_board_slide_failure.
Overview
A LeRobot v2.1 manipulation dataset recorded with a ffw_sh5_rev1 robot arm, converted to a single Apache TsFile table.
Scale: 10 episodes / 3,979 frames at 10 fps (~7 min of robot time) / 1 task(s).
Per-frame vectors:
observation_state_0..observation_state_56(57),action_0..action_56(57),observation_tactile_0..observation_tactile_89(90) — each value is a single-precision FLOAT column.Task language:
put the cup above the borad, but it fails to slide under the cabinetCameras (not included here):
observation.images.cam_head,observation.images.cam_third.Tables: 1 TsFile table(s), 3,979 rows in total.
cotap_task2_board_slide_failure: 3,979 rows, Time restarts inside every episode.
Schema (TsFile structure)
cotap_task2_board_slide_failure.tsfile
- Time (INT64, milliseconds) 鈥?
round(timestamp 脳 1000); the sourcetimestampcolumn is folded into Time. - TAG:
episode_index,task_index鈥?device dimension; query one device withWHERE episode_index=.... - FIELD (206):
frame_index(int64),sample_index(int64),observation_state_0(float),observation_state_1(float),observation_state_2(float),observation_state_3(float),observation_state_4(float),observation_state_5(float),observation_state_6(float),observation_state_7(float),observation_state_8(float),observation_state_9(float),observation_state_10(float),observation_state_11(float),observation_state_12(float),observation_state_13(float),observation_state_14(float),observation_state_15(float),observation_state_16(float),observation_state_17(float),observation_state_18(float),observation_state_19(float),observation_state_20(float),observation_state_21(float),observation_state_22(float),observation_state_23(float),observation_state_24(float),observation_state_25(float),observation_state_26(float),observation_state_27(float),observation_state_28(float),observation_state_29(float),observation_state_30(float),observation_state_31(float),observation_state_32(float),observation_state_33(float),observation_state_34(float),observation_state_35(float),observation_state_36(float),observation_state_37(float),observation_state_38(float),observation_state_39(float),observation_state_40(float),observation_state_41(float),observation_state_42(float),observation_state_43(float),observation_state_44(float),observation_state_45(float),observation_state_46(float),observation_state_47(float),observation_state_48(float),observation_state_49(float),observation_state_50(float),observation_state_51(float),observation_state_52(float),observation_state_53(float),observation_state_54(float),observation_state_55(float),observation_state_56(float),action_0(float),action_1(float),action_2(float),action_3(float),action_4(float),action_5(float),action_6(float),action_7(float),action_8(float),action_9(float),action_10(float),action_11(float),action_12(float),action_13(float),action_14(float),action_15(float),action_16(float),action_17(float),action_18(float),action_19(float),action_20(float),action_21(float),action_22(float),action_23(float),action_24(float),action_25(float),action_26(float),action_27(float),action_28(float),action_29(float),action_30(float),action_31(float),action_32(float),action_33(float),action_34(float),action_35(float),action_36(float),action_37(float),action_38(float),action_39(float),action_40(float),action_41(float),action_42(float),action_43(float),action_44(float),action_45(float),action_46(float),action_47(float),action_48(float),action_49(float),action_50(float),action_51(float),action_52(float),action_53(float),action_54(float),action_55(float),action_56(float),observation_tactile_0(float),observation_tactile_1(float),observation_tactile_2(float),observation_tactile_3(float),observation_tactile_4(float),observation_tactile_5(float),observation_tactile_6(float),observation_tactile_7(float),observation_tactile_8(float),observation_tactile_9(float),observation_tactile_10(float),observation_tactile_11(float),observation_tactile_12(float),observation_tactile_13(float),observation_tactile_14(float),observation_tactile_15(float),observation_tactile_16(float),observation_tactile_17(float),observation_tactile_18(float),observation_tactile_19(float),observation_tactile_20(float),observation_tactile_21(float),observation_tactile_22(float),observation_tactile_23(float),observation_tactile_24(float),observation_tactile_25(float),observation_tactile_26(float),observation_tactile_27(float),observation_tactile_28(float),observation_tactile_29(float),observation_tactile_30(float),observation_tactile_31(float),observation_tactile_32(float),observation_tactile_33(float),observation_tactile_34(float),observation_tactile_35(float),observation_tactile_36(float),observation_tactile_37(float),observation_tactile_38(float),observation_tactile_39(float),observation_tactile_40(float),observation_tactile_41(float),observation_tactile_42(float),observation_tactile_43(float),observation_tactile_44(float),observation_tactile_45(float),observation_tactile_46(float),observation_tactile_47(float),observation_tactile_48(float),observation_tactile_49(float),observation_tactile_50(float),observation_tactile_51(float),observation_tactile_52(float),observation_tactile_53(float),observation_tactile_54(float),observation_tactile_55(float),observation_tactile_56(float),observation_tactile_57(float),observation_tactile_58(float),observation_tactile_59(float),observation_tactile_60(float),observation_tactile_61(float),observation_tactile_62(float),observation_tactile_63(float),observation_tactile_64(float),observation_tactile_65(float),observation_tactile_66(float),observation_tactile_67(float),observation_tactile_68(float),observation_tactile_69(float),observation_tactile_70(float),observation_tactile_71(float),observation_tactile_72(float),observation_tactile_73(float),observation_tactile_74(float),observation_tactile_75(float),observation_tactile_76(float),observation_tactile_77(float),observation_tactile_78(float),observation_tactile_79(float),observation_tactile_80(float),observation_tactile_81(float),observation_tactile_82(float),observation_tactile_83(float),observation_tactile_84(float),observation_tactile_85(float),observation_tactile_86(float),observation_tactile_87(float),observation_tactile_88(float),observation_tactile_89(float)
Conversion notes
- LeRobot
v2.1robot dataset converted with the project's genericlerobotconverter: all episodes of the sourcetrainsplit share one TsFile, with the source columnsepisode_indexandtask_indexas TAG columns (the TsFile device dimension). Query a single episode withWHERE episode_index=0. - Vector columns preserve the full source column name when flattened:
.becomes_and the element index is appended, soobservation.statebecomesobservation_state_0..N-1andactionbecomesaction_0..N-1, all single-precision FLOAT.frame_indexis kept and the sourceindexcolumn is kept assample_index. - Time =
round(timestamp * 1000)ms and restarts inside each episode. The sourcetimestampcolumn is not stored separately because it equalsTime / 1000seconds. - Camera video streams are NOT included in this repository; see the original dataset for them: https://huggingface.co/datasets/learner1119/cotap_task2_board_slide_failure/tree/main/videos
meta/is mirrored from the source withmeta/info.jsonupdated to describe the converted TsFile artifact. No numeric time-series row is dropped.
Usage
Read this dataset with the Java SDK. It is written with the
zstdcompressor. The Apache TsFile Java SDK reads every compressor, but the Python SDK (pip install tsfile) implements onlyUNCOMPRESSED,SNAPPY,GZIPandLZ4; opening this file with it yields no rows.
Read a converted file with the Apache TsFile Java SDK (org.apache.tsfile:tsfile):
import org.apache.tsfile.file.metadata.IDeviceID;
import org.apache.tsfile.read.TsFileReader;
import org.apache.tsfile.read.TsFileSequenceReader;
import org.apache.tsfile.read.common.Path;
import org.apache.tsfile.read.expression.QueryExpression;
import org.apache.tsfile.read.query.dataset.QueryDataSet;
import org.apache.tsfile.write.schema.MeasurementSchema;
import java.util.ArrayList;
import java.util.List;
String path = "data/cotap_task2_board_slide_failure.tsfile";
try (TsFileSequenceReader sequenceReader = new TsFileSequenceReader(path);
TsFileReader reader = new TsFileReader(sequenceReader)) {
// Devices are enumerated as IDeviceID objects. Tables with TAG columns
// have multi-segment device ids that cannot be rebuilt from their string
// form, so always use getAllDevices() rather than getAllDeviceIds().
for (IDeviceID device : sequenceReader.getAllDevices()) {
List<Path> paths = new ArrayList<>();
for (MeasurementSchema schema : reader.getMeasurement(device)) {
String name = schema.getMeasurementName();
if (name != null && !name.isEmpty() && !name.equalsIgnoreCase("Time")) {
paths.add(new Path(device, name, true));
}
}
QueryDataSet dataSet = reader.query(QueryExpression.create(paths, null));
while (dataSet.hasNext()) {
System.out.println(dataSet.next());
}
}
}
Source & license
- Original dataset:
learner1119/cotap_task2_board_slide_failure - License: apache-2.0 (as declared by the original dataset).
- Downloads last month
- 18