diff --git a/human/shakers_014/episode.json b/human/shakers_014/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..aa4bb2d8673ab5f59368c31a4670c158d2c7bf41 --- /dev/null +++ b/human/shakers_014/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_014", + "session_id": "shakers_test", + "split": "test", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 13, + "start_s": 620.3076923076924, + "end_s": 660.9230769230769, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 681.0497230769231, + "end_s": 721.6691692307692 + } + }, + "first_bar": 168, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_015/episode.json b/human/shakers_015/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..6cd5f935c1b04d986cec0151331fe8b8c15d301c --- /dev/null +++ b/human/shakers_015/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_015", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 3, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 14, + "start_s": 668.3076923076924, + "end_s": 708.9230769230769, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 729.054523076923, + "end_s": 769.6739692307691 + } + }, + "first_bar": 181, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_016/episode.json b/human/shakers_016/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..c3fef8011fce4a2a6be42280c4bb1a3d94caac4d --- /dev/null +++ b/human/shakers_016/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_016", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 3, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 15, + "start_s": 716.3076923076924, + "end_s": 756.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 777.0593230769231, + "end_s": 817.6787692307693 + } + }, + "first_bar": 194, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_017/episode.json b/human/shakers_017/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..c50262ae50d75483115ff22ecbcddbe761689594 --- /dev/null +++ b/human/shakers_017/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_017", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 4, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 16, + "start_s": 764.3076923076924, + "end_s": 804.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 825.0641230769231, + "end_s": 865.6835692307693 + } + }, + "first_bar": 207, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_018/episode.json b/human/shakers_018/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..3c8dc8fd96da03c9142cbd07166deda12580e776 --- /dev/null +++ b/human/shakers_018/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_018", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 17, + "start_s": 812.3076923076924, + "end_s": 852.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 873.068923076923, + "end_s": 913.6883692307692 + } + }, + "first_bar": 220, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_019/episode.json b/human/shakers_019/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..9fdb88805133f7aab927f3faaa5d165fe62fe8e6 --- /dev/null +++ b/human/shakers_019/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_019", + "session_id": "shakers_val", + "split": "val", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 18, + "start_s": 860.3076923076924, + "end_s": 900.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 921.0737230769231, + "end_s": 961.6931692307693 + } + }, + "first_bar": 233, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_020/episode.json b/human/shakers_020/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..cd10e9d80f495593ba74aea13179cec0be2399aa --- /dev/null +++ b/human/shakers_020/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_020", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 2, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 19, + "start_s": 908.3076923076924, + "end_s": 948.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 969.078523076923, + "end_s": 1009.6979692307692 + } + }, + "first_bar": 246, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_021/episode.json b/human/shakers_021/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..e42c40c59c378d7f91a56b06cb1a16d348da693c --- /dev/null +++ b/human/shakers_021/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_021", + "session_id": "shakers_test", + "split": "test", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 6, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 20, + "start_s": 956.3076923076924, + "end_s": 996.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1017.0833230769231, + "end_s": 1057.7027692307693 + } + }, + "first_bar": 259, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_022/episode.json b/human/shakers_022/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..303cfa6f32b11729acbd955ba0ba0ffe54857d05 --- /dev/null +++ b/human/shakers_022/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_022", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 21, + "start_s": 1004.3076923076924, + "end_s": 1044.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1065.0881230769232, + "end_s": 1105.7075692307692 + } + }, + "first_bar": 272, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_023/episode.json b/human/shakers_023/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..1a441ff64a619623745ae9ca8412df0437a3cfe3 --- /dev/null +++ b/human/shakers_023/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_023", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 4, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 22, + "start_s": 1052.3076923076924, + "end_s": 1092.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1113.0929230769232, + "end_s": 1153.7123692307694 + } + }, + "first_bar": 285, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_024/episode.json b/human/shakers_024/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..ee74a76725ced442c1e8a78a62be2d43b04403ba --- /dev/null +++ b/human/shakers_024/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_024", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 23, + "start_s": 1100.3076923076924, + "end_s": 1140.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1161.097723076923, + "end_s": 1201.7171692307693 + } + }, + "first_bar": 298, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_025/episode.json b/human/shakers_025/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..8b886e5cf5aa5b0a0c32d89052d4b96f635a4a8a --- /dev/null +++ b/human/shakers_025/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_025", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 24, + "start_s": 1148.3076923076924, + "end_s": 1188.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1209.1025230769233, + "end_s": 1249.7219692307692 + } + }, + "first_bar": 311, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_026/episode.json b/human/shakers_026/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..ec745d895e422789b3da534218652ea971cfdfb6 --- /dev/null +++ b/human/shakers_026/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_026", + "session_id": "shakers_val", + "split": "val", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 25, + "start_s": 1196.3076923076924, + "end_s": 1236.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1257.1073230769232, + "end_s": 1297.7267692307692 + } + }, + "first_bar": 324, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_027/episode.json b/human/shakers_027/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..020ed3b0041d4da1fd5e3bf935c7a287247882cd --- /dev/null +++ b/human/shakers_027/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_027", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 5, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 26, + "start_s": 1244.3076923076924, + "end_s": 1284.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1305.1121230769231, + "end_s": 1345.7315692307693 + } + }, + "first_bar": 337, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_028/episode.json b/human/shakers_028/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..69eb1cc82900f31b663b8340780359ae44cf4b42 --- /dev/null +++ b/human/shakers_028/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_028", + "session_id": "shakers_test", + "split": "test", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 5, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 27, + "start_s": 1292.3076923076924, + "end_s": 1332.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1353.1169230769233, + "end_s": 1393.7363692307692 + } + }, + "first_bar": 350, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_029/episode.json b/human/shakers_029/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..e475107aa7096a712c4571309055c717ce13b020 --- /dev/null +++ b/human/shakers_029/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_029", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 28, + "start_s": 1340.3076923076924, + "end_s": 1380.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1401.1217230769232, + "end_s": 1441.7411692307692 + } + }, + "first_bar": 363, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_030/episode.json b/human/shakers_030/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..1457338ede842ead3a2b26b87754da9b7db3c27f --- /dev/null +++ b/human/shakers_030/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_030", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 29, + "start_s": 1388.3076923076924, + "end_s": 1428.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1449.1265230769231, + "end_s": 1489.7459692307693 + } + }, + "first_bar": 376, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_031/episode.json b/human/shakers_031/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..9e54a00d3cf59192c6c44120de863cc4a1723e7f --- /dev/null +++ b/human/shakers_031/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_031", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 5, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 30, + "start_s": 1436.3076923076924, + "end_s": 1476.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1497.131323076923, + "end_s": 1537.7507692307693 + } + }, + "first_bar": 389, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_032/episode.json b/human/shakers_032/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..efd9a0f7dee86a5942a1dc63b1ab0eb2469f6389 --- /dev/null +++ b/human/shakers_032/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_032", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 3, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 31, + "start_s": 1484.3076923076924, + "end_s": 1524.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1545.1361230769232, + "end_s": 1585.7555692307692 + } + }, + "first_bar": 402, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_033/episode.json b/human/shakers_033/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..d6e49087e8ffa1360850763960b60a209f8a5bb4 --- /dev/null +++ b/human/shakers_033/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_033", + "session_id": "shakers_val", + "split": "val", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 2, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 32, + "start_s": 1532.3076923076924, + "end_s": 1572.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1593.1409230769232, + "end_s": 1633.7603692307694 + } + }, + "first_bar": 415, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_034/episode.json b/human/shakers_034/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..fefc1328b35dc04eac3034cf5534b6394c955c4e --- /dev/null +++ b/human/shakers_034/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_034", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 2, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 33, + "start_s": 1580.3076923076924, + "end_s": 1620.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1641.145723076923, + "end_s": 1681.7651692307693 + } + }, + "first_bar": 428, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_035/episode.json b/human/shakers_035/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..08a925ad43368bbda7fa380bf16379d543caf77d --- /dev/null +++ b/human/shakers_035/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_035", + "session_id": "shakers_test", + "split": "test", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 6, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 34, + "start_s": 1628.3076923076924, + "end_s": 1668.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1689.1505230769233, + "end_s": 1729.7699692307692 + } + }, + "first_bar": 441, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_036/episode.json b/human/shakers_036/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..99b16a4466e7e296dec580c314815bfc996f8f51 --- /dev/null +++ b/human/shakers_036/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_036", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 2, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 35, + "start_s": 1676.3076923076924, + "end_s": 1716.923076923077, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1737.1553230769232, + "end_s": 1777.7747692307692 + } + }, + "first_bar": 454, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_037/episode.json b/human/shakers_037/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..58be49e15d68dab94d791040b07a92eaa1491381 --- /dev/null +++ b/human/shakers_037/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_037", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 36, + "start_s": 1724.3076923076924, + "end_s": 1764.9230769230771, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1785.1601230769231, + "end_s": 1825.7795692307695 + } + }, + "first_bar": 467, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_038/episode.json b/human/shakers_038/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..f1d9691a17a2a0061e0b9b9431c2aedc595dfb80 --- /dev/null +++ b/human/shakers_038/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_038", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 4, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knob", + "cycle": 37, + "start_s": 1772.3076923076924, + "end_s": 1812.9230769230771, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knob.MOV", + "start_s": 1833.1649230769233, + "end_s": 1873.7843692307695 + } + }, + "first_bar": 480, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1622.5543625234186, + 64.22177421106981, + -907.9393506030025, + 188.7211774197049 + ], + [ + -44.53699970539574, + -1502.1392810088937, + -756.8057849325181, + 346.0603497527674 + ], + [ + 0.032282214592619624, + 0.13826969517753818, + -0.9898683498407789, + 0.5136893298001327 + ] + ], + "note": "2026-10-12 knob session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_039/episode.json b/human/shakers_039/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..7df2d8a589ee9f627626cd4a2abfa12ab0ca3d58 --- /dev/null +++ b/human/shakers_039/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_039", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 4, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 0, + "start_s": -3.6923076923076925, + "end_s": 36.92307692307693, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 35.78732307692307, + "end_s": 76.40676923076923 + } + }, + "first_bar": -1, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_040/episode.json b/human/shakers_040/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..fcf464bf33776e86df712f024dd1401ec697bfe7 --- /dev/null +++ b/human/shakers_040/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_040", + "session_id": "shakers_val", + "split": "val", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 4, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 1, + "start_s": 44.30769230769231, + "end_s": 84.92307692307693, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 83.79212307692308, + "end_s": 124.41156923076923 + } + }, + "first_bar": 12, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_041/episode.json b/human/shakers_041/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..9c0be9d3ebf508ebca991ad746baf26481b3aa46 --- /dev/null +++ b/human/shakers_041/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_041", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 4, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 2, + "start_s": 92.3076923076923, + "end_s": 132.92307692307693, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 131.79692307692306, + "end_s": 172.41636923076922 + } + }, + "first_bar": 25, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_042/episode.json b/human/shakers_042/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..807fb8f50877bbf8a02ccb546d8e2da014202e47 --- /dev/null +++ b/human/shakers_042/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_042", + "session_id": "shakers_test", + "split": "test", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 5, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 3, + "start_s": 140.30769230769232, + "end_s": 180.92307692307693, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 179.80172307692308, + "end_s": 220.42116923076924 + } + }, + "first_bar": 38, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_043/episode.json b/human/shakers_043/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..1ae145edd21da0d95580f01864786002733d5018 --- /dev/null +++ b/human/shakers_043/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_043", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 2, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 4, + "start_s": 188.30769230769232, + "end_s": 228.92307692307693, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 227.80652307692307, + "end_s": 268.4259692307692 + } + }, + "first_bar": 51, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_044/episode.json b/human/shakers_044/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..df1f6ae8f37ae3d6794d4f14d5dfaf7abe1d28c1 --- /dev/null +++ b/human/shakers_044/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_044", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 4, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 5, + "start_s": 236.30769230769232, + "end_s": 276.92307692307696, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 275.8113230769231, + "end_s": 316.4307692307693 + } + }, + "first_bar": 64, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_045/episode.json b/human/shakers_045/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..a562b8dd9fec9ae95d185fc33816f2a9bcd63a4e --- /dev/null +++ b/human/shakers_045/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_045", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 2, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 6, + "start_s": 284.3076923076923, + "end_s": 324.92307692307696, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 323.8161230769231, + "end_s": 364.43556923076926 + } + }, + "first_bar": 77, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_046/episode.json b/human/shakers_046/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..633a915bb94b5303ff282ac5446d9e2d1bb0d6d0 --- /dev/null +++ b/human/shakers_046/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_046", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 3, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 7, + "start_s": 332.3076923076923, + "end_s": 372.92307692307696, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 371.8209230769231, + "end_s": 412.4403692307693 + } + }, + "first_bar": 90, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_047/episode.json b/human/shakers_047/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..3e054dbad98093ea3901083378411752908492ab --- /dev/null +++ b/human/shakers_047/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_047", + "session_id": "shakers_val", + "split": "val", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 3, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 8, + "start_s": 380.3076923076923, + "end_s": 420.92307692307696, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 419.8257230769231, + "end_s": 460.4451692307693 + } + }, + "first_bar": 103, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/human/shakers_048/episode.json b/human/shakers_048/episode.json new file mode 100644 index 0000000000000000000000000000000000000000..0724e7c4a64f45ad6e01df63a5055d16f2bf218a --- /dev/null +++ b/human/shakers_048/episode.json @@ -0,0 +1,52 @@ +{ + "episode_id": "shakers_048", + "session_id": "shakers_train", + "split": "train", + "instruction": "Play along with this beat.", + "bpm": 65.0, + "duration_s": 40.61538461538462, + "role": "shakers", + "chords": 1, + "expected_hits_s": [], + "hit_beats": [], + "source": { + "session": "knobshorter", + "cycle": 9, + "start_s": 428.3076923076923, + "end_s": 468.92307692307696, + "filled_beats": [], + "video": { + "path": "newrecordeddata\\angle1knobshorter.MOV", + "start_s": 467.8305230769231, + "end_s": 508.4499692307693 + } + }, + "first_bar": 116, + "bars": 11, + "cameras": { + "human.mp4": { + "projection": [ + [ + 1620.9590411944048, + 56.26769252126282, + -911.3104265553238, + 190.41884539431945 + ], + [ + -45.7084225802718, + -1508.8261159216522, + -743.3138314453751, + 347.3545180532571 + ], + [ + 0.030538743917315377, + 0.12944781855430343, + -0.9911158597214983, + 0.5151941644832215 + ] + ], + "note": "2026-10-12 knobshorter session; surveyed ArUco markers, focal assumed" + } + }, + "midi_events": [] +} diff --git a/jaco_v1/take001/robot.json b/jaco_v1/take001/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..66385780347c0b9dc6af0f30332f916353719fd8 --- /dev/null +++ b/jaco_v1/take001/robot.json @@ -0,0 +1,745 @@ +{ + "episode": { + "episode_id": "take001", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 33.230772, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079, + 26.769233, + 28.615387000000002 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22, + 24, + 26 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 1, + "start_s": 0.0, + "end_s": 33.230772, + "filled_beats": [ + 17 + ] + }, + "source_sha256": "58055a7f02e0bfcaf2c7012e3cbf647759d92ad6ee88311c36ce7269f4dfc24b" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.9364957127430102, + "peak_acceleration_rad_s2": 131.6384153813516, + "rms_jerk_rad_s3": 284.665286115328, + "peak_jerk_rad_s3": 7896.352629931649 + }, + "after": { + "peak_velocity_rad_s": 2.940043149167355, + "peak_acceleration_rad_s2": 117.23841538135318, + "rms_jerk_rad_s3": 155.38950623179306, + "peak_jerk_rad_s3": 5901.527366800423 + }, + "max_joint_adjustment_rad": 0.002000000000000668, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019209759600026328, + 7.804582806129138e-08 + ] + }, + "fps": 60, + "source_sha256": "58055a7f02e0bfcaf2c7012e3cbf647759d92ad6ee88311c36ce7269f4dfc24b", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "58055a7f02e0bfcaf2c7012e3cbf647759d92ad6ee88311c36ce7269f4dfc24b", + "events": [ + { + "time_s": 4.646, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.096, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.6827, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 26.716, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 28.586, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.663333333333249, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.470000000000198, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.30166666666715, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.115000000000768, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.0283333333344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.841666666668017, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.693333333334973, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53500000000029, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.364999999998627, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.234999999996926, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.074999999995253, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.944999999993552, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.731666666658594, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.604999999990223, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 14, + "expected": 14, + "missed": [], + "extra": [], + "timing_mae_s": 0.01602142856944447, + "timing_max_s": 0.022333333334399796, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": false, + "max_joint_error": [ + 0.01747070013189997, + 0.0359534542182085, + 0.02503430118147687, + 0.018331747530551556, + 0.18106425886118416, + 0.017466815707043448, + 0.1241811474512271, + 3.988428610046668e-06, + 4.675762270478501e-06, + 1.9964474518019415e-11, + 7.879918939579511e-12, + 1.4876100351557398e-11, + 5.371536548892664e-13, + 2.0832224834066437e-12, + 9.890754881780595e-12, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": false, + "source_sha256": "58055a7f02e0bfcaf2c7012e3cbf647759d92ad6ee88311c36ce7269f4dfc24b", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1994, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take002/robot.json b/jaco_v1/take002/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..517f31e8cbd87a8238ca43121b0d1de9fe5094ee --- /dev/null +++ b/jaco_v1/take002/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take002", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 2, + "start_s": 40.615388, + "end_s": 70.153852, + "filled_beats": [ + 57 + ] + }, + "source_sha256": "fd184b7882f40d769b2ab8fe2cb88daa547ac7ae6eddd0b5583fad05241f059b" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.0111162030270755, + "peak_acceleration_rad_s2": 117.43456849332397, + "rms_jerk_rad_s3": 241.22593935149996, + "peak_jerk_rad_s3": 7044.093002947655 + }, + "after": { + "peak_velocity_rad_s": 2.9528146840797653, + "peak_acceleration_rad_s2": 103.03456849332555, + "rms_jerk_rad_s3": 126.2772211224468, + "peak_jerk_rad_s3": 5106.825649899654 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018265366375803383, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "fd184b7882f40d769b2ab8fe2cb88daa547ac7ae6eddd0b5583fad05241f059b", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "fd184b7882f40d769b2ab8fe2cb88daa547ac7ae6eddd0b5583fad05241f059b", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.0, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.886, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.606666666666573, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4766666666668655, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.330000000000489, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.160000000000775, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.013333333334398, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.84500000000135, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.67333333333497, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.530000000000296, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.369999999998623, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.23666666666359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.08333333332858, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.90499999999359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.013666666665841301, + "timing_max_s": 0.02066666666686512, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.017242078169817016, + 0.03590042560432494, + 0.025760377261764944, + 0.018500852036027304, + 0.12145723401088482, + 0.017611412043053276, + 0.12251313136000053, + 3.7846252400886016e-06, + 4.519534829494631e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "fd184b7882f40d769b2ab8fe2cb88daa547ac7ae6eddd0b5583fad05241f059b", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take003/robot.json b/jaco_v1/take003/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..0d5248ba53b169d5e70a2745082508898b60ce4f --- /dev/null +++ b/jaco_v1/take003/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take003", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 3, + "start_s": 77.53846800000001, + "end_s": 107.076932, + "filled_beats": [] + }, + "source_sha256": "471912192e877d36e367a032537ae44fadf58c26bc3cc9c02f4106cc53c08dc8" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.2779521262783184, + "peak_acceleration_rad_s2": 135.7491422650142, + "rms_jerk_rad_s3": 302.3742818706378, + "peak_jerk_rad_s3": 8143.00537001096 + }, + "after": { + "peak_velocity_rad_s": 3.1549805885764037, + "peak_acceleration_rad_s2": 121.34914226501579, + "rms_jerk_rad_s3": 179.496731169002, + "peak_jerk_rad_s3": 6131.316109698502 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019383534843051312, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "471912192e877d36e367a032537ae44fadf58c26bc3cc9c02f4106cc53c08dc8", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "471912192e877d36e367a032537ae44fadf58c26bc3cc9c02f4106cc53c08dc8", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.546, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.256, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.616666666666575, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.471666666666865, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.331666666667155, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.166666666667442, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.0233333333344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.851666666668018, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.67333333333497, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.5633333333336, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.393333333331935, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.273333333330225, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.08666666666191, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.85333333332697, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016916666665838315, + "timing_max_s": 0.020666666667441547, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.015124407204043108, + 0.03951329078068255, + 0.02907655006630172, + 0.020776315304041088, + 0.14149744294894173, + 0.019893230951080865, + 0.1591903030830797, + 3.442975819334393e-06, + 4.254026642724895e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "471912192e877d36e367a032537ae44fadf58c26bc3cc9c02f4106cc53c08dc8", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take004/robot.json b/jaco_v1/take004/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..2dbb112cc9194d4584750978346b70980b9c2150 --- /dev/null +++ b/jaco_v1/take004/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take004", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 4, + "start_s": 114.46154800000001, + "end_s": 144.000012, + "filled_beats": [] + }, + "source_sha256": "ab2a5f68754408c3305bbd067448028e2e211d7e604546b5d3edf4ab18b56a91" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.7752611935311045, + "peak_acceleration_rad_s2": 143.82801179297041, + "rms_jerk_rad_s3": 313.8390018002169, + "peak_jerk_rad_s3": 8927.910959444696 + }, + "after": { + "peak_velocity_rad_s": 2.7389576578051944, + "peak_acceleration_rad_s2": 122.22801179297278, + "rms_jerk_rad_s3": 175.89595476515547, + "peak_jerk_rad_s3": 6370.3535060921795 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018251471996606097, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "ab2a5f68754408c3305bbd067448028e2e211d7e604546b5d3edf4ab18b56a91", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "ab2a5f68754408c3305bbd067448028e2e211d7e604546b5d3edf4ab18b56a91", + "events": [ + { + "time_s": 4.576, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.466, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.026, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.594999999999905, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4850000000002, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.315000000000486, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.165000000000775, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.015000000001065, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.86666666666802, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.67333333333497, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.536666666666957, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.396666666665265, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.2649999999969, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.046666666661945, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01941666666583745, + "timing_max_s": 0.02066666666802064, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.01925833841788796, + 0.03616711718312704, + 0.034675664195350286, + 0.017651370882066558, + 0.10592440120161761, + 0.01690407474069522, + 0.11035060684647591, + 3.926233695272785e-06, + 4.952062248486655e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "ab2a5f68754408c3305bbd067448028e2e211d7e604546b5d3edf4ab18b56a91", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take005/robot.json b/jaco_v1/take005/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..3b8f81898070c6aeee5e002771ff03ff00516e5c --- /dev/null +++ b/jaco_v1/take005/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take005", + "session_id": "session05", + "split": "val", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 5, + "start_s": 151.384628, + "end_s": 180.923092, + "filled_beats": [] + }, + "source_sha256": "b827bd71f999ac7d082988f44a5fe796c62525912fb25441854570c448dc749c" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.3462524948713757, + "peak_acceleration_rad_s2": 149.47790947126515, + "rms_jerk_rad_s3": 284.1747409457621, + "peak_jerk_rad_s3": 8877.821584886853 + }, + "after": { + "peak_velocity_rad_s": 3.2299270735066266, + "peak_acceleration_rad_s2": 127.87790947127071, + "rms_jerk_rad_s3": 169.27885346157342, + "peak_jerk_rad_s3": 6579.886222011055 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018750357539001694, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "b827bd71f999ac7d082988f44a5fe796c62525912fb25441854570c448dc749c", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "b827bd71f999ac7d082988f44a5fe796c62525912fb25441854570c448dc749c", + "events": [ + { + "time_s": 4.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.086, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.556, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.356, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.026, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.654999999999914, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.473333333333532, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.348333333333825, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.103333333334099, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.953333333334388, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.835000000001349, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.703333333334974, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.57333333333359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.35999999999863, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.243333333330252, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.03166666666196, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.953333333326878, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01594444444361572, + "timing_max_s": 0.022333333333824257, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.02068903667176193, + 0.04004591586783324, + 0.029746961028482843, + 0.021344794824497915, + 0.14686942410160864, + 0.020613935067376854, + 0.16808653096184178, + 3.0692720767167003e-06, + 3.7288717122940795e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "b827bd71f999ac7d082988f44a5fe796c62525912fb25441854570c448dc749c", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take006/robot.json b/jaco_v1/take006/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..ebd2060e94b6e8ec5126b8b56edadcc17cce8747 --- /dev/null +++ b/jaco_v1/take006/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take006", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 6, + "start_s": 188.30770800000002, + "end_s": 217.846172, + "filled_beats": [] + }, + "source_sha256": "570717766a375fd391596271a7a207ffb485147d8fa09fbeece4676c4dab50b4" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.0243707830970656, + "peak_acceleration_rad_s2": 118.6722393882313, + "rms_jerk_rad_s3": 265.24659858129115, + "peak_jerk_rad_s3": 7245.536148399403 + }, + "after": { + "peak_velocity_rad_s": 3.0018074730623034, + "peak_acceleration_rad_s2": 97.07223938823049, + "rms_jerk_rad_s3": 140.8036587532134, + "peak_jerk_rad_s3": 4221.5361484003115 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018616002666664053, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "570717766a375fd391596271a7a207ffb485147d8fa09fbeece4676c4dab50b4", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "570717766a375fd391596271a7a207ffb485147d8fa09fbeece4676c4dab50b4", + "events": [ + { + "time_s": 4.586, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.436, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.166, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.896, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.589999999999904, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4533333333335285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.315000000000486, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.185000000000779, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.008333333334397, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.855000000001352, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.703333333334974, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.553333333333608, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.38499999999861, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.263333333330234, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.068333333328592, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.91499999999358, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016083333332503596, + "timing_max_s": 0.022333333328592886, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.016628749950776622, + 0.03704305939572139, + 0.026882791032002196, + 0.019248135250202303, + 0.12080439847023339, + 0.01836861210871721, + 0.1359233556819448, + 3.432272698056238e-06, + 4.095106957535677e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "570717766a375fd391596271a7a207ffb485147d8fa09fbeece4676c4dab50b4", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take007/robot.json b/jaco_v1/take007/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..bed2dffd943c949c942df920281ae478b1798130 --- /dev/null +++ b/jaco_v1/take007/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take007", + "session_id": "session06", + "split": "test", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 7, + "start_s": 225.23078800000002, + "end_s": 254.76925200000002, + "filled_beats": [] + }, + "source_sha256": "06d3b2b66c15ffbf8e12e846f1dbb8195e26d8ed9901d7b681c8b210d69c6910" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.0395302285797676, + "peak_acceleration_rad_s2": 140.10932807971201, + "rms_jerk_rad_s3": 266.1510818329034, + "peak_jerk_rad_s3": 8463.210411603162 + }, + "after": { + "peak_velocity_rad_s": 2.9970782061084122, + "peak_acceleration_rad_s2": 118.5093280797144, + "rms_jerk_rad_s3": 147.10564299239428, + "peak_jerk_rad_s3": 6239.033289224011 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018439376821333827, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "06d3b2b66c15ffbf8e12e846f1dbb8195e26d8ed9901d7b681c8b210d69c6910", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "06d3b2b66c15ffbf8e12e846f1dbb8195e26d8ed9901d7b681c8b210d69c6910", + "events": [ + { + "time_s": 4.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.166, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.966, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.386, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.653333333333247, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.465000000000197, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.315000000000486, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.183333333334112, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.986666666667727, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.865000000001354, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.693333333334973, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53833333333362, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.403333333331926, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.234999999996926, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.053333333328606, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018722222221394746, + "timing_max_s": 0.02233333333362353, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.012388308652743762, + 0.03718462796042976, + 0.027141845239721185, + 0.019300123689680482, + 0.1215977438015825, + 0.018469219700373962, + 0.13660570151193707, + 2.675394297213529e-06, + 3.2169366592782467e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "06d3b2b66c15ffbf8e12e846f1dbb8195e26d8ed9901d7b681c8b210d69c6910", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take008/robot.json b/jaco_v1/take008/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..d2d361fa1937f6711f7886e0f4e78c7b2201690d --- /dev/null +++ b/jaco_v1/take008/robot.json @@ -0,0 +1,716 @@ +{ + "episode": { + "episode_id": "take008", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 8, + "start_s": 262.153868, + "end_s": 291.692332, + "filled_beats": [ + 305, + 309 + ] + }, + "source_sha256": "15bcf689372672811d13a8db67e5d592d427d752f0c1725c5c4ff76e83826dd7" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.8647206157639182, + "peak_acceleration_rad_s2": 114.55760254679355, + "rms_jerk_rad_s3": 221.46214406697055, + "peak_jerk_rad_s3": 7209.993048240712 + }, + "after": { + "peak_velocity_rad_s": 2.868889566377284, + "peak_acceleration_rad_s2": 92.95760254679593, + "rms_jerk_rad_s3": 120.89856339693202, + "peak_jerk_rad_s3": 4185.993048241045 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018652748019844165, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "15bcf689372672811d13a8db67e5d592d427d752f0c1725c5c4ff76e83826dd7", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "15bcf689372672811d13a8db67e5d592d427d752f0c1725c5c4ff76e83826dd7", + "events": [ + { + "time_s": 4.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.806, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.3798, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.0721, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.886, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.634999999999911, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.471666666666865, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.33500000000049, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.143333333334105, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.0233333333344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.821666666668014, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.706666666668308, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53833333333362, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.39833333333193, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.234999999996926, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.088333333328574, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.90499999999359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01831388888806133, + "timing_max_s": 0.02233333333362353, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.014249573470947477, + 0.03509299476372396, + 0.02419905592747007, + 0.017736328256268252, + 0.11032019320032127, + 0.016892745302757417, + 0.11571605138571806, + 2.5359767237276287e-06, + 3.063990246854331e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "15bcf689372672811d13a8db67e5d592d427d752f0c1725c5c4ff76e83826dd7", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take009/robot.json b/jaco_v1/take009/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..8c132ef50d0fd1c52c29894f79f9ab2e35d9f356 --- /dev/null +++ b/jaco_v1/take009/robot.json @@ -0,0 +1,653 @@ +{ + "episode": { + "episode_id": "take009", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 22.153848, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 9, + "start_s": 306.461564, + "end_s": 328.615412, + "filled_beats": [] + }, + "source_sha256": "5e0c386c8d6d8d195375b7a2bec52ae63c990172951c70212938407ee900c972" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.867265429176822, + "peak_acceleration_rad_s2": 117.27821082308871, + "rms_jerk_rad_s3": 220.7533889129887, + "peak_jerk_rad_s3": 7599.958296625715 + }, + "after": { + "peak_velocity_rad_s": 2.866879062753007, + "peak_acceleration_rad_s2": 95.67821082309429, + "rms_jerk_rad_s3": 107.65844921732625, + "peak_jerk_rad_s3": 4575.95829662624 + }, + "max_joint_adjustment_rad": 0.0020000000000024443, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0016956615986959505, + 7.804582837273208e-08 + ] + }, + "fps": 60, + "source_sha256": "5e0c386c8d6d8d195375b7a2bec52ae63c990172951c70212938407ee900c972", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "5e0c386c8d6d8d195375b7a2bec52ae63c990172951c70212938407ee900c972", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.436, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.976, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.614999999999908, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4533333333335285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.303333333333818, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.155000000000774, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.983333333334393, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.851666666668018, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.663333333334968, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.55666666666694, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 8, + "expected": 8, + "missed": [], + "extra": [], + "timing_mae_s": 0.012958333334042837, + "timing_max_s": 0.02066666666693706, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.046683087878591434, + 0.03554940482429858, + 0.038995402728882134, + 0.017973964301230966, + 0.10937301961655699, + 0.03924930100480606, + 0.11818479036590124, + 3.148080664594488e-06, + 3.236700594877462e-06, + 1.9964474518019415e-11, + 8.574474463785009e-12, + 1.638511548662791e-11, + 5.984102102729594e-13, + 2.3028245976774997e-12, + 1.057065546206104e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "5e0c386c8d6d8d195375b7a2bec52ae63c990172951c70212938407ee900c972", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1330, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take010/robot.json b/jaco_v1/take010/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..b5961e6dee50984fcccab7ead124d7aa6d01ef0f --- /dev/null +++ b/jaco_v1/take010/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take010", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 10, + "start_s": 336.000028, + "end_s": 365.538492, + "filled_beats": [] + }, + "source_sha256": "031ab978474765ee6ca9e5b61bab3eb62e5714be7b6a075eb88fe8aea27aebc9" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.648511976645853, + "peak_acceleration_rad_s2": 120.22001284256483, + "rms_jerk_rad_s3": 273.87862493748526, + "peak_jerk_rad_s3": 7593.059786747879 + }, + "after": { + "peak_velocity_rad_s": 2.656322604477559, + "peak_acceleration_rad_s2": 98.62001284256401, + "rms_jerk_rad_s3": 144.38030562034228, + "peak_jerk_rad_s3": 4678.931713453828 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.001839443660907108, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "031ab978474765ee6ca9e5b61bab3eb62e5714be7b6a075eb88fe8aea27aebc9", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "031ab978474765ee6ca9e5b61bab3eb62e5714be7b6a075eb88fe8aea27aebc9", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.096, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.806, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.336, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.593333333333238, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.458333333333529, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.365000000000494, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.1133333333341, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.026666666667733, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.808333333334678, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.715000000001643, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.543333333333617, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.35333333333197, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.234999999996926, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.064999999995262, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.946666666660217, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.015555555554744712, + "timing_max_s": 0.030666666667732656, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03988292164013846, + 0.032577570889553265, + 0.02302954707009519, + 0.0165941804468637, + 0.09541589802020223, + 0.04111507355441457, + 0.09570367366368893, + 3.166834639634075e-06, + 3.1093031889195544e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "031ab978474765ee6ca9e5b61bab3eb62e5714be7b6a075eb88fe8aea27aebc9", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take011/robot.json b/jaco_v1/take011/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..99b05d35ea9a2dadb539c737467334f150c4b95f --- /dev/null +++ b/jaco_v1/take011/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take011", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 11, + "start_s": 372.923108, + "end_s": 402.461572, + "filled_beats": [] + }, + "source_sha256": "454255a0e5cd809a06102bc47411e33d6f038c751f64244ddc8827945f255da0" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.8693324934671693, + "peak_acceleration_rad_s2": 142.7683534072763, + "rms_jerk_rad_s3": 272.7595768066671, + "peak_jerk_rad_s3": 8993.06361028293 + }, + "after": { + "peak_velocity_rad_s": 2.8608213249439274, + "peak_acceleration_rad_s2": 121.16835340726588, + "rms_jerk_rad_s3": 154.30284072757135, + "peak_jerk_rad_s3": 6376.56086637422 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018602905370217965, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "454255a0e5cd809a06102bc47411e33d6f038c751f64244ddc8827945f255da0", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "454255a0e5cd809a06102bc47411e33d6f038c751f64244ddc8827945f255da0", + "events": [ + { + "time_s": 4.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.666, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.076, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.6216666666665756, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.46333333333353, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.343333333333824, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.145000000000772, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.953333333334388, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.865000000001354, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.670000000001636, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.536666666666957, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.34666666666531, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.253333333330243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.07999999999525, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.015944444443616607, + "timing_max_s": 0.020666666666958378, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.029384461713502355, + 0.03626274740746771, + 0.02522169090077675, + 0.018186933953975026, + 0.11082695741750825, + 0.024488046200288993, + 0.12246702293832867, + 2.3499755354983165e-06, + 2.82853421973428e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "454255a0e5cd809a06102bc47411e33d6f038c751f64244ddc8827945f255da0", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take012/robot.json b/jaco_v1/take012/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..ccc044a9c1a6c392d3c04720ec35f16aa30c6322 --- /dev/null +++ b/jaco_v1/take012/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take012", + "session_id": "session05", + "split": "val", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 12, + "start_s": 409.84618800000004, + "end_s": 439.384652, + "filled_beats": [ + 457 + ] + }, + "source_sha256": "e4c70ab7bcfdb52a3f4fa33aa0b1d679f723dc495884cb659832a68043a4f701" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.8747701568206807, + "peak_acceleration_rad_s2": 117.21000115879434, + "rms_jerk_rad_s3": 231.8936708912375, + "peak_jerk_rad_s3": 6675.6159639822245 + }, + "after": { + "peak_velocity_rad_s": 2.8747701568206807, + "peak_acceleration_rad_s2": 95.61000115879992, + "rms_jerk_rad_s3": 121.72384807879942, + "peak_jerk_rad_s3": 4477.448212555096 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0016522169617234808, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "e4c70ab7bcfdb52a3f4fa33aa0b1d679f723dc495884cb659832a68043a4f701", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "e4c70ab7bcfdb52a3f4fa33aa0b1d679f723dc495884cb659832a68043a4f701", + "events": [ + { + "time_s": 4.546, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.116, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.9808, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.646, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.356, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.026, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.886, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.563333333333233, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4533333333335285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.325000000000488, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.123333333334102, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.998333333334395, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.835000000001349, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.650000000001633, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53833333333362, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.373333333331953, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.253333333330243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.043333333328615, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.906666666660254, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01387777777695128, + "timing_max_s": 0.02233333333362353, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.029692659509942015, + 0.03511597458160498, + 0.025103843606013143, + 0.01836049524977154, + 0.1094511137565668, + 0.024309062762444267, + 0.11565048939555744, + 2.3487092664087328e-06, + 2.7370553279393306e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "e4c70ab7bcfdb52a3f4fa33aa0b1d679f723dc495884cb659832a68043a4f701", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take013/robot.json b/jaco_v1/take013/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..db3fcd8fe24747cfc803142c8f434cc08a2fcf7b --- /dev/null +++ b/jaco_v1/take013/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take013", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 13, + "start_s": 446.769268, + "end_s": 476.30773200000004, + "filled_beats": [] + }, + "source_sha256": "9441d5bbd572ed678b7aad0f1352f21c2f7992a2596c8330c07c97eafcb85429" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.641457425076066, + "peak_acceleration_rad_s2": 140.20777954565807, + "rms_jerk_rad_s3": 285.8213723478236, + "peak_jerk_rad_s3": 9385.602822047907 + }, + "after": { + "peak_velocity_rad_s": 2.5933398473546454, + "peak_acceleration_rad_s2": 118.60777954565087, + "rms_jerk_rad_s3": 161.14138671028078, + "peak_jerk_rad_s3": 6361.60282204709 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019425470498270817, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "9441d5bbd572ed678b7aad0f1352f21c2f7992a2596c8330c07c97eafcb85429", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "9441d5bbd572ed678b7aad0f1352f21c2f7992a2596c8330c07c97eafcb85429", + "events": [ + { + "time_s": 4.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.436, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.176, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.966, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.556, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.336, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.653333333333247, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4533333333335285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.345000000000491, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.198333333334114, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.98000000000106, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.863333333334687, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.693333333334973, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.57333333333359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.35333333333197, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.2649999999969, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.053333333328606, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.946666666660217, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01886111111028203, + "timing_max_s": 0.027333333333246834, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.012943807465201823, + 0.03296315156701457, + 0.022780521015005384, + 0.016407599550552654, + 0.0942543199089414, + 0.01575118322515423, + 0.10124351578763768, + 2.474621560777379e-06, + 2.9338304996517905e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "9441d5bbd572ed678b7aad0f1352f21c2f7992a2596c8330c07c97eafcb85429", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take014/robot.json b/jaco_v1/take014/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..e557a28fe7fbcfeb4b0cd7014ea537963df71427 --- /dev/null +++ b/jaco_v1/take014/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take014", + "session_id": "session06", + "split": "test", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 14, + "start_s": 483.69234800000004, + "end_s": 513.230812, + "filled_beats": [ + 535 + ] + }, + "source_sha256": "9fb74c60f0fad53829ac99e421d86a49a780ac6762133901b72f20cf49df83cc" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.022499797594591, + "peak_acceleration_rad_s2": 147.523915190029, + "rms_jerk_rad_s3": 291.0111910801298, + "peak_jerk_rad_s3": 8924.040166079245 + }, + "after": { + "peak_velocity_rad_s": 3.022499797594591, + "peak_acceleration_rad_s2": 125.92391519003456, + "rms_jerk_rad_s3": 163.03992572852158, + "peak_jerk_rad_s3": 6493.840369054851 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0016523307628305403, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "9fb74c60f0fad53829ac99e421d86a49a780ac6762133901b72f20cf49df83cc", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "9fb74c60f0fad53829ac99e421d86a49a780ac6762133901b72f20cf49df83cc", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.1442, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.976, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.646, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.546, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.076, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.614999999999908, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.46333333333353, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.33500000000049, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.155000000000774, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.995000000001061, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.843333333334684, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.6516666666683, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.558333333333604, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.348333333331976, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.263333333330234, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.09333333332857, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.015538888888057508, + "timing_max_s": 0.02233333333197507, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.013225734812009145, + 0.0376611273604226, + 0.026555516691954217, + 0.01943369010183657, + 0.12412582453959509, + 0.018506427358010447, + 0.13459531213065756, + 2.297017317021144e-06, + 2.7860615949837353e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "9fb74c60f0fad53829ac99e421d86a49a780ac6762133901b72f20cf49df83cc", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take015/robot.json b/jaco_v1/take015/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..8f8a10c8ca7ffd120fd642a4f650160d6a1850e7 --- /dev/null +++ b/jaco_v1/take015/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take015", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 15, + "start_s": 520.6154280000001, + "end_s": 550.153892, + "filled_beats": [] + }, + "source_sha256": "36358df7e205d60f2ed1b39194e708860657829ff2a7b5031dec4631b4218b06" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.116892978919612, + "peak_acceleration_rad_s2": 117.12446658829592, + "rms_jerk_rad_s3": 223.13138273131554, + "peak_jerk_rad_s3": 7751.762333113134 + }, + "after": { + "peak_velocity_rad_s": 3.123811490944437, + "peak_acceleration_rad_s2": 95.5244665882887, + "rms_jerk_rad_s3": 125.82768888739852, + "peak_jerk_rad_s3": 4727.762333113851 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0016955344805379539, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "36358df7e205d60f2ed1b39194e708860657829ff2a7b5031dec4631b4218b06", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "36358df7e205d60f2ed1b39194e708860657829ff2a7b5031dec4631b4218b06", + "events": [ + { + "time_s": 4.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.486, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.634999999999911, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.505000000000203, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.321666666667154, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.165000000000775, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.021666666667732, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.853333333334685, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.703333333334974, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53500000000029, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.38499999999861, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.266666666663564, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.053333333328606, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018166666665839104, + "timing_max_s": 0.020666666663565536, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.011850907741025402, + 0.03762456575600659, + 0.027091572234094308, + 0.019794658578726615, + 0.12751963997619598, + 0.018860905722732912, + 0.1417109594349979, + 2.348257272188903e-06, + 2.866065308193555e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "36358df7e205d60f2ed1b39194e708860657829ff2a7b5031dec4631b4218b06", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take016/robot.json b/jaco_v1/take016/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..6f02f6088e76fcf64cbe423cbfd15d78910cb3f4 --- /dev/null +++ b/jaco_v1/take016/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take016", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 16, + "start_s": 557.538508, + "end_s": 587.0769720000001, + "filled_beats": [] + }, + "source_sha256": "0ce737fa5972871313489e060596a34a7ca6e26fa5f6d1c10ab6dbd7d9f91128" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.977347384964979, + "peak_acceleration_rad_s2": 146.53320757547874, + "rms_jerk_rad_s3": 262.2702189366105, + "peak_jerk_rad_s3": 8934.73304787429 + }, + "after": { + "peak_velocity_rad_s": 2.904773492833783, + "peak_acceleration_rad_s2": 124.93320757548112, + "rms_jerk_rad_s3": 145.34048358353127, + "peak_jerk_rad_s3": 6624.4816900805645 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0016292523680043376, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "0ce737fa5972871313489e060596a34a7ca6e26fa5f6d1c10ab6dbd7d9f91128", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "0ce737fa5972871313489e060596a34a7ca6e26fa5f6d1c10ab6dbd7d9f91128", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.476, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.106, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.614999999999908, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.493333333333535, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.341666666667157, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.110000000000767, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.015000000001065, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.85666666666802, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.650000000001633, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53166666666696, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.383333333331944, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.253333333330243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.078333333328583, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.944999999993552, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01511111111028085, + "timing_max_s": 0.019000000001064166, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.009985760650855074, + 0.03755253824101734, + 0.02615528243152898, + 0.01908168126636614, + 0.11939533240043154, + 0.01826688007676247, + 0.12873178801396867, + 2.2570501505558838e-06, + 2.7318181330393543e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "0ce737fa5972871313489e060596a34a7ca6e26fa5f6d1c10ab6dbd7d9f91128", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take017/robot.json b/jaco_v1/take017/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..1d5df58109b234ff606754510675ca24fef80768 --- /dev/null +++ b/jaco_v1/take017/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take017", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 17, + "start_s": 594.461588, + "end_s": 624.000052, + "filled_beats": [] + }, + "source_sha256": "0d2bd5a5eeed882cfabd4f5e315038473f64863a4cd31cb8a3afa1eab5555185" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.0034625535260773, + "peak_acceleration_rad_s2": 122.62262161251023, + "rms_jerk_rad_s3": 249.65549433490213, + "peak_jerk_rad_s3": 7422.67789700994 + }, + "after": { + "peak_velocity_rad_s": 2.88362259270901, + "peak_acceleration_rad_s2": 103.61631623745318, + "rms_jerk_rad_s3": 138.88893216354506, + "peak_jerk_rad_s3": 5189.792892733123 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018895009435640681, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "0d2bd5a5eeed882cfabd4f5e315038473f64863a4cd31cb8a3afa1eab5555185", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "0d2bd5a5eeed882cfabd4f5e315038473f64863a4cd31cb8a3afa1eab5555185", + "events": [ + { + "time_s": 4.576, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.594999999999905, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.471666666666865, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.32333333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.165000000000775, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.021666666667732, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.835000000001349, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.653333333334967, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.543333333333617, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.371666666665288, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.244999999996917, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.071666666661923, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.953333333326878, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016499999999169734, + "timing_max_s": 0.019000000001348383, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.016131312260734082, + 0.03630269026153554, + 0.026221460975105693, + 0.01878516878314823, + 0.11911064610352007, + 0.01799559488773772, + 0.13073066454029103, + 2.511625706969056e-06, + 2.7450005626317164e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "0d2bd5a5eeed882cfabd4f5e315038473f64863a4cd31cb8a3afa1eab5555185", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take018/robot.json b/jaco_v1/take018/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..f5285a936c5099b8e49fe5cd5ed0ba44a3da7f33 --- /dev/null +++ b/jaco_v1/take018/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take018", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 18, + "start_s": 631.384668, + "end_s": 660.923132, + "filled_beats": [] + }, + "source_sha256": "30c776c3b791d2845b0ee380c68165e2147f5ae5234e2b431d41209f8e8276a5" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.6930211902810264, + "peak_acceleration_rad_s2": 140.3232538126865, + "rms_jerk_rad_s3": 261.27758693781556, + "peak_jerk_rad_s3": 8744.424402083 + }, + "after": { + "peak_velocity_rad_s": 2.627605656223544, + "peak_acceleration_rad_s2": 118.72325381268887, + "rms_jerk_rad_s3": 139.6764908732297, + "peak_jerk_rad_s3": 6251.869338490771 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018257138793467023, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "30c776c3b791d2845b0ee380c68165e2147f5ae5234e2b431d41209f8e8276a5", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "30c776c3b791d2845b0ee380c68165e2147f5ae5234e2b431d41209f8e8276a5", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.476, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.186, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.806, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.356, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.616666666666575, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.495000000000202, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.25333333333381, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.20000000000078, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.010000000001064, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.826666666668014, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.69500000000164, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53166666666696, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.371666666665288, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.266666666663564, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.084999999995244, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.946666666660217, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016361111110280158, + "timing_max_s": 0.02066666666801531, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.014690556422538296, + 0.03437271223153804, + 0.022914347952498026, + 0.016647880055942865, + 0.09962684025278268, + 0.01595914358402073, + 0.1021776727628656, + 2.2346408381501703e-06, + 2.75435727070672e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "30c776c3b791d2845b0ee380c68165e2147f5ae5234e2b431d41209f8e8276a5", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take019/robot.json b/jaco_v1/take019/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..fb6d47aafff85951fba7c5001ec14a6884dc32db --- /dev/null +++ b/jaco_v1/take019/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take019", + "session_id": "session05", + "split": "val", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 19, + "start_s": 668.3077480000001, + "end_s": 697.846212, + "filled_beats": [] + }, + "source_sha256": "390c669272c15b58496c00122e7c0104d7c4516b021b259d127d1d3429a5b4bc" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.6678473582309614, + "peak_acceleration_rad_s2": 119.07130776898178, + "rms_jerk_rad_s3": 241.74703910415548, + "peak_jerk_rad_s3": 7910.8015078765075 + }, + "after": { + "peak_velocity_rad_s": 2.6665483525664335, + "peak_acceleration_rad_s2": 97.47130776898416, + "rms_jerk_rad_s3": 129.51855024199722, + "peak_jerk_rad_s3": 4910.264954124785 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0017635722045318913, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "390c669272c15b58496c00122e7c0104d7c4516b021b259d127d1d3429a5b4bc", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "390c669272c15b58496c00122e7c0104d7c4516b021b259d127d1d3429a5b4bc", + "events": [ + { + "time_s": 4.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.986, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.256, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.6233333333332425, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.46333333333353, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.33500000000049, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.163333333334108, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.003333333334396, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.855000000001352, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.715000000001643, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53166666666696, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.38499999999861, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.27166666666356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.039999999995285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.953333333326878, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01733333333250453, + "timing_max_s": 0.02399999999528646, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03505649085653588, + 0.03313947215503488, + 0.022915686663661283, + 0.01640447614805346, + 0.09538413671603507, + 0.032839475338437785, + 0.0998802021893277, + 2.3511785893770565e-06, + 2.7925141652396235e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "390c669272c15b58496c00122e7c0104d7c4516b021b259d127d1d3429a5b4bc", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take020/robot.json b/jaco_v1/take020/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..651bd0111da44022d7717bede98e8ccf95c19bd6 --- /dev/null +++ b/jaco_v1/take020/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take020", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 20, + "start_s": 705.230828, + "end_s": 734.7692920000001, + "filled_beats": [ + 775 + ] + }, + "source_sha256": "eaebc14ddc9edfab921b4438c4f6e3a92efa8826ebf88fd74a89af8fb5a58a45" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.7527453432515614, + "peak_acceleration_rad_s2": 136.04578860615675, + "rms_jerk_rad_s3": 254.51241305989973, + "peak_jerk_rad_s3": 8332.515908329022 + }, + "after": { + "peak_velocity_rad_s": 2.6846729007458414, + "peak_acceleration_rad_s2": 114.44578860615913, + "rms_jerk_rad_s3": 141.53493138694594, + "peak_jerk_rad_s3": 5995.2115055278055 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018560525797135087, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "eaebc14ddc9edfab921b4438c4f6e3a92efa8826ebf88fd74a89af8fb5a58a45", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "eaebc14ddc9edfab921b4438c4f6e3a92efa8826ebf88fd74a89af8fb5a58a45", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.476, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.1442, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.966, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.386, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.946, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.614999999999908, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.470000000000198, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.31333333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.158333333334108, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.98500000000106, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.835000000001349, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.693333333334973, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53500000000029, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.40499999999859, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.244999999996917, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.05166666666194, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.964999999993534, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016955555554691193, + "timing_max_s": 0.019000000001348383, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.011756736707184091, + 0.034582121845203595, + 0.030096965494655237, + 0.017380914567604905, + 0.10353564994814679, + 0.01663344612064832, + 0.10861328144134386, + 2.1543722710237745e-06, + 2.603087089658729e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "eaebc14ddc9edfab921b4438c4f6e3a92efa8826ebf88fd74a89af8fb5a58a45", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take021/robot.json b/jaco_v1/take021/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..a9cc971dda417d8d941782450884824c1dee8f9b --- /dev/null +++ b/jaco_v1/take021/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take021", + "session_id": "session06", + "split": "test", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 21, + "start_s": 742.153908, + "end_s": 771.692372, + "filled_beats": [] + }, + "source_sha256": "048d59f2751d6bc15808a912f5bf075402687b57d56a0631a96d9093ceb8b84f" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.853974366391636, + "peak_acceleration_rad_s2": 135.3067493508437, + "rms_jerk_rad_s3": 244.00235498385092, + "peak_jerk_rad_s3": 8235.736479461026 + }, + "after": { + "peak_velocity_rad_s": 2.8482042644417938, + "peak_acceleration_rad_s2": 113.70674935085248, + "rms_jerk_rad_s3": 141.19073398317292, + "peak_jerk_rad_s3": 5950.86747661253 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018742515674772075, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "048d59f2751d6bc15808a912f5bf075402687b57d56a0631a96d9093ceb8b84f", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "048d59f2751d6bc15808a912f5bf075402687b57d56a0631a96d9093ceb8b84f", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.986, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.546, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.603333333333239, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.471666666666865, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.33500000000049, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.17333333333411, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.003333333334396, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.855000000001352, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.703333333334974, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.5633333333336, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.3949999999986, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.253333333330243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.053333333328606, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.944999999993552, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016083333332501892, + "timing_max_s": 0.019000000001351935, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.06890946919298467, + 0.035336605446339764, + 0.02489862915162, + 0.017991924533750286, + 0.10886120260626342, + 0.11059319260069578, + 0.11953797434991276, + 4.302551584345338e-06, + 3.3555020779729716e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "048d59f2751d6bc15808a912f5bf075402687b57d56a0631a96d9093ceb8b84f", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take022/robot.json b/jaco_v1/take022/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..f93e717d5957d3727473ad478ca6ae72be035826 --- /dev/null +++ b/jaco_v1/take022/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take022", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 22, + "start_s": 779.076988, + "end_s": 808.615452, + "filled_beats": [] + }, + "source_sha256": "ec1dc2846388582a6551762c6af9ddc24fba241cf661b15cda3067d638292e79" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.105602639714622, + "peak_acceleration_rad_s2": 147.28699729844232, + "rms_jerk_rad_s3": 268.39815011528844, + "peak_jerk_rad_s3": 9030.158855883237 + }, + "after": { + "peak_velocity_rad_s": 3.094835243192442, + "peak_acceleration_rad_s2": 125.68699729844468, + "rms_jerk_rad_s3": 156.16858955601708, + "peak_jerk_rad_s3": 6669.710968949375 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.00183685563086434, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "ec1dc2846388582a6551762c6af9ddc24fba241cf661b15cda3067d638292e79", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "ec1dc2846388582a6551762c6af9ddc24fba241cf661b15cda3067d638292e79", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.466, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.976, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.386, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.096, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.6216666666665756, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.483333333333533, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.31333333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.153333333334107, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.005000000001063, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.843333333334684, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.701666666668308, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.553333333333608, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.406666666665256, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.253333333330243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.114999999995216, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.91499999999358, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018583333332499324, + "timing_max_s": 0.029000000001062176, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.0703810033524625, + 0.038355533846267775, + 0.02710575577972918, + 0.01979063503074649, + 0.12733416944228004, + 0.11326018355299627, + 0.14083596394376596, + 3.6912376730757757e-06, + 2.868933473898494e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "ec1dc2846388582a6551762c6af9ddc24fba241cf661b15cda3067d638292e79", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take023/robot.json b/jaco_v1/take023/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..632b4184dbb4ce536d95a3f5356bd34ea8538f80 --- /dev/null +++ b/jaco_v1/take023/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take023", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 23, + "start_s": 816.000068, + "end_s": 845.538532, + "filled_beats": [] + }, + "source_sha256": "910933c1324d05f2ee5b29e906dca3defe65fc893993bfa8da4a684bc2179e0d" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.8641352749423987, + "peak_acceleration_rad_s2": 134.31678422678493, + "rms_jerk_rad_s3": 257.5945545497582, + "peak_jerk_rad_s3": 8387.503024300258 + }, + "after": { + "peak_velocity_rad_s": 2.824469342663729, + "peak_acceleration_rad_s2": 112.71678422679372, + "rms_jerk_rad_s3": 154.40549569305472, + "peak_jerk_rad_s3": 5891.467345432034 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019609190000660697, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "910933c1324d05f2ee5b29e906dca3defe65fc893993bfa8da4a684bc2179e0d", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "910933c1324d05f2ee5b29e906dca3defe65fc893993bfa8da4a684bc2179e0d", + "events": [ + { + "time_s": 4.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.806, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.076, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.653333333333247, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.471666666666865, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.32333333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.17333333333411, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.035000000001068, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.828333333334681, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.688333333334972, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.555000000000273, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.3949999999986, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.253333333330243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.094999999995235, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.92166666666024, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.017611111110279392, + "timing_max_s": 0.022333333334682237, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.01739769630643334, + 0.03540143360520798, + 0.025384821997542772, + 0.017915597234364478, + 0.10875246433174901, + 0.017164185854348535, + 0.11999156365399588, + 2.492504206585977e-06, + 2.9861595696178966e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "910933c1324d05f2ee5b29e906dca3defe65fc893993bfa8da4a684bc2179e0d", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take024/robot.json b/jaco_v1/take024/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..e793b6f08d86ba26383df6bd7706e009c14592e6 --- /dev/null +++ b/jaco_v1/take024/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take024", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 24, + "start_s": 852.9231480000001, + "end_s": 882.4616120000001, + "filled_beats": [ + 943 + ] + }, + "source_sha256": "b92b741bc91817664f1e35c34e2b6b3a7588e7f9a2929197a3ae5d009888c524" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.3261940544695037, + "peak_acceleration_rad_s2": 83.73408345357625, + "rms_jerk_rad_s3": 202.30884853613338, + "peak_jerk_rad_s3": 5726.415034325378 + }, + "after": { + "peak_velocity_rad_s": 2.3208347493352655, + "peak_acceleration_rad_s2": 67.15162974125022, + "rms_jerk_rad_s3": 97.92453861468147, + "peak_jerk_rad_s3": 3063.802517431455 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0020461871420669564, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "b92b741bc91817664f1e35c34e2b6b3a7588e7f9a2929197a3ae5d009888c524", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "b92b741bc91817664f1e35c34e2b6b3a7588e7f9a2929197a3ae5d009888c524", + "events": [ + { + "time_s": 4.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.466, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.5385, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.336, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.206, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.653333333333247, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.490000000000201, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.34000000000049, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.15166666666744, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.038333333334402, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.836666666668016, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.705000000001641, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.553333333333608, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.35333333333197, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.21999999999694, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.053333333328606, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.933333333326896, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.017819444443621713, + "timing_max_s": 0.024000000000489408, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03225218341471875, + 0.029220802939023294, + 0.025522220073491475, + 0.013793706769753111, + 0.07434505590993101, + 0.0298525163044836, + 0.06834395246388869, + 2.5083041361728675e-06, + 2.4404545018175128e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "b92b741bc91817664f1e35c34e2b6b3a7588e7f9a2929197a3ae5d009888c524", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take025/robot.json b/jaco_v1/take025/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..dd9e9689f96911c79b23c55920df7e4cfe918685 --- /dev/null +++ b/jaco_v1/take025/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take025", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 25, + "start_s": 889.846228, + "end_s": 919.3846920000001, + "filled_beats": [] + }, + "source_sha256": "cfbf86fa8e25fce95f168ee5ac0becc6755286fcb88e3c3461a6557d18ff6d67" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.1150393364200646, + "peak_acceleration_rad_s2": 140.32970389165024, + "rms_jerk_rad_s3": 273.961813797231, + "peak_jerk_rad_s3": 8472.668214845564 + }, + "after": { + "peak_velocity_rad_s": 3.1145110421639366, + "peak_acceleration_rad_s2": 118.72970389164621, + "rms_jerk_rad_s3": 163.3982816804079, + "peak_jerk_rad_s3": 6252.256358914544 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0017968568677833585, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "cfbf86fa8e25fce95f168ee5ac0becc6755286fcb88e3c3461a6557d18ff6d67", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "cfbf86fa8e25fce95f168ee5ac0becc6755286fcb88e3c3461a6557d18ff6d67", + "events": [ + { + "time_s": 4.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.633333333333244, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.465000000000197, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.33500000000049, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.180000000000778, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.0233333333344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.853333333334685, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.703333333334974, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.553333333333608, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.3949999999986, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.234999999996926, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.063333333328597, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.943333333326887, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018444444443615222, + "timing_max_s": 0.024000000000777177, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.01201412084968545, + 0.038079894499736255, + 0.026628652947935372, + 0.019559124632401004, + 0.1275184963332192, + 0.018642007974648545, + 0.1379124907583631, + 3.440270602173001e-06, + 4.15089036520655e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "cfbf86fa8e25fce95f168ee5ac0becc6755286fcb88e3c3461a6557d18ff6d67", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take026/robot.json b/jaco_v1/take026/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..a478c81a0e0b98d10b90325ce97b8a85f5b5d173 --- /dev/null +++ b/jaco_v1/take026/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take026", + "session_id": "session05", + "split": "val", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 26, + "start_s": 926.769308, + "end_s": 956.307772, + "filled_beats": [] + }, + "source_sha256": "58ddd618534b08739833e87f889ecb51c4fb1722f0cc9b4396ec31682159139b" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.7663663200661226, + "peak_acceleration_rad_s2": 132.98078794081647, + "rms_jerk_rad_s3": 253.89197053761652, + "peak_jerk_rad_s3": 9409.739217863667 + }, + "after": { + "peak_velocity_rad_s": 2.6946872338762162, + "peak_acceleration_rad_s2": 111.38078794081885, + "rms_jerk_rad_s3": 142.8561242393757, + "peak_jerk_rad_s3": 6385.739217864191 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.001804209759903368, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "58ddd618534b08739833e87f889ecb51c4fb1722f0cc9b4396ec31682159139b", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "58ddd618534b08739833e87f889ecb51c4fb1722f0cc9b4396ec31682159139b", + "events": [ + { + "time_s": 4.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.266, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.976, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.506, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.643333333333246, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.460000000000196, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.29166666666715, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.176666666667444, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.991666666667728, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.851666666668018, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.69500000000164, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.52166666666697, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.364999999998627, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.22333333333027, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.06166666666193, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93166666666023, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016388888888575554, + "timing_max_s": 0.025666666668017868, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.023459851774425708, + 0.03478257633308024, + 0.02421486812394491, + 0.017470157669984943, + 0.1038363677721108, + 0.021895368111326752, + 0.10758330651832382, + 2.208055790209329e-06, + 2.5930620322078823e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "58ddd618534b08739833e87f889ecb51c4fb1722f0cc9b4396ec31682159139b", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take027/robot.json b/jaco_v1/take027/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..8c2862eed96db47dcc8a332ee08c46676075da46 --- /dev/null +++ b/jaco_v1/take027/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take027", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 27, + "start_s": 963.692388, + "end_s": 993.230852, + "filled_beats": [] + }, + "source_sha256": "12663e0f1d8802a9e6bfd5bfcafea69f14159a0266b7933ec4a240cab0f8b350" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.5723014429503444, + "peak_acceleration_rad_s2": 131.7779962505856, + "rms_jerk_rad_s3": 254.03699434528937, + "peak_jerk_rad_s3": 9463.066493912436 + }, + "after": { + "peak_velocity_rad_s": 2.6974132170541765, + "peak_acceleration_rad_s2": 110.1779962505848, + "rms_jerk_rad_s3": 148.2429624033071, + "peak_jerk_rad_s3": 6439.066493912577 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0017187621673606748, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "12663e0f1d8802a9e6bfd5bfcafea69f14159a0266b7933ec4a240cab0f8b350", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "12663e0f1d8802a9e6bfd5bfcafea69f14159a0266b7933ec4a240cab0f8b350", + "events": [ + { + "time_s": 4.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.946, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.866, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.546, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.356, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.076, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.639999999999912, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4766666666668655, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.310000000000485, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.180000000000778, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.966666666667724, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.890000000001358, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.705000000001641, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.56666666666693, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.374999999998618, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.251666666663578, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.094999999995235, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.919999999993575, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01955555555472488, + "timing_max_s": 0.025666666663578752, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.021942159976142836, + 0.034106632100688206, + 0.022460986822717466, + 0.016133984386584727, + 0.0817496974243408, + 0.020559755260177504, + 0.09240882006841655, + 2.2851697394354886e-06, + 2.789842512562757e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "12663e0f1d8802a9e6bfd5bfcafea69f14159a0266b7933ec4a240cab0f8b350", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take028/robot.json b/jaco_v1/take028/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..3330305924368480919b456ddde7a6d5379a6cff --- /dev/null +++ b/jaco_v1/take028/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take028", + "session_id": "session06", + "split": "test", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 28, + "start_s": 1000.6154680000001, + "end_s": 1030.153932, + "filled_beats": [] + }, + "source_sha256": "e8a38322c482f973b1477fff8f9fa8e366686c42e5aff01a345b7d0576979709" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.7081727181058923, + "peak_acceleration_rad_s2": 123.18702100160053, + "rms_jerk_rad_s3": 247.37245148939172, + "peak_jerk_rad_s3": 8271.278994365759 + }, + "after": { + "peak_velocity_rad_s": 2.708172718105839, + "peak_acceleration_rad_s2": 101.5870210016061, + "rms_jerk_rad_s3": 141.9270628121607, + "peak_jerk_rad_s3": 5247.278994366283 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0017641543213642462, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "e8a38322c482f973b1477fff8f9fa8e366686c42e5aff01a345b7d0576979709", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "e8a38322c482f973b1477fff8f9fa8e366686c42e5aff01a345b7d0576979709", + "events": [ + { + "time_s": 4.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.466, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.566, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.396, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.656666666666581, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.491666666666868, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.32333333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.148333333334106, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.040000000001069, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.868333333334688, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.691666666668306, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.59000000000024, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.409999999998586, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.263333333330234, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.059999999995267, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.936666666660226, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.021499999999166075, + "timing_max_s": 0.027333333333821486, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.014003953307577616, + 0.03399001630291387, + 0.02353639232449911, + 0.017209625311158883, + 0.10194593575376754, + 0.016401885830258145, + 0.1015580536232985, + 2.255872901146816e-06, + 2.7530795652097595e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "e8a38322c482f973b1477fff8f9fa8e366686c42e5aff01a345b7d0576979709", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take029/robot.json b/jaco_v1/take029/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..8ec8571012d40b79102b8ee2880bc6dbb9d7c0ab --- /dev/null +++ b/jaco_v1/take029/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take029", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 29, + "start_s": 1037.538548, + "end_s": 1067.077012, + "filled_beats": [ + 1147 + ] + }, + "source_sha256": "835873baa947168c96e8265a124c8ccf1cdff324a243a0e82bcecbf0ca851177" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.0600288440263768, + "peak_acceleration_rad_s2": 120.30988552737583, + "rms_jerk_rad_s3": 264.6500489675214, + "peak_jerk_rad_s3": 7721.93956117566 + }, + "after": { + "peak_velocity_rad_s": 3.0737798049536913, + "peak_acceleration_rad_s2": 105.9098855273838, + "rms_jerk_rad_s3": 151.55253037673063, + "peak_jerk_rad_s3": 5268.267403878412 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019527349162105658, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "835873baa947168c96e8265a124c8ccf1cdff324a243a0e82bcecbf0ca851177", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "835873baa947168c96e8265a124c8ccf1cdff324a243a0e82bcecbf0ca851177", + "events": [ + { + "time_s": 4.646, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.436, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.986, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.2212, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.866, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.666666666666583, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.448333333333528, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.315000000000486, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.161666666667442, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.005000000001063, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.838333333334683, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.676666666668304, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.536666666666957, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.393333333331935, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.244999999996917, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.073333333328588, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.87999999999361, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01856666666584113, + "timing_max_s": 0.02379999999691762, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.014131313767199477, + 0.037260297046615154, + 0.026289593450463222, + 0.019141121778005254, + 0.11636947085479132, + 0.018203227204375505, + 0.1289411725461609, + 2.298865638072911e-06, + 2.78813052045912e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "835873baa947168c96e8265a124c8ccf1cdff324a243a0e82bcecbf0ca851177", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take030/robot.json b/jaco_v1/take030/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..3fe884ab5adf6a888eae6bfe0bd56ca8f7e8cf88 --- /dev/null +++ b/jaco_v1/take030/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take030", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 30, + "start_s": 1074.461628, + "end_s": 1104.000092, + "filled_beats": [] + }, + "source_sha256": "9637251e10ea09dacee1dcdc73475a6518157e48669df9c63c49655f308f1aca" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.8964209978049915, + "peak_acceleration_rad_s2": 173.7545849659245, + "rms_jerk_rad_s3": 299.9584782625351, + "peak_jerk_rad_s3": 11562.09735958356 + }, + "after": { + "peak_velocity_rad_s": 2.8206370362415534, + "peak_acceleration_rad_s2": 159.3545849659261, + "rms_jerk_rad_s3": 174.14509670519678, + "peak_jerk_rad_s3": 9402.09735958399 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019353049168600888, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "9637251e10ea09dacee1dcdc73475a6518157e48669df9c63c49655f308f1aca", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "9637251e10ea09dacee1dcdc73475a6518157e48669df9c63c49655f308f1aca", + "events": [ + { + "time_s": 4.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.666, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.076, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.633333333333244, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.461666666666863, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.325000000000488, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.17333333333411, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.020000000001065, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.858333333334686, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.688333333334972, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.548333333333613, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.39166666666527, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.231666666663596, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.08666666666191, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.939999999993557, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01886111111028092, + "timing_max_s": 0.02733333333324417, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.023645508463032358, + 0.03859983714519011, + 0.022646360002712917, + 0.017705836101308964, + 0.09778300111313865, + 0.021573805029126536, + 0.07981015246290335, + 2.2361347495891692e-06, + 2.662570695033395e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "9637251e10ea09dacee1dcdc73475a6518157e48669df9c63c49655f308f1aca", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take031/robot.json b/jaco_v1/take031/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..ccb3b802161545c48925a8bf8b098a026621ae95 --- /dev/null +++ b/jaco_v1/take031/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take031", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 31, + "start_s": 1111.384708, + "end_s": 1140.923172, + "filled_beats": [ + 1215 + ] + }, + "source_sha256": "66d871bcd70c0e396d44d0062771b68ace7f27ff656f4bd13f742165a204098b" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.9048443447110017, + "peak_acceleration_rad_s2": 148.5213222861791, + "rms_jerk_rad_s3": 306.3867969806722, + "peak_jerk_rad_s3": 9584.797214932394 + }, + "after": { + "peak_velocity_rad_s": 2.9078068768591336, + "peak_acceleration_rad_s2": 134.1213222861903, + "rms_jerk_rad_s3": 192.43778633007528, + "peak_jerk_rad_s3": 7424.797214932057 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0020508018440964734, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "66d871bcd70c0e396d44d0062771b68ace7f27ff656f4bd13f742165a204098b", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "66d871bcd70c0e396d44d0062771b68ace7f27ff656f4bd13f742165a204098b", + "events": [ + { + "time_s": 4.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.1538, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.976, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.654999999999914, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.480000000000199, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.303333333333818, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.16833333333411, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.998333333334395, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.865000000001354, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.705000000001641, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.555000000000273, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.40166666666526, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.253333333330243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.05499999999527, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02209999999916956, + "timing_max_s": 0.0290000000013535, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.014889786728658677, + 0.03541012051836656, + 0.024658778878392518, + 0.01807332154331512, + 0.11293504774029195, + 0.017221000863123503, + 0.12085640515543572, + 2.276012270430172e-06, + 2.7681302390281104e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "66d871bcd70c0e396d44d0062771b68ace7f27ff656f4bd13f742165a204098b", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take032/robot.json b/jaco_v1/take032/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..3b31bfbfa2c0d732f113518459bf82bd88285867 --- /dev/null +++ b/jaco_v1/take032/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take032", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 32, + "start_s": 1148.307788, + "end_s": 1177.846252, + "filled_beats": [] + }, + "source_sha256": "8d6be2cc59f563ef31cdfe4c993498bb3bf4178a652824aceb76a85f7eb3ce58" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.5631030082237416, + "peak_acceleration_rad_s2": 118.38970251553036, + "rms_jerk_rad_s3": 241.81072373640976, + "peak_jerk_rad_s3": 7775.923342255055 + }, + "after": { + "peak_velocity_rad_s": 2.50622440152382, + "peak_acceleration_rad_s2": 96.78970251553274, + "rms_jerk_rad_s3": 124.05595890553151, + "peak_jerk_rad_s3": 4796.43327431878 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0017472532417965286, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "8d6be2cc59f563ef31cdfe4c993498bb3bf4178a652824aceb76a85f7eb3ce58", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "8d6be2cc59f563ef31cdfe4c993498bb3bf4178a652824aceb76a85f7eb3ce58", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.336, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.706, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.396, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.206, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.613333333333241, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.468333333333531, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.35666666666716, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.141666666667438, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.010000000001064, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.853333333334685, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.723333333334978, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.543333333333617, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.39833333333193, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.221666666663605, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.066666666661927, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.013472222222467837, + "timing_max_s": 0.022333333333531158, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.027019166885874565, + 0.030144436694279353, + 0.022270822285616276, + 0.015739210234373163, + 0.07974904880999123, + 0.02290036229494441, + 0.07611044112481657, + 2.6695167647527995e-06, + 2.850912264928951e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "8d6be2cc59f563ef31cdfe4c993498bb3bf4178a652824aceb76a85f7eb3ce58", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take033/robot.json b/jaco_v1/take033/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..9ccc74f0bd9ba6e5836dbb90b7339ee860ef9aba --- /dev/null +++ b/jaco_v1/take033/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take033", + "session_id": "session05", + "split": "val", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 33, + "start_s": 1185.230868, + "end_s": 1214.769332, + "filled_beats": [] + }, + "source_sha256": "d7b8a4818b9e969acaec06a995175162b4335e42e098125a65775f1c49faa2e2" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.95578712918779, + "peak_acceleration_rad_s2": 149.92009150469556, + "rms_jerk_rad_s3": 263.26016181079285, + "peak_jerk_rad_s3": 9355.69217624321 + }, + "after": { + "peak_velocity_rad_s": 2.8436225879285715, + "peak_acceleration_rad_s2": 135.52009150469715, + "rms_jerk_rad_s3": 152.41048708930825, + "peak_jerk_rad_s3": 7195.692176243448 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.001662399309552212, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "d7b8a4818b9e969acaec06a995175162b4335e42e098125a65775f1c49faa2e2", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "d7b8a4818b9e969acaec06a995175162b4335e42e098125a65775f1c49faa2e2", + "events": [ + { + "time_s": 4.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.116, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.256, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.624999999999909, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.480000000000199, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.306666666667152, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.128333333334103, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.018333333334398, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.858333333334686, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.71666666666831, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.541666666666952, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.38166666666528, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.27166666666356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.064999999995262, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.93499999999356, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.017194444443614215, + "timing_max_s": 0.024000000000198973, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.018002062828682636, + 0.03651518399780951, + 0.02500412526192264, + 0.018452798396204284, + 0.10741427860889807, + 0.01766887050291399, + 0.12140335205454988, + 2.406481290018192e-06, + 2.90054690599284e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "d7b8a4818b9e969acaec06a995175162b4335e42e098125a65775f1c49faa2e2", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take034/robot.json b/jaco_v1/take034/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..788f18b4385c83ebb54c5d2435af467c6079dcaf --- /dev/null +++ b/jaco_v1/take034/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take034", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 34, + "start_s": 1222.1539480000001, + "end_s": 1251.692412, + "filled_beats": [] + }, + "source_sha256": "7deffb8554806cf606365da955f9f1c9a2b8c6fac9b911a09f21055ee0cb2291" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.2219939458382463, + "peak_acceleration_rad_s2": 144.38673087913187, + "rms_jerk_rad_s3": 274.2890171087799, + "peak_jerk_rad_s3": 8891.232123561915 + }, + "after": { + "peak_velocity_rad_s": 3.2452472786502717, + "peak_acceleration_rad_s2": 129.98673087913986, + "rms_jerk_rad_s3": 159.2718901729925, + "peak_jerk_rad_s3": 6798.888228732416 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.001897507838073179, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "7deffb8554806cf606365da955f9f1c9a2b8c6fac9b911a09f21055ee0cb2291", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "7deffb8554806cf606365da955f9f1c9a2b8c6fac9b911a09f21055ee0cb2291", + "events": [ + { + "time_s": 4.586, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.396, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.206, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.601666666666572, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.46333333333353, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.315000000000486, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.180000000000778, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.013333333334398, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.836666666668016, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.69500000000164, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.550000000000278, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.406666666665256, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.22333333333027, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.064999999995262, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.936666666660226, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018722222221392453, + "timing_max_s": 0.029000000000486637, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.018799855698505716, + 0.038944575042291874, + 0.028351253902231477, + 0.02062153008564263, + 0.1365878407439931, + 0.01959950258987675, + 0.1535520604436198, + 2.3959655424121706e-06, + 2.9275603208311907e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "7deffb8554806cf606365da955f9f1c9a2b8c6fac9b911a09f21055ee0cb2291", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take035/robot.json b/jaco_v1/take035/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..8107e1106c634c9ffe7e9a324f46590e8295cf82 --- /dev/null +++ b/jaco_v1/take035/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take035", + "session_id": "session06", + "split": "test", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 35, + "start_s": 1259.0770280000002, + "end_s": 1288.6154920000001, + "filled_beats": [] + }, + "source_sha256": "423e88d32cd8168074a74afcf58f2e194c53e4ddcdee795e4b6884ba48ae0827" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.3827376748528195, + "peak_acceleration_rad_s2": 136.183130791391, + "rms_jerk_rad_s3": 261.0261941240702, + "peak_jerk_rad_s3": 9488.511527383522 + }, + "after": { + "peak_velocity_rad_s": 2.540936764214212, + "peak_acceleration_rad_s2": 114.58313079139337, + "rms_jerk_rad_s3": 142.65829917771276, + "peak_jerk_rad_s3": 6464.511527384047 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018825532030625855, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "423e88d32cd8168074a74afcf58f2e194c53e4ddcdee795e4b6884ba48ae0827", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "423e88d32cd8168074a74afcf58f2e194c53e4ddcdee795e4b6884ba48ae0827", + "events": [ + { + "time_s": 4.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.436, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.6449999999999125, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.4550000000001955, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.331666666667155, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.158333333334108, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.013333333334398, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.84500000000135, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.715000000001643, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.555000000000273, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.40166666666526, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.256666666663573, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.056666666661936, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.939999999993557, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01761111111027991, + "timing_max_s": 0.025666666665259186, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.016822804989628015, + 0.03211233082279552, + 0.02389939043232303, + 0.015037239909952232, + 0.07061961998077138, + 0.01746657490021053, + 0.07659531253401197, + 2.247804223642902e-06, + 2.7202756325284128e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "423e88d32cd8168074a74afcf58f2e194c53e4ddcdee795e4b6884ba48ae0827", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take036/robot.json b/jaco_v1/take036/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..5d8276ffea3fcd9304a0c5d6e041d45e37872a01 --- /dev/null +++ b/jaco_v1/take036/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take036", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 36, + "start_s": 1296.000108, + "end_s": 1325.5385720000002, + "filled_beats": [ + 1425 + ] + }, + "source_sha256": "dc603a909067136661077f275909973f2c6cb4bee3141476caabe59aad4845c2" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.7846301508881766, + "peak_acceleration_rad_s2": 125.51074042078518, + "rms_jerk_rad_s3": 240.01964846965075, + "peak_jerk_rad_s3": 7725.807799444303 + }, + "after": { + "peak_velocity_rad_s": 2.681651997314116, + "peak_acceleration_rad_s2": 111.11074042078677, + "rms_jerk_rad_s3": 141.48279930014272, + "peak_jerk_rad_s3": 5565.807799444542 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018885755013867804, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "dc603a909067136661077f275909973f2c6cb4bee3141476caabe59aad4845c2", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "dc603a909067136661077f275909973f2c6cb4bee3141476caabe59aad4845c2", + "events": [ + { + "time_s": 4.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.416, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.3846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.026, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.641666666666579, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.433333333333525, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.321666666667154, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.13000000000077, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.030000000001067, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.853333333334685, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.703333333334974, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.553333333333608, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.403333333331926, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.238333333330257, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.039999999995285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.926666666660235, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016199999999172283, + "timing_max_s": 0.024000000001066724, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.021076049621506547, + 0.03396261774754228, + 0.024216820963983032, + 0.017446836979581215, + 0.10024957052784345, + 0.018019957833264266, + 0.10910136987054142, + 2.5763544393431204e-06, + 3.075919631667645e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "dc603a909067136661077f275909973f2c6cb4bee3141476caabe59aad4845c2", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take037/robot.json b/jaco_v1/take037/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..ea3de36104892b82b9d108eafc06192d8130dc1d --- /dev/null +++ b/jaco_v1/take037/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take037", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 37, + "start_s": 1332.923188, + "end_s": 1362.461652, + "filled_beats": [] + }, + "source_sha256": "2fb7dddc9903443dbf6099131024375c201243d3e124b96a86404d3c2259e03b" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.9291275299675767, + "peak_acceleration_rad_s2": 106.05243378810236, + "rms_jerk_rad_s3": 222.6129951303292, + "peak_jerk_rad_s3": 8033.7300960068005 + }, + "after": { + "peak_velocity_rad_s": 2.833065903887615, + "peak_acceleration_rad_s2": 84.45243378810474, + "rms_jerk_rad_s3": 112.19542140566335, + "peak_jerk_rad_s3": 5009.7300960071325 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0017103211205618386, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "2fb7dddc9903443dbf6099131024375c201243d3e124b96a86404d3c2259e03b", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "2fb7dddc9903443dbf6099131024375c201243d3e124b96a86404d3c2259e03b", + "events": [ + { + "time_s": 4.566, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.706, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.574999999999902, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.470000000000198, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.316666666667153, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.140000000000772, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.020000000001065, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.868333333334688, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.720000000001644, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.551666666666943, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.361666666665297, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.26166666666357, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.059999999995267, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.944999999993552, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.015666666665837603, + "timing_max_s": 0.024000000001064947, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.016689218390176536, + 0.032916464866801665, + 0.025112967413497778, + 0.01776566807981428, + 0.10955738805400905, + 0.01767220698904648, + 0.1115514356535674, + 2.449778988111717e-06, + 2.845312948362988e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "2fb7dddc9903443dbf6099131024375c201243d3e124b96a86404d3c2259e03b", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take038/robot.json b/jaco_v1/take038/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..4eb80c54688df84a792440a8b20946aa2f3d8f1e --- /dev/null +++ b/jaco_v1/take038/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take038", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 38, + "start_s": 1369.846268, + "end_s": 1399.384732, + "filled_beats": [] + }, + "source_sha256": "d5d9624d31269bc588342400ac5a597fcbbb80efbbe879bab882e3dc7fdf613e" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.078679688456525, + "peak_acceleration_rad_s2": 184.69071021250372, + "rms_jerk_rad_s3": 303.850416032852, + "peak_jerk_rad_s3": 11738.143849248416 + }, + "after": { + "peak_velocity_rad_s": 3.136262678318058, + "peak_acceleration_rad_s2": 170.2907102124989, + "rms_jerk_rad_s3": 197.60321286174278, + "peak_jerk_rad_s3": 9578.14384924827 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.001843938122944309, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "d5d9624d31269bc588342400ac5a597fcbbb80efbbe879bab882e3dc7fdf613e", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "d5d9624d31269bc588342400ac5a597fcbbb80efbbe879bab882e3dc7fdf613e", + "events": [ + { + "time_s": 4.586, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.466, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.106, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.866, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.356, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.601666666666572, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.483333333333533, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.328333333333822, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.126666666667436, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.008333333334397, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.885000000001357, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.708333333334975, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.558333333333604, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.38166666666528, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.266666666663564, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.069999999995257, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.926666666660235, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02024999999916936, + "timing_max_s": 0.02566666666527695, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.01533604445356268, + 0.04150832476743771, + 0.025499473439690057, + 0.020280577865826543, + 0.10915248197168559, + 0.019414958993724918, + 0.1065168465855626, + 2.4706653229955577e-06, + 2.9368894447490135e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "d5d9624d31269bc588342400ac5a597fcbbb80efbbe879bab882e3dc7fdf613e", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take039/robot.json b/jaco_v1/take039/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..383e0e2d48617477aa8687eb55037b14ea00c6b3 --- /dev/null +++ b/jaco_v1/take039/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take039", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 39, + "start_s": 1406.769348, + "end_s": 1436.307812, + "filled_beats": [] + }, + "source_sha256": "edec0e848f97ea332398733216155f351002a54b45f21e7c1c05908478a733e0" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.1068100457485492, + "peak_acceleration_rad_s2": 151.47442566892124, + "rms_jerk_rad_s3": 328.1169605706802, + "peak_jerk_rad_s3": 9183.525102435644 + }, + "after": { + "peak_velocity_rad_s": 3.092517842307707, + "peak_acceleration_rad_s2": 137.07442566892922, + "rms_jerk_rad_s3": 205.1258097404892, + "peak_jerk_rad_s3": 7023.525102435884 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018430530367201665, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "edec0e848f97ea332398733216155f351002a54b45f21e7c1c05908478a733e0", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "edec0e848f97ea332398733216155f351002a54b45f21e7c1c05908478a733e0", + "events": [ + { + "time_s": 4.636, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.65166666666658, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.480000000000199, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.32333333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.165000000000775, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.0233333333344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.871666666668022, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.720000000001644, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.551666666666943, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.39166666666527, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.248333333330248, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.076666666661918, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.948333333326882, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02330555555472517, + "timing_max_s": 0.0273333333343988, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.011845314492525932, + 0.0401033597181204, + 0.026178819846927937, + 0.0196528782074174, + 0.11349242571567775, + 0.018722716728467592, + 0.13479309286733354, + 2.6272279178840563e-06, + 3.1782529879009758e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "edec0e848f97ea332398733216155f351002a54b45f21e7c1c05908478a733e0", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take040/robot.json b/jaco_v1/take040/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..eb6423984f13d8266b9bf1d987b9a9a39515ccff --- /dev/null +++ b/jaco_v1/take040/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take040", + "session_id": "session05", + "split": "val", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 40, + "start_s": 1443.692428, + "end_s": 1473.230892, + "filled_beats": [] + }, + "source_sha256": "f1b69ab3f2a3522f517413ae9154ec9989f430b79d306921147352ef217e517b" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.259426577116038, + "peak_acceleration_rad_s2": 158.22467507346653, + "rms_jerk_rad_s3": 309.3140622735906, + "peak_jerk_rad_s3": 10442.527516600592 + }, + "after": { + "peak_velocity_rad_s": 3.254023448302714, + "peak_acceleration_rad_s2": 143.8246750734649, + "rms_jerk_rad_s3": 197.83214865523217, + "peak_jerk_rad_s3": 8282.527516600254 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019261998037072496, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "f1b69ab3f2a3522f517413ae9154ec9989f430b79d306921147352ef217e517b", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "f1b69ab3f2a3522f517413ae9154ec9989f430b79d306921147352ef217e517b", + "events": [ + { + "time_s": 4.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.416, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.116, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.196, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.6449999999999125, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.443333333333527, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.331666666667155, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.133333333334104, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.018333333334398, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.848333333334685, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.690000000001639, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53500000000029, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.39833333333193, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.21999999999694, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.084999999995244, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.9283333333269, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02205555555472734, + "timing_max_s": 0.028999999999912873, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.019480967462545677, + 0.042605145511020126, + 0.02887155635731542, + 0.020956151616034646, + 0.13585161513134825, + 0.02000687908874843, + 0.14213291096330383, + 2.477690845603675e-06, + 2.9007145474491125e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "f1b69ab3f2a3522f517413ae9154ec9989f430b79d306921147352ef217e517b", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take041/robot.json b/jaco_v1/take041/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..518bb88c7c140d7b5cf9683fc1b9f9877b3c5fbb --- /dev/null +++ b/jaco_v1/take041/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take041", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 41, + "start_s": 1480.615508, + "end_s": 1510.153972, + "filled_beats": [] + }, + "source_sha256": "529ba265ff04d98fa852dea401539dca369aff86a8c1e2016276f383e5952bd2" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.1230748568794375, + "peak_acceleration_rad_s2": 154.09255724011715, + "rms_jerk_rad_s3": 259.8415153480835, + "peak_jerk_rad_s3": 9598.276199007265 + }, + "after": { + "peak_velocity_rad_s": 3.0092650820774303, + "peak_acceleration_rad_s2": 139.69255724012191, + "rms_jerk_rad_s3": 153.7867477779947, + "peak_jerk_rad_s3": 7438.276199007695 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0016924983040708893, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "529ba265ff04d98fa852dea401539dca369aff86a8c1e2016276f383e5952bd2", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "529ba265ff04d98fa852dea401539dca369aff86a8c1e2016276f383e5952bd2", + "events": [ + { + "time_s": 4.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.446, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.956, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.641666666666579, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.458333333333529, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.331666666667155, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.175000000000777, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.013333333334398, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.858333333334686, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.701666666668308, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.558333333333604, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.383333333331944, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.22999999999693, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.08999999999524, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.971666666660195, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.01761111111027865, + "timing_max_s": 0.025666666667156335, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.02839028871957444, + 0.038465857717162155, + 0.03360787968377643, + 0.01984796194135635, + 0.12986473082529493, + 0.019242934098246955, + 0.14558091454246824, + 3.640906390156573e-06, + 3.6802846872241446e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "529ba265ff04d98fa852dea401539dca369aff86a8c1e2016276f383e5952bd2", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take042/robot.json b/jaco_v1/take042/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..de6661d27a6c05f714225eefdb68fb5839d39bb1 --- /dev/null +++ b/jaco_v1/take042/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take042", + "session_id": "session06", + "split": "test", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 42, + "start_s": 1517.5385880000001, + "end_s": 1547.077052, + "filled_beats": [] + }, + "source_sha256": "b3dc7d685c02dd29cb3f38f3b3b168b3c78fe324e18f240c3ce688b895df8b15" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.6371253782513904, + "peak_acceleration_rad_s2": 132.23239095160366, + "rms_jerk_rad_s3": 241.43080458324098, + "peak_jerk_rad_s3": 8175.543929466572 + }, + "after": { + "peak_velocity_rad_s": 2.7464404837570733, + "peak_acceleration_rad_s2": 117.83239095160525, + "rms_jerk_rad_s3": 136.20831166322532, + "peak_jerk_rad_s3": 5957.94620654096 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018864219037564032, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "b3dc7d685c02dd29cb3f38f3b3b168b3c78fe324e18f240c3ce688b895df8b15", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "b3dc7d685c02dd29cb3f38f3b3b168b3c78fe324e18f240c3ce688b895df8b15", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.624999999999909, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.466666666666864, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.320000000000487, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.160000000000775, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.0283333333344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.84500000000135, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.670000000001636, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.53166666666696, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.35333333333197, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.241666666663587, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.053333333328606, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.936666666660226, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.014972222221397566, + "timing_max_s": 0.02899999999990932, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03362574289392586, + 0.033085519333276636, + 0.022028248864832456, + 0.01645634739187371, + 0.08682406304372936, + 0.032490620234292056, + 0.09565980641894001, + 2.7592598055292683e-06, + 2.8330665240439146e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "b3dc7d685c02dd29cb3f38f3b3b168b3c78fe324e18f240c3ce688b895df8b15", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take043/robot.json b/jaco_v1/take043/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..e19534381a9db9988595ef6e611f6650184b2f76 --- /dev/null +++ b/jaco_v1/take043/robot.json @@ -0,0 +1,701 @@ +{ + "episode": { + "episode_id": "take043", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 43, + "start_s": 1554.4616680000001, + "end_s": 1584.0001320000001, + "filled_beats": [ + 1695, + 1703 + ] + }, + "source_sha256": "2c8656ee02d0421afafd9f7ed17047a7852c683706ae00aae2a43833599159d0" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.77007907726583, + "peak_acceleration_rad_s2": 130.37871659573597, + "rms_jerk_rad_s3": 267.3692051683838, + "peak_jerk_rad_s3": 7822.722995744158 + }, + "after": { + "peak_velocity_rad_s": 2.7924214436190553, + "peak_acceleration_rad_s2": 115.97871659573755, + "rms_jerk_rad_s3": 152.0629476024256, + "peak_jerk_rad_s3": 5832.514456951372 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.00176956725512666, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "2c8656ee02d0421afafd9f7ed17047a7852c683706ae00aae2a43833599159d0", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "2c8656ee02d0421afafd9f7ed17047a7852c683706ae00aae2a43833599159d0", + "events": [ + { + "time_s": 6.436, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.1538, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.986, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.5385, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.356, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 6.4533333333335285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.341666666667157, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.171666666667443, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.010000000001064, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.85666666666802, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.715000000001643, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.555000000000273, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.369999999998623, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.241666666663587, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.056666666661936, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.936666666660226, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 11, + "expected": 11, + "missed": [], + "extra": [], + "timing_mae_s": 0.01836666666577261, + "timing_max_s": 0.025666666667156335, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.015162579510809265, + 0.03614305858462563, + 0.023252478118871878, + 0.01727000536666909, + 0.09140387606968048, + 0.016533624763549026, + 0.10880993668951366, + 2.424249932131417e-06, + 2.924961659322989e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "2c8656ee02d0421afafd9f7ed17047a7852c683706ae00aae2a43833599159d0", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take044/robot.json b/jaco_v1/take044/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..f23e7c84ae11bba83d21bdae5e01900bf79385f1 --- /dev/null +++ b/jaco_v1/take044/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take044", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 44, + "start_s": 1591.3847480000002, + "end_s": 1620.9232120000001, + "filled_beats": [ + 1749 + ] + }, + "source_sha256": "c517817a281ff84a5d44a585e14d1d1179d65981c89c60a63de6659bcbed52aa" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.2162438969104734, + "peak_acceleration_rad_s2": 140.9439911095493, + "rms_jerk_rad_s3": 280.91105105414726, + "peak_jerk_rad_s3": 8449.115050440554 + }, + "after": { + "peak_velocity_rad_s": 3.083822346563938, + "peak_acceleration_rad_s2": 119.3439911095485, + "rms_jerk_rad_s3": 165.38742097764785, + "peak_jerk_rad_s3": 6289.115050440408 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019672988118951224, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "c517817a281ff84a5d44a585e14d1d1179d65981c89c60a63de6659bcbed52aa", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "c517817a281ff84a5d44a585e14d1d1179d65981c89c60a63de6659bcbed52aa", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.0769, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.613333333333241, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.468333333333531, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.341666666667157, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.170000000000776, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.010000000001064, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.873333333334688, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.705000000001641, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.558333333333604, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.383333333331944, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.239999999996922, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.076666666661918, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.944999999993552, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.0177138888888498, + "timing_max_s": 0.027333333334688348, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.010947783903145145, + 0.038373677150024044, + 0.027211222360901566, + 0.0203072752861862, + 0.1238917328110718, + 0.01933338263584594, + 0.13134432129598417, + 2.4797278517230126e-06, + 3.0316421710807617e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "c517817a281ff84a5d44a585e14d1d1179d65981c89c60a63de6659bcbed52aa", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take045/robot.json b/jaco_v1/take045/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..3996b1e5bd445bebd8e831a34069d3ada82da5e8 --- /dev/null +++ b/jaco_v1/take045/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take045", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 45, + "start_s": 1628.307828, + "end_s": 1657.8462920000002, + "filled_beats": [] + }, + "source_sha256": "a548965089d544c6681b5ca6931913f357a3eeefc82f708eeb357ab58ba80d75" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.146207450566312, + "peak_acceleration_rad_s2": 154.9721051919352, + "rms_jerk_rad_s3": 260.26996555677323, + "peak_jerk_rad_s3": 9296.43079322844 + }, + "after": { + "peak_velocity_rad_s": 3.098413905298134, + "peak_acceleration_rad_s2": 140.57210519193683, + "rms_jerk_rad_s3": 155.3486167540843, + "peak_jerk_rad_s3": 7205.877855201515 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0019392958787485992, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "a548965089d544c6681b5ca6931913f357a3eeefc82f708eeb357ab58ba80d75", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "a548965089d544c6681b5ca6931913f357a3eeefc82f708eeb357ab58ba80d75", + "events": [ + { + "time_s": 4.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.426, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.396, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.896, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.628333333333243, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.44166666666686, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.325000000000488, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.15666666666744, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.020000000001065, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.84000000000135, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.705000000001641, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.523333333333635, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.41166666666525, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.23666666666359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.069999999995257, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.91499999999358, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018444444443616998, + "timing_max_s": 0.024000000001064947, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.014078255526349046, + 0.04112276468319287, + 0.025739157486151854, + 0.019350480464800174, + 0.10545559247185743, + 0.018525519032880133, + 0.12172336494141112, + 2.597453924613191e-06, + 3.1411225667188347e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "a548965089d544c6681b5ca6931913f357a3eeefc82f708eeb357ab58ba80d75", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take046/robot.json b/jaco_v1/take046/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..572ecaea8116143ab9547f50e7a075c876a6c013 --- /dev/null +++ b/jaco_v1/take046/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take046", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 46, + "start_s": 1665.230908, + "end_s": 1694.769372, + "filled_beats": [] + }, + "source_sha256": "2cca05a6be06418f0e6e1635472898ef57dfac3651524b50a2dc734b3a446c02" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.8297056301802748, + "peak_acceleration_rad_s2": 123.51676822249225, + "rms_jerk_rad_s3": 251.01925992692253, + "peak_jerk_rad_s3": 7738.537289205843 + }, + "after": { + "peak_velocity_rad_s": 2.8328878140374947, + "peak_acceleration_rad_s2": 101.91676822248823, + "rms_jerk_rad_s3": 137.4266897831005, + "peak_jerk_rad_s3": 5243.443477450178 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0016794908825077794, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "2cca05a6be06418f0e6e1635472898ef57dfac3651524b50a2dc734b3a446c02", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "2cca05a6be06418f0e6e1635472898ef57dfac3651524b50a2dc734b3a446c02", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.476, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.166, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.666, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.186, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.614999999999908, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.495000000000202, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.315000000000486, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.185000000000779, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.010000000001064, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.870000000001355, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.685000000001638, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.541666666666952, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.383333333331944, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.20666666666362, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.066666666661927, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.919999999993575, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018444444443620773, + "timing_max_s": 0.024000000001354493, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.013636610842852837, + 0.034726261091475585, + 0.023700449078103425, + 0.017218359006528045, + 0.10274760986452858, + 0.01640587448283548, + 0.10541956519415696, + 2.4287946247536496e-06, + 2.95728424037911e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "2cca05a6be06418f0e6e1635472898ef57dfac3651524b50a2dc734b3a446c02", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take047/robot.json b/jaco_v1/take047/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..e1f07817428ae4db39abbabc7665504f87a12b13 --- /dev/null +++ b/jaco_v1/take047/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take047", + "session_id": "session05", + "split": "val", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 47, + "start_s": 1702.153988, + "end_s": 1731.692452, + "filled_beats": [] + }, + "source_sha256": "31532afd117591b8fa9812ebd88e947d4872a206c980ea79b77317d853a4dfc0" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 2.628731508582085, + "peak_acceleration_rad_s2": 137.60124661063207, + "rms_jerk_rad_s3": 240.34809080529746, + "peak_jerk_rad_s3": 9194.881527860076 + }, + "after": { + "peak_velocity_rad_s": 2.6570869709004086, + "peak_acceleration_rad_s2": 116.00124661064406, + "rms_jerk_rad_s3": 136.38059931455996, + "peak_jerk_rad_s3": 6170.88152786156 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0015444719798027155, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "31532afd117591b8fa9812ebd88e947d4872a206c980ea79b77317d853a4dfc0", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "31532afd117591b8fa9812ebd88e947d4872a206c980ea79b77317d853a4dfc0", + "events": [ + { + "time_s": 4.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.476, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.266, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.116, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.826, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.956, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.624999999999909, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.495000000000202, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.29166666666715, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.141666666667438, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.0333333333344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.851666666668018, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.693333333334973, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.551666666666943, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.38833333333194, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.23333333333026, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.078333333328583, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.961666666660204, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.017749999999168226, + "timing_max_s": 0.025666666668017868, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.02023921400300019, + 0.03236803967060142, + 0.025646731256382616, + 0.01617368879759723, + 0.09296417657209943, + 0.016092927468028373, + 0.0965626999328395, + 2.4340044944004546e-06, + 2.7565603279988693e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "31532afd117591b8fa9812ebd88e947d4872a206c980ea79b77317d853a4dfc0", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take048/robot.json b/jaco_v1/take048/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..4e5abf4b1274133e9f1abafe6e988502e63a993c --- /dev/null +++ b/jaco_v1/take048/robot.json @@ -0,0 +1,715 @@ +{ + "episode": { + "episode_id": "take048", + "session_id": "session01", + "split": "train", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 48, + "start_s": 1739.077068, + "end_s": 1768.615532, + "filled_beats": [ + 1907 + ] + }, + "source_sha256": "ee1e79d95bf6694febc907a157ec881b695ce28717276da2c1670dd40639639a" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.3450926807299552, + "peak_acceleration_rad_s2": 134.550695455712, + "rms_jerk_rad_s3": 284.15341710120265, + "peak_jerk_rad_s3": 9251.847602222007 + }, + "after": { + "peak_velocity_rad_s": 3.2409651981463306, + "peak_acceleration_rad_s2": 113.08932584884737, + "rms_jerk_rad_s3": 155.42907413254764, + "peak_jerk_rad_s3": 6227.847602221765 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018728909466208187, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "ee1e79d95bf6694febc907a157ec881b695ce28717276da2c1670dd40639639a", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "ee1e79d95bf6694febc907a157ec881b695ce28717276da2c1670dd40639639a", + "events": [ + { + "time_s": 4.596, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.176, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.976, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.676, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.496, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.386, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.2308, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.613333333333241, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.475000000000199, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.31833333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.185000000000779, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.986666666667727, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.846666666668018, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.705000000001641, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.510000000000314, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.39833333333193, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.246666666663582, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.071666666661923, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.923333333326905, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.016099999999173404, + "timing_max_s": 0.02900000000164127, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.014774065384224683, + 0.039171590872880024, + 0.03719078939921161, + 0.02126543597348124, + 0.14142362244000495, + 0.020182975115845103, + 0.16228256757567583, + 2.5823202958186187e-06, + 3.1365328545529536e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "ee1e79d95bf6694febc907a157ec881b695ce28717276da2c1670dd40639639a", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/jaco_v1/take049/robot.json b/jaco_v1/take049/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..c7fc9a9e1ee64f0a432043a8888f9e812830e0dd --- /dev/null +++ b/jaco_v1/take049/robot.json @@ -0,0 +1,713 @@ +{ + "episode": { + "episode_id": "take049", + "session_id": "session06", + "split": "test", + "instruction": "Play pad 1 on beats two and four.", + "bpm": 65.0, + "category": "backbeat", + "duration_s": 29.538464, + "expected_hits_s": [ + 4.615385, + 6.461539, + 8.307693, + 10.153847, + 12.000001000000001, + 13.846155000000001, + 15.692309, + 17.538463, + 19.384617000000002, + 21.230771, + 23.076925, + 24.923079 + ], + "hit_beats": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22 + ], + "source": { + "midi": "videos/robotclaps.mid", + "take": 49, + "start_s": 1776.000148, + "end_s": 1805.538612, + "filled_beats": [] + }, + "source_sha256": "a996128b45d6f88171aa8a93b2f4e992f6c4e50d8a525c43d949383333abedc3" + }, + "plan": { + "robot": "dual_jaco", + "joint_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "motion": { + "method": "quintic task paths + constrained quadratic joint smoothing", + "before": { + "peak_velocity_rad_s": 3.140388636780358, + "peak_acceleration_rad_s2": 128.74470829672936, + "rms_jerk_rad_s3": 283.8996127647114, + "peak_jerk_rad_s3": 7770.011198149767 + }, + "after": { + "peak_velocity_rad_s": 3.0201684254460837, + "peak_acceleration_rad_s2": 114.34470829673735, + "rms_jerk_rad_s3": 155.41765853778116, + "peak_jerk_rad_s3": 5739.767389813465 + }, + "max_joint_adjustment_rad": 0.002000000000001556, + "timing": "source timestamps preserved; no playback speed-up or audio time stretch", + "max_tool_deviation_m": [ + 0.0018261272790861048, + 7.804582820614112e-08 + ] + }, + "fps": 60, + "source_sha256": "a996128b45d6f88171aa8a93b2f4e992f6c4e50d8a525c43d949383333abedc3", + "dataset_eligible": false, + "note": "Event-conditioned planned tool paths; require physics replay and contact/timing validation." + }, + "events": { + "reviewed": true, + "source_sha256": "a996128b45d6f88171aa8a93b2f4e992f6c4e50d8a525c43d949383333abedc3", + "events": [ + { + "time_s": 4.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 6.456, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 10.166, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 11.986, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 13.846, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 17.546, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 21.196, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 23.076, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + }, + { + "time_s": 24.946, + "pad": "pad_1", + "kind": "hit", + "arm": "left", + "source_arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 4.6233333333332425, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 6.468333333333531, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 8.315000000000486, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.183333333334112, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.00666666666773, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.86666666666802, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.705000000001641, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.568333333333594, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.3949999999986, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.21666666666361, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.098333333328565, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.95999999999354, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.018722222221388824, + "timing_max_s": 0.022333333333595107, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.030356859430845762, + 0.03873866138318194, + 0.03709208324893343, + 0.019772654916951266, + 0.12949515895911645, + 0.028174837850172718, + 0.144209094855553, + 2.8263207121348444e-06, + 3.04406781337363e-06, + 1.9964474518019415e-11, + 8.177458710179053e-12, + 1.573674524024682e-11, + 5.672129432809925e-13, + 2.1619372958525673e-12, + 1.0158540675320182e-11, + 0.0, + 0.0, + 0.0 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "source_sha256": "a996128b45d6f88171aa8a93b2f4e992f6c4e50d8a525c43d949383333abedc3", + "robot": "dual_jaco", + "action_dim": 18, + "frames": 1773, + "audio": "contact-triggered simulator output; causal history supplied by dataset", + "limitations": [ + "Published Jaco meshes and joints; passive knobs driven by frictional finger contacts; friction and servo parameters need real-system calibration", + "Buttons record selection and toggle state; DAW mode changes are not emulated", + "Knobs implement per-pad volume only when affects_pad is configured" + ] + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "schema_version": 1, + "calibrated": true, + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "marker_dictionary": "DICT_4X4_50", + "marker_centers_m": { + "0": [ + -0.02, + -0.02 + ], + "1": [ + 0.33, + -0.02 + ], + "2": [ + 0.33, + 0.1 + ], + "3": [ + -0.02, + 0.1 + ] + }, + "board_origin_robot_m": [ + 0, + 0, + 0.12 + ], + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90, + "sample_wav": null + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185, + "sample_wav": null + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280, + "sample_wav": null + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375, + "sample_wav": null + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470, + "sample_wav": null + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565, + "sample_wav": null + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660, + "sample_wav": null + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755, + "sample_wav": null + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.2, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.229, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.258, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.287, + 0.027 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.2, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.229, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.258, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.287, + 0.059 + ], + "radius_m": 0.008, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "frequency_hz": 550, + "sample_wav": null, + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "frequency_hz": 600, + "sample_wav": null, + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "frequency_hz": 650, + "sample_wav": null, + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "frequency_hz": 700, + "sample_wav": null, + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "audio_history_s": 1.0, + "hover_height_m": 0.008, + "strike_half_duration_s": 0.15, + "min_hit_interval_s": 0.4, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "tip_radius_m": 0.008, + "contact_tolerance_s": 0.075, + "workspace_xy_m": [ + -0.06, + -0.08, + 0.37, + 0.15 + ], + "park_xy_m": [ + [ + 0.06, + -0.045 + ], + [ + 0.25, + -0.045 + ] + ], + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "robot": "dual_jaco", + "joint_velocity_scale": 5.0, + "limits_note": "2026-10-08: joint_velocity_scale 0.8 -> 5 and max_arm_acceleration 6 -> 250 rad/s^2 so the simulated arm can copy the human fingertip at full size and speed (a real Jaco 2 could not).", + "robot_bases": [ + { + "position_m": [ + -0.3, + -0.25, + 0 + ], + "yaw_rad": 0.55 + }, + { + "position_m": [ + 0.55, + -0.25, + 0 + ], + "yaw_rad": 2.59 + } + ], + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate." + }, + "robot_roles": { + "left": "finger", + "right": "gripper" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller." + }, + "robot_revision": "jaco_finger_press_v1", + "press_depth_m": 0.0007, + "motion_planner": { + "method": "quadratic", + "max_arm_acceleration_rad_s2": 250.0, + "max_joint_deviation_rad": 0.002, + "acceleration_weight": 8.0, + "jerk_weight": 64.0 + }, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/processed/drums/session_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates." + } +} diff --git a/robot/claps_001/robot.json b/robot/claps_001/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..3a6be538697de06009805ee7e1b8a20f91a1c391 --- /dev/null +++ b/robot/claps_001/robot.json @@ -0,0 +1,667 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.015141732599780966, + "max_tip_deviation_near_hits_m": 0.002494154237167464, + "max_tip_deviation_m": 0.002494154237167464 + }, + "events": { + "events": [ + { + "time_s": 8.336, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.786, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.375, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.756, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 30.406, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 32.276, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.31333333333382, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.123333333334102, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.970000000001058, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.755000000001337, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.691666666668306, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.50500000000032, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.338333333331985, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.186666666663637, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.004999999995317, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.86999999999362, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.721666666658603, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.588333333323572, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 30.3899999999886, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 32.273333333320224, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 14, + "expected": 14, + "missed": [], + "extra": [], + "timing_mae_s": 0.02438095238467903, + "timing_max_s": 0.036666666668015324, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.052192286579619385, + 0.03109811133648832, + 0.023439004951458287, + 0.048682350653986406, + 0.003912165560804981, + 0.004768812183104099, + 0.0199475318158098, + 1.5838646493874734e-05, + 2.6850042496140425e-05, + 1.4269542665257262e-05, + 7.356378679923559e-05, + 1.146095269066727e-05, + 0.0013653885610238614, + 0.0008516473891096998, + 1.4988010832439613e-14, + 1.354472090042691e-14, + 7.271960811294775e-15, + 4.718447854656915e-15, + 8.659739592076221e-15, + 7.882583474838611e-15, + 2.942091015256665e-15, + 3.2616631049857832e-18, + 9.2148511043888e-15, + 1.2878587085651816e-14, + 1.021405182655144e-14, + 1.3988810110276972e-14, + 5.329070518200751e-15, + 5.995204332975845e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 2216 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_002/robot.json b/robot/claps_002/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..e626ec84e65c791c2932d4d5be90076c32c8766f --- /dev/null +++ b/robot/claps_002/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.013971538286744745, + "max_tip_deviation_near_hits_m": 0.002122100632190681, + "max_tip_deviation_m": 0.002122100632190681 + }, + "events": { + "events": [ + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.6923, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.226, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.756, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.576, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.266666666667145, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.136666666667438, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.978333333334392, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.81833333333468, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.67333333333497, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.503333333333654, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.319999999998668, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.201666666663623, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.021666666661968, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.871666666660285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.719999999991938, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.55499999999027, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02430277778008083, + "timing_max_s": 0.03600000000806247, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.04870998238921398, + 0.03442257592769937, + 0.02771772569291253, + 0.04341589532453871, + 0.003928672874044858, + 0.0054165995072270046, + 0.016220657473018013, + 2.4190700750521975e-05, + 2.7100062117257906e-05, + 1.265101076364239e-05, + 6.654419209639606e-05, + 1.1154011529068697e-05, + 0.0015357642115186865, + 0.0006181663424714712, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3168273843757496e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_003/robot.json b/robot/claps_003/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..b768887a467b2014c1558af7408000819f506999 --- /dev/null +++ b/robot/claps_003/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.01811806696149934, + "max_tip_deviation_near_hits_m": 0.0030990247377172117, + "max_tip_deviation_m": 0.0030990247377172117 + }, + "events": { + "events": [ + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.706, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.956, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.756, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.278333333333814, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.141666666667438, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.986666666667727, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.828333333334681, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.670000000001636, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.503333333333654, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.316666666665338, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.21999999999694, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.03499999999529, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.92166666666024, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.73999999999192, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.501666666656984, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.022388888891194725, + "timing_max_s": 0.03599999999836356, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.04395637588096435, + 0.0300739698304891, + 0.02291677529329704, + 0.057411168531971146, + 0.004215209779532492, + 0.007492256923077922, + 0.027242691542584158, + 2.2190169790858188e-05, + 3.2944904328924274e-05, + 1.3471193523573177e-05, + 8.832626890908912e-05, + 1.0668870696450838e-05, + 0.002273354222265489, + 0.0016821915802155418, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.318122842455426e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_004/robot.json b/robot/claps_004/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..f5e195d53797248e100578c1232dc1bc91283c31 --- /dev/null +++ b/robot/claps_004/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.008561141725168309, + "max_tip_deviation_near_hits_m": 0.0012548669392043502, + "max_tip_deviation_m": 0.001758267170846182 + }, + "events": { + "events": [ + { + "time_s": 8.266, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.156, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.066, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.726, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.243333333333808, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.121666666667435, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.971666666667724, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.805000000001344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.655000000001634, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.50500000000032, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.321666666665333, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.186666666663637, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.03833333332862, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.903333333326923, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.70166666665862, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.57166666665692, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.028916666668973672, + "timing_max_s": 0.03433333334308131, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.04090031147828954, + 0.02408766771494214, + 0.031378053604471684, + 0.03612144527258304, + 0.0029211539991857993, + 0.0061889239729222, + 0.012381177023382262, + 9.305098384206069e-06, + 3.397404487182065e-05, + 1.835056707499838e-05, + 4.165169286829418e-05, + 9.824028441851596e-06, + 0.001135072968837525, + 0.0010548754809368566, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3166996362228177e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_005/robot.json b/robot/claps_005/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..738641c760d8a03e4bd1f0607547e64e78fe951e --- /dev/null +++ b/robot/claps_005/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.014944159826170533, + "max_tip_deviation_near_hits_m": 0.0027485916796524015, + "max_tip_deviation_m": 0.0027485916796524015 + }, + "events": { + "events": [ + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.776, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.506, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.256, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.916, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.726, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.303333333333818, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.121666666667435, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.008333333334397, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.755000000001337, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.603333333334959, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.471666666667016, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.354999999998636, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.22333333333027, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.019999999995303, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.888333333326937, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.703333333325286, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.603333333323558, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.023777777780087533, + "timing_max_s": 0.034333333332984495, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03940080944708957, + 0.02767278766982173, + 0.020556996822199657, + 0.0420374981522062, + 0.004052939136837352, + 0.004854650266737481, + 0.020038329066184163, + 1.636110218175697e-05, + 2.762844134351905e-05, + 1.2294088556519256e-05, + 7.124245853207256e-05, + 1.01424516407711e-05, + 0.00153853234902257, + 0.0014336382869957198, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3181193080454492e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_006/robot.json b/robot/claps_006/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..8f836dcee4544980ef7021beb94b18098d4c5793 --- /dev/null +++ b/robot/claps_006/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.0139090602269005, + "max_tip_deviation_near_hits_m": 0.002482524555812192, + "max_tip_deviation_m": 0.002482524555812192 + }, + "events": { + "events": [ + { + "time_s": 8.276, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.856, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.746, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.586, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.25333333333381, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.105000000000766, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.971666666667724, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.821666666668014, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.67333333333497, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.50500000000032, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.354999999998636, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.204999999996954, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.021666666661968, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.90499999999359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.73999999999192, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.556666666656934, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.024888888891199706, + "timing_max_s": 0.0343333333380329, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03634782141267617, + 0.02253367617361196, + 0.026706560565027876, + 0.04199122168494862, + 0.0037116888151960126, + 0.0053211457058663925, + 0.019550537220608788, + 1.557001995340626e-05, + 2.511076308986393e-05, + 1.5693616808976074e-05, + 8.193566519509865e-05, + 1.2368403766505054e-05, + 0.0023753096421292863, + 0.0007336535823047052, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.321776810287507e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_007/robot.json b/robot/claps_007/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..d7525a353c89e95cae7615157ec14318f5805a24 --- /dev/null +++ b/robot/claps_007/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.01327828512453938, + "max_tip_deviation_near_hits_m": 0.0024307098045680364, + "max_tip_deviation_m": 0.0024307098045680364 + }, + "events": { + "events": [ + { + "time_s": 8.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 11.996, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.856, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.076, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.736, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.303333333333818, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.105000000000766, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.971666666667724, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.821666666668014, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.641666666668298, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.50500000000032, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.338333333331985, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.20666666666362, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.05499999999527, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.871666666660285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.70499999999195, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.57166666665692, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.026277777780086147, + "timing_max_s": 0.03433333334308131, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.04340115887224427, + 0.02334466457837764, + 0.021631968175536004, + 0.04873777790255296, + 0.0038069730814320746, + 0.004695558356927976, + 0.020112911537238376, + 1.586833959840468e-05, + 2.4100039850316612e-05, + 1.4966569979346644e-05, + 6.962953159384e-05, + 1.1516596380545252e-05, + 0.0018519600833369898, + 0.0006235389475144348, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3174209986118647e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_008/robot.json b/robot/claps_008/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..77622fc6628586ed5dbc965377976df1d8c5b997 --- /dev/null +++ b/robot/claps_008/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.012930975834974018, + "max_tip_deviation_near_hits_m": 0.0024713533175989917, + "max_tip_deviation_m": 0.0024713533175989917 + }, + "events": { + "events": [ + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.146, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.506, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.0721, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.7644, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.576, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.271666666667146, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.121666666667435, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.971666666667724, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.786666666668008, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.671666666668303, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.471666666667016, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.373333333331953, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.208333333330284, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.03833333332862, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.87333333332695, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.73666666665859, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.55499999999027, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02554166666897517, + "timing_max_s": 0.034333333332984495, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03188535906349388, + 0.025038547667516786, + 0.019978281951980873, + 0.040650276808279096, + 0.003906871862663142, + 0.00447866646472872, + 0.01916240617229048, + 1.6970632813242835e-05, + 2.864893423615289e-05, + 1.1959013786588812e-05, + 6.184677710185937e-05, + 1.0071920369281173e-05, + 0.002099381507188025, + 0.0014643317973419556, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.318122771052201e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_009/robot.json b/robot/claps_009/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..4503a4e8f0d75fd1e8e7e84c006e243bf979d50f --- /dev/null +++ b/robot/claps_009/robot.json @@ -0,0 +1,595 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.011212644230521596, + "max_tip_deviation_near_hits_m": 0.001482417869469073, + "max_tip_deviation_m": 0.0020114962812657726 + }, + "events": { + "events": [ + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 11.986, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.666, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.346, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.25333333333381, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.103333333334099, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.955000000001055, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.80166666666801, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.648333333334966, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.51500000000031, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.319999999998668, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.214999999996945, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 8, + "expected": 8, + "missed": [], + "extra": [], + "timing_mae_s": 0.025791666666517443, + "timing_max_s": 0.034333333331989735, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.06609074166860607, + 0.027667906664079422, + 0.024422467376111888, + 0.05459659642471726, + 0.003624230453557642, + 0.005320470339153338, + 0.01570835474148971, + 2.7438091224655072e-05, + 2.9302951625731488e-05, + 1.3142263677545785e-05, + 8.709055849442926e-05, + 1.2949707478782102e-05, + 0.0011169297061089933, + 0.0008384871955247064, + 1.2323475573339238e-14, + 1.2989609388114332e-14, + 6.38378239159465e-15, + 4.773959005888173e-15, + 6.994405055138486e-15, + 6.439293542825908e-15, + 2.7200464103316335e-15, + 3.3379882105449445e-18, + 5.329070518200751e-15, + 1.0658141036401503e-14, + 9.103828801926284e-15, + 1.2434497875801753e-14, + 4.9960036108132044e-15, + 6.8833827526759706e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1551 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_010/robot.json b/robot/claps_010/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..224b16302fc22fcdebdeece844177b74e9d014c2 --- /dev/null +++ b/robot/claps_010/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.015585363181388118, + "max_tip_deviation_near_hits_m": 0.0025177772866164763, + "max_tip_deviation_m": 0.0025177772866164763 + }, + "events": { + "events": [ + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.036, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.786, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.506, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.386, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.236, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.026, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.906, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.746, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.255000000000477, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.110000000000767, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 12.013333333334398, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.75333333333467, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.668333333334969, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.471666666667016, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.354999999998636, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.20333333333029, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.00333333332865, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.871666666660285, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.721666666658603, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.588333333323572, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.028083333335638578, + "timing_max_s": 0.034333333339713334, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.05766844138262284, + 0.02670096328714977, + 0.030917504861023556, + 0.05048442924653623, + 0.005572250280879487, + 0.005161133294594555, + 0.009789887621996174, + 1.945733168016614e-05, + 4.11689581917285e-05, + 1.4947141351973059e-05, + 8.234212178748201e-05, + 2.0166130365595336e-05, + 0.0021788158664418633, + 0.004256528885049349, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3184931973318726e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_011/robot.json b/robot/claps_011/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..6f47095afc6ef4524ea3cc5f71598725bfd452e2 --- /dev/null +++ b/robot/claps_011/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.008081305347101053, + "max_tip_deviation_near_hits_m": 0.001253647082460471, + "max_tip_deviation_m": 0.0013888270017707747 + }, + "events": { + "events": [ + { + "time_s": 8.296, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.816, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.626, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.356, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.766, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.27000000000048, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.105000000000766, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.988333333334394, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.788333333334675, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.603333333334959, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.503333333333654, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.319999999998668, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.184999999996972, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 22.986666666662, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.90499999999359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.73666666665859, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.569999999990255, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.029194444446750012, + "timing_max_s": 0.03600000000974646, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.06656112228575195, + 0.025000145133517393, + 0.026904739427798054, + 0.027211511748032713, + 0.0032000305032398035, + 0.005034234310356767, + 0.01065220885175222, + 9.957486804717101e-06, + 2.3403556702605854e-05, + 9.238573450032206e-06, + 4.201380888879669e-05, + 1.2193619258082933e-05, + 0.0011273605501748163, + 0.0013698241241855147, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3172303099064714e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_012/robot.json b/robot/claps_012/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..27e10d7ce22bd8d9640ed1477168a213083c3769 --- /dev/null +++ b/robot/claps_012/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.016354839827354, + "max_tip_deviation_near_hits_m": 0.0026184824174865476, + "max_tip_deviation_m": 0.0026184824174865476 + }, + "events": { + "events": [ + { + "time_s": 8.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.806, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.6731, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.506, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.336, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.046, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.726, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.576, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.23666666666714, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.103333333334099, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.96833333333439, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.768333333334672, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.638333333334964, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.47000000000035, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.303333333332017, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.204999999996954, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.036666666661954, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.903333333326923, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.703333333325286, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.573333333323585, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.024925000002305058, + "timing_max_s": 0.03766666666560958, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.06842505003147203, + 0.029419203870919175, + 0.030850193282462662, + 0.07087948859224319, + 0.005148111106475506, + 0.005930352979006404, + 0.018270958593934572, + 2.593621640248501e-05, + 3.3707866404664166e-05, + 1.8472626559296046e-05, + 0.00011753197571895413, + 2.283885730691715e-05, + 0.0017266532398699797, + 0.003247400666815947, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.317231262080557e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_013/robot.json b/robot/claps_013/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..3023c354495427d508d3ff73bd3ba4d4b4cfbd2c --- /dev/null +++ b/robot/claps_013/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.016493788098580903, + "max_tip_deviation_near_hits_m": 0.0030530989222054177, + "max_tip_deviation_m": 0.0030530989222054177 + }, + "events": { + "events": [ + { + "time_s": 8.316, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.126, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.866, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.656, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.366, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.256, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.026, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.736, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.310000000000485, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.105000000000766, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.988333333334394, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.85666666666802, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.623333333334962, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.50500000000032, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.338333333331985, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.21999999999694, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.004999999995317, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.90499999999359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.70499999999195, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.603333333323558, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.023916666668976443, + "timing_max_s": 0.03600000000306025, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.03575799072363828, + 0.01915095771148445, + 0.026989010652641476, + 0.05515210117592001, + 0.004622892571474413, + 0.006571585390918094, + 0.01966676297084466, + 1.4191043926918108e-05, + 2.129770047432089e-05, + 1.103982317385288e-05, + 7.875254569045254e-05, + 1.6029483793866817e-05, + 0.0020046855960842436, + 0.003452210800333755, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.318742230503992e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_014/robot.json b/robot/claps_014/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..eb83388bdbe06bda58bff0ea4a79c7bc6f6eef24 --- /dev/null +++ b/robot/claps_014/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.013026004450698458, + "max_tip_deviation_near_hits_m": 0.0022541393932445646, + "max_tip_deviation_m": 0.0022541393932445646 + }, + "events": { + "events": [ + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.136, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.8365, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.666, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.516, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.336, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.246, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.766, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.25333333333381, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.103333333334099, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.970000000001058, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.811666666668012, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.636666666668297, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.486666666667002, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.30166666666535, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.23666666666359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.004999999995317, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.90499999999359, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.73666666665859, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.588333333323572, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02729166666897524, + "timing_max_s": 0.035999999998942656, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.051641063618352634, + 0.022429503798396644, + 0.021078076353549278, + 0.05425438635971375, + 0.00444994464598647, + 0.005830001692145259, + 0.01856510270419026, + 1.6417103356578022e-05, + 2.3122387635132746e-05, + 1.3426519102965884e-05, + 8.134094168532613e-05, + 1.3511569788571265e-05, + 0.0015757929899781198, + 0.0023948916887760463, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3172300018051714e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_015/robot.json b/robot/claps_015/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..44f827323c4917a283bec49560190098387f9765 --- /dev/null +++ b/robot/claps_015/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.012197323301382373, + "max_tip_deviation_near_hits_m": 0.0020075386425141206, + "max_tip_deviation_m": 0.0020075386425141206 + }, + "events": { + "events": [ + { + "time_s": 8.306, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.176, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.006, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.836, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.696, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.526, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.376, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.936, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.736, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.606, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.27000000000048, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.155000000000774, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.971666666667724, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.805000000001344, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.671666666668303, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.503333333333654, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.354999999998636, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.188333333330302, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.019999999995303, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.92166666666024, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.70499999999195, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.57166666665692, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02780555555786446, + "timing_max_s": 0.03600000000469805, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.02995752034425314, + 0.016898842843358075, + 0.018395014666673287, + 0.05074620462866836, + 0.00316055513204061, + 0.003015159892149011, + 0.015560200951787478, + 8.378365584164253e-06, + 1.8013928963500625e-05, + 7.031000206048077e-06, + 7.043157007968759e-05, + 1.1687698628026766e-05, + 0.0011335083520231937, + 0.0014839501739603023, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3172300370127785e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +} diff --git a/robot/claps_016/robot.json b/robot/claps_016/robot.json new file mode 100644 index 0000000000000000000000000000000000000000..9032803c5822f93d13fdf27e8b23c41d1bf5e93e --- /dev/null +++ b/robot/claps_016/robot.json @@ -0,0 +1,643 @@ +{ + "plan": { + "max_joint_adjustment_rad": 0.007618711435922326, + "max_tip_deviation_near_hits_m": 0.0012429001231290418, + "max_tip_deviation_m": 0.0012429001231290418 + }, + "events": { + "events": [ + { + "time_s": 8.286, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 10.166, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 12.016, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 13.796, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 15.686, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 17.536, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 19.326, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 21.216, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 23.056, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 24.926, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 26.756, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + }, + { + "time_s": 28.616, + "pad": "pad_1", + "kind": "hit", + "arm": "left" + } + ] + }, + "hits": [ + { + "time_s": 8.25333333333381, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 10.136666666667438, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 11.991666666667728, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 13.770000000001339, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 15.653333333334967, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 17.506666666666984, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 19.311666666665342, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 21.194999999996963, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 23.019999999995303, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 24.903333333326923, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 26.723333333325268, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + }, + { + "time_s": 28.58499999999024, + "pad": "pad_1", + "arm": "left", + "kind": "hit" + } + ], + "report": { + "matched": 12, + "expected": 12, + "missed": [], + "extra": [], + "timing_mae_s": 0.02766666666897466, + "timing_max_s": 0.03600000000469805, + "hit_success": true, + "knobs_ok": true, + "knob_checks": [], + "unexpected_knob_motion": [], + "unexpected_knob_contacts": [], + "tracking_ok": true, + "max_joint_error": [ + 0.04370752236631803, + 0.017965857321377343, + 0.018813275131704468, + 0.030324432312473282, + 0.004119704855420014, + 0.0038166725659686818, + 0.006757976929260057, + 2.023107194290089e-05, + 2.138763505277197e-05, + 9.738152628502306e-06, + 5.570814875510699e-05, + 9.036854217381318e-06, + 0.001719614291849747, + 0.0028875039978437655, + 9.325873406851315e-15, + 7.549516567451064e-15, + 3.552713678800501e-15, + 2.942091015256665e-15, + 5.995204332975845e-15, + 4.107825191113079e-15, + 1.7763568394002505e-15, + 3.3174237076071343e-18, + 4.551914400963142e-15, + 8.215650382226158e-15, + 5.10702591327572e-15, + 6.217248937900877e-15, + 2.3314683517128287e-15, + 3.3306690738754696e-15 + ], + "bad_contacts": 0, + "bad_contact_pairs": {}, + "dataset_eligible": true, + "frames": 1994 + }, + "knobs": [ + "knob_1", + "knob_2", + "knob_3", + "knob_4", + "knob_5", + "knob_6", + "knob_7", + "knob_8" + ], + "kit": { + "description": "LPD8 MK2 at user-provided overall size 306 x 81 x 34 mm. Control layout estimated from the supplied angled product photo; not surveyed. Marker positions, MIDI mapping and component heights still need checking against the real device.", + "board_x_robot": [ + 1, + 0, + 0 + ], + "board_y_robot": [ + 0, + 1, + 0 + ], + "pads": [ + { + "id": "pad_1", + "bounds_m": [ + 0.04, + 0.015, + 0.07, + 0.045 + ], + "midi_note": 36, + "frequency_hz": 90 + }, + { + "id": "pad_2", + "bounds_m": [ + 0.076, + 0.015, + 0.106, + 0.045 + ], + "midi_note": 37, + "frequency_hz": 185 + }, + { + "id": "pad_3", + "bounds_m": [ + 0.112, + 0.015, + 0.142, + 0.045 + ], + "midi_note": 38, + "frequency_hz": 280 + }, + { + "id": "pad_4", + "bounds_m": [ + 0.148, + 0.015, + 0.178, + 0.045 + ], + "midi_note": 39, + "frequency_hz": 375 + }, + { + "id": "pad_5", + "bounds_m": [ + 0.04, + 0.048, + 0.07, + 0.078 + ], + "midi_note": 40, + "frequency_hz": 470 + }, + { + "id": "pad_6", + "bounds_m": [ + 0.076, + 0.048, + 0.106, + 0.078 + ], + "midi_note": 41, + "frequency_hz": 565 + }, + { + "id": "pad_7", + "bounds_m": [ + 0.112, + 0.048, + 0.142, + 0.078 + ], + "midi_note": 42, + "frequency_hz": 660 + }, + { + "id": "pad_8", + "bounds_m": [ + 0.148, + 0.048, + 0.178, + 0.078 + ], + "midi_note": 43, + "frequency_hz": 755 + } + ], + "controls": [ + { + "id": "knob_1", + "kind": "knob", + "center_m": [ + 0.195, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_1" + }, + { + "id": "knob_2", + "kind": "knob", + "center_m": [ + 0.224, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_2" + }, + { + "id": "knob_3", + "kind": "knob", + "center_m": [ + 0.253, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_3" + }, + { + "id": "knob_4", + "kind": "knob", + "center_m": [ + 0.282, + 0.0245 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_4" + }, + { + "id": "knob_5", + "kind": "knob", + "center_m": [ + 0.195, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_5" + }, + { + "id": "knob_6", + "kind": "knob", + "center_m": [ + 0.224, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_6" + }, + { + "id": "knob_7", + "kind": "knob", + "center_m": [ + 0.253, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_7" + }, + { + "id": "knob_8", + "kind": "knob", + "center_m": [ + 0.282, + 0.0565 + ], + "radius_m": 0.0085, + "initial_angle_rad": 0.0, + "affects_pad": "pad_8" + }, + { + "id": "program", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0305, + 0.0145, + 0.0415 + ], + "rim_rgba": [ + 0.25, + 0.03, + 0.03, + 1 + ] + }, + { + "id": "note", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0305, + 0.0295, + 0.0415 + ], + "rim_rgba": [ + 1, + 0.015, + 0.02, + 1 + ] + }, + { + "id": "prog_change", + "kind": "button", + "bounds_m": [ + 0.0035, + 0.0145, + 0.0145, + 0.0255 + ], + "rim_rgba": [ + 0.8, + 0.82, + 0.86, + 1 + ] + }, + { + "id": "cc", + "kind": "button", + "bounds_m": [ + 0.0185, + 0.0145, + 0.0295, + 0.0255 + ], + "rim_rgba": [ + 0.7, + 0.3, + 0.35, + 1 + ] + } + ], + "control_hz": 60, + "audio_sample_rate": 16000, + "max_linear_speed_m_s": 1.5, + "max_angular_speed_rad_s": 5.0, + "contact_tolerance_s": 0.075, + "device": "Akai Professional LPD8 MK2", + "source": "https://cdn.inmusicbrands.com/akai/LPD8/LPD8%20mk2%20-%20User%20Guide%20-%20v1.2.pdf", + "enclosure": { + "size_m": [ + 0.306, + 0.081, + 0.034 + ], + "body_height_m": 0.019, + "pad_surface_height_m": 0.021, + "button_surface_height_m": 0.02, + "knob_top_height_m": 0.034, + "coordinate_convention": "x left-to-right, y front-to-back; board_origin_robot_m is front-left at pad contact height", + "size_source": "User-provided dimensions, 2026-10-06", + "layout_source": "Approximate planar layout inferred from user product photo, 2026-10-06", + "height_assumption": "34 mm interpreted as maximum overall device height including knobs. Body/pad/button height split is an estimate.", + "knob_layout_source": "Knob centres and radius measured 2026-10-13 in the calibrated overhead frames of the three 2026-10-12 sessions (Hough circles; all 8 knobs ~5 mm left and ~2.5 mm forward of the photo estimate, +-1 mm; radius 8.2-9.2 mm)" + }, + "knob_grasp": { + "tcp_below_top_m": 0.003, + "pregrasp_fingers_rad": [ + 1.23, + 0.15, + 1.23 + ], + "closed_fingers_rad": [ + 1.33, + 0.15, + 1.33 + ], + "approach_s": 1.2, + "close_s": 0.8, + "release_s": 0.6, + "retract_s": 1.2, + "clearance_m": 0.05, + "max_turn_rad": 0.4, + "note": "Simulated pinch profile for 16 mm diameter knobs; revalidate after measuring the real controller.", + "release_fingers_rad": [ + 1.245, + 0.15, + 1.245 + ], + "reset_s": 1.5 + }, + "press_depth_m": 0.0025, + "calibration_note": "2026-10-08 session: camera calibrated to this pad layout via data/takes/camera_calibration.json (pad-grid corners in angle1). Front row verified on video; back row ~1/4 pad off. Pad positions are still photo estimates.", + "robot": "g1", + "robot_note": "Unitree G1 + Dex3 hands (robot_sim/g1.py), pelvis fixed, standing at a desk; real speed and torque limits.", + "board_origin_robot_m": [ + 0, + 0, + 0.8 + ], + "robot_base": { + "position_m": [ + 0.153, + -0.2, + 0.793 + ], + "yaw_rad": 1.5707963 + }, + "desk_size_m": [ + 0.9, + 0.5 + ], + "head_camera": { + "pos_m": [ + 0.06, + 0, + 0.42 + ], + "xyaxes": [ + 0, + -1, + 0, + 0.883, + 0, + 0.469 + ], + "fovy": 70 + }, + "hover_height_m": 0.04, + "park_xy_m": [ + [ + -0.03, + 0.0 + ], + [ + 0.34, + 0.0 + ] + ], + "workspace_xy_m": [ + -0.1, + -0.12, + 0.4, + 0.16 + ], + "motion_planner": { + "max_joint_deviation_rad": 0.3, + "acceleration_weight": 1.0, + "jerk_weight": 4.0, + "max_finger_deviation_rad": 0.3 + }, + "torque_margin": 0.6, + "join_s": 2.0, + "press_fingers_rad": [ + 0.0, + 0.9, + 1.5, + -1.4, + -1.6, + -0.6, + -0.8 + ], + "press_hand_deg": { + "pitch": 0, + "yaw": 24, + "roll": 0, + "note": "nearest to the human median at the pad (pitch -11, yaw 24, roll 16; 1573 frames, 2026-10 takes 3/7/10/24/30) that keeps the rest of the Dex3 hand >= 5 mm off the controller on all 8 pads (17.9 mm); the human median put the tucked middle finger 14 mm into the case" + }, + "pad_landing_margin_m": 0.009, + "pad_landing_note": "half the Dex3 fingertip's width: a landing closer than this to a pad edge is pulled in (pad snap)", + "knob_volume": { + "knob": "knob_4", + "silent_below_deg": 6.8, + "full_at_deg": 53.9, + "note": "The shakers' volume vs knob_4's clockwise turn from rest, fitted on the 2026-10-12 knob sessions (camera pointer angle vs the recorded gain over the shakers stem; median residual 1.8 deg): silent below 6.8 deg, linear to full at 53.9 deg." + }, + "knob_claw": { + "knob": "knob_4", + "closed_fingers_rad": [ + -0.3916, + -0.6423, + -0.5841, + 1.4, + 1.6, + 1.201, + 0.9176 + ], + "preshape_fingers_rad": [ + -0.3582, + -0.8116, + -0.3049, + 1.4, + 1.6, + 1.2563, + 0.8964 + ], + "wrist_rotvec": [ + -0.13367, + -2.1661, + 2.15955 + ], + "wrist_offset_m": [ + 0.13125, + 0.0117, + 0.07343 + ], + "lift_m": 0.03, + "note": "G1 knob turns, like the human: a palm-down claw from the right, thumb and index tips squeezing knob_4 from opposite sides ~2 mm, 1-2 mm below its top. Right wrist pose relative to the knob's top centre (rotation vector, offset; robot frame at knob angle 0); the hand turns about the knob axis with the knob. Found 2026-10-13 by a search over finger joints + wrist pose against the meshes (tips on the knob, every other part >= 2-3 mm off the case, the desk and the other knobs from 0 to -54 deg, the arm reaching every pose); pre-shape = each tip backed 4 mm straight off the knob (closing then barely turns it). Physics: -40 deg command -> -37.5, back to 0 -> -6; opening turns it ~-9 deg (after the last fade, when the shakers are silent). Fingers-down pinches put the palm in the desk: the Dex3 thumb opposes the index along the hand." + }, + "contact_clearance_m": 0.008, + "contact_lead_s": 0.1, + "contact_note": "The audio contact rule (camera_to_robot.robot_path): off the hits the fingertip stays contact_clearance_m above the pads (the sim's 5 mm re-arm + margin) and comes down only contact_lead_s before each audio hit. Added 2026-10-13 on the new data: without it camera gaps before a clap made the finger creep onto the pad early (claps lost ~16-20%); on the 25 hardest episodes 21/25 pass with it vs 12/25 without.", + "press_depth_note": "How far into a pad the plan presses at a hit. The position servos round off the bottom of a fast stroke by 1-3 mm (rims: 7-10 cm strokes at ~0.6 m/s): with 0.7 mm (the Jaco value) 1/11 hard rims episodes passed, with 2.5 mm 7/11 (2026-10-13)." + } +}