Skip to content

Commit 19d50dc

Browse files
committed
test: add sample t4 dataset
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
1 parent a4c9753 commit 19d50dc

26 files changed

Lines changed: 586 additions & 0 deletions
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"token": "33d1d37c9664a80121488037b8ac8485",
4+
"name": "moving",
5+
"description": "Object is in motion"
6+
},
7+
{
8+
"token": "81adf1af78e42f129890e080c98fb920",
9+
"name": "standing",
10+
"description": "Object is stationary"
11+
},
12+
{
13+
"token": "31b6e7aab1741f59529ff098b4889110",
14+
"name": "stopped",
15+
"description": "Vehicle is stopped"
16+
},
17+
{
18+
"token": "a4894d9a9c50c75891179f3a8b2cc9e3",
19+
"name": "parked",
20+
"description": "Vehicle is parked"
21+
}
22+
]
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[
2+
{
3+
"token": "56f822ce227d36ef726a89ef6f6911dc",
4+
"sensor_token": "0132c9748dfe2777a146807f8a95a6c4",
5+
"translation": [0.0, 0.0, 2.0],
6+
"rotation": [1.0, 0.0, 0.0, 0.0],
7+
"camera_intrinsic": [],
8+
"camera_distortion": []
9+
},
10+
{
11+
"token": "50acc3b31066c20a9af2ae9d032508a6",
12+
"sensor_token": "391237c9a8cb743864cdfd764e6c8627",
13+
"translation": [1.5, 0.0, 1.8],
14+
"rotation": [1.0, 0.0, 0.0, 0.0],
15+
"camera_intrinsic": [
16+
[800.0, 0.0, 400.0],
17+
[0.0, 800.0, 300.0],
18+
[0.0, 0.0, 1.0]
19+
],
20+
"camera_distortion": [0.0, 0.0, 0.0, 0.0, 0.0]
21+
},
22+
{
23+
"token": "fc63adfe5b9bec05de27bc1d59840466",
24+
"sensor_token": "99998d7e7be2bbca0f2ce80688d8a63a",
25+
"translation": [-1.5, 0.0, 1.8],
26+
"rotation": [0.0, 0.0, 0.0, 1.0],
27+
"camera_intrinsic": [
28+
[800.0, 0.0, 400.0],
29+
[0.0, 800.0, 300.0],
30+
[0.0, 0.0, 1.0]
31+
],
32+
"camera_distortion": [0.0, 0.0, 0.0, 0.0, 0.0]
33+
}
34+
]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"token": "1c22a023c1a214447d0bc497088c9a3d",
4+
"name": "car",
5+
"description": "Vehicle designed primarily for passenger transportation"
6+
},
7+
{
8+
"token": "4db2cce0862dbdf1385186fd604d477a",
9+
"name": "pedestrian",
10+
"description": "Person walking or standing"
11+
},
12+
{
13+
"token": "0531921ca79d7ca8c3815a77122de529",
14+
"name": "bicycle",
15+
"description": "Two-wheeled vehicle propelled by pedaling"
16+
},
17+
{
18+
"token": "bdb3ce20fb731507f2ecf9387071335f",
19+
"name": "traffic_cone",
20+
"description": "Cone-shaped marker used to redirect traffic"
21+
}
22+
]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
{
3+
"token": "193556c46a9b5e6804de9fd28e4c6176",
4+
"timestamp": 1704067200000000,
5+
"translation": [0.0, 0.0, 0.0],
6+
"rotation": [1.0, 0.0, 0.0, 0.0]
7+
},
8+
{
9+
"token": "0056c5bdde94168fddc1b574af03d88a",
10+
"timestamp": 1704067201000000,
11+
"translation": [10.0, 0.0, 0.0],
12+
"rotation": [1.0, 0.0, 0.0, 0.0]
13+
},
14+
{
15+
"token": "5207dc85aa50ad74b1c8968d317ef7e3",
16+
"timestamp": 1704067202000000,
17+
"translation": [20.0, 0.0, 0.0],
18+
"rotation": [1.0, 0.0, 0.0, 0.0]
19+
}
20+
]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"token": "90f0c98d1a040d5360847f576c5528f8",
4+
"category_token": "1c22a023c1a214447d0bc497088c9a3d",
5+
"instance_name": "car_001",
6+
"nbr_annotations": 2,
7+
"first_annotation_token": "4517ec89ec131157097133ce6532861b",
8+
"last_annotation_token": "b573b38d867572bd0a4d8362c089e9b1"
9+
},
10+
{
11+
"token": "90bbf29d816e58181741b05a2b662d5f",
12+
"category_token": "4db2cce0862dbdf1385186fd604d477a",
13+
"instance_name": "pedestrian_001",
14+
"nbr_annotations": 1,
15+
"first_annotation_token": "b3647a753a8eada2bd7863defe9b562c",
16+
"last_annotation_token": "b3647a753a8eada2bd7863defe9b562c"
17+
},
18+
{
19+
"token": "960f58b84920a67c690ca871f6826f58",
20+
"category_token": "0531921ca79d7ca8c3815a77122de529",
21+
"instance_name": "bicycle_001",
22+
"nbr_annotations": 1,
23+
"first_annotation_token": "fca7706953ef7d068f9f406538840eff",
24+
"last_annotation_token": "fca7706953ef7d068f9f406538840eff"
25+
}
26+
]

tests/sample/annotation/log.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{
3+
"token": "e2c60317a26f1b767f1d099e87335c4b",
4+
"logfile": "minimal_test_log.bag",
5+
"vehicle": "test_vehicle",
6+
"data_captured": "2024-01-01",
7+
"location": "test_location"
8+
}
9+
]

tests/sample/annotation/map.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"token": "a24946e32253b712307af5d3a4c29946",
4+
"log_tokens": ["e2c60317a26f1b767f1d099e87335c4b"],
5+
"category": "semantic_prior",
6+
"filename": "map/lanelet2_map.osm"
7+
}
8+
]
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[
2+
{
3+
"token": "dfe442d00758b2543d8c9345e76bb46c",
4+
"sample_data_token": "a24cd7ccbf6a4a20b06f0727f2c7d67e",
5+
"instance_token": "90f0c98d1a040d5360847f576c5528f8",
6+
"category_token": "1c22a023c1a214447d0bc497088c9a3d",
7+
"attribute_tokens": ["33d1d37c9664a80121488037b8ac8485"],
8+
"bbox": [100, 100, 200, 150],
9+
"mask": {
10+
"size": [600, 800],
11+
"counts": "VGZqMWY0Uj4wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwbGtUOQ=="
12+
}
13+
},
14+
{
15+
"token": "4eaef84a24f541d61f5c07e70ca51a27",
16+
"sample_data_token": "fee500620d16b48608472f39f2b64d7d",
17+
"instance_token": "90f0c98d1a040d5360847f576c5528f8",
18+
"category_token": "1c22a023c1a214447d0bc497088c9a3d",
19+
"attribute_tokens": ["33d1d37c9664a80121488037b8ac8485"],
20+
"bbox": [110, 95, 190, 155],
21+
"mask": {
22+
"size": [600, 800],
23+
"counts": "X2FQMms0bT0wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMFFsVDk="
24+
}
25+
},
26+
{
27+
"token": "73f89223becd99a600af713929d2fd71",
28+
"sample_data_token": "a24cd7ccbf6a4a20b06f0727f2c7d67e",
29+
"instance_token": "90bbf29d816e58181741b05a2b662d5f",
30+
"category_token": "4db2cce0862dbdf1385186fd604d477a",
31+
"attribute_tokens": ["81adf1af78e42f129890e080c98fb920"],
32+
"bbox": [50, 150, 80, 200],
33+
"mask": {
34+
"size": [600, 800],
35+
"counts": "Vl5tMFg2YDwwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwal1YPA=="
36+
}
37+
},
38+
{
39+
"token": "e8ad846424d870f548e68e4e1af7b922",
40+
"sample_data_token": "fee500620d16b48608472f39f2b64d7d",
41+
"instance_token": "960f58b84920a67c690ca871f6826f58",
42+
"category_token": "0531921ca79d7ca8c3815a77122de529",
43+
"attribute_tokens": ["31b6e7aab1741f59529ff098b4889110"],
44+
"bbox": [120, 100, 300, 180],
45+
"mask": {
46+
"size": [600, 800],
47+
"counts": "VF1WMmQ1VD0wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBsYW42"
48+
}
49+
}
50+
]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[
2+
{
3+
"token": "9dc4405e487c08ded718359cf238df4b",
4+
"timestamp": 1704067200000000,
5+
"scene_token": "cacaf846c26bc90bca5c88a70d2bfae5",
6+
"next": "bb9ae73c87cd8272fcf96085a0b43116",
7+
"prev": ""
8+
},
9+
{
10+
"token": "bb9ae73c87cd8272fcf96085a0b43116",
11+
"timestamp": 1704067201000000,
12+
"scene_token": "cacaf846c26bc90bca5c88a70d2bfae5",
13+
"next": "79999359e0719197ed3eac6a3d983940",
14+
"prev": "9dc4405e487c08ded718359cf238df4b"
15+
},
16+
{
17+
"token": "79999359e0719197ed3eac6a3d983940",
18+
"timestamp": 1704067202000000,
19+
"scene_token": "cacaf846c26bc90bca5c88a70d2bfae5",
20+
"next": "",
21+
"prev": "bb9ae73c87cd8272fcf96085a0b43116"
22+
}
23+
]
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[
2+
{
3+
"token": "4517ec89ec131157097133ce6532861b",
4+
"sample_token": "9dc4405e487c08ded718359cf238df4b",
5+
"instance_token": "90f0c98d1a040d5360847f576c5528f8",
6+
"attribute_tokens": ["33d1d37c9664a80121488037b8ac8485"],
7+
"visibility_token": "0c181184fe14086a5f3e2dfdc1993ad4",
8+
"translation": [10.0, 5.0, 1.0],
9+
"size": [4.5, 2.0, 1.8],
10+
"rotation": [1.0, 0.0, 0.0, 0.0],
11+
"num_lidar_pts": 250,
12+
"num_radar_pts": 15,
13+
"next": "b573b38d867572bd0a4d8362c089e9b1",
14+
"prev": ""
15+
},
16+
{
17+
"token": "b573b38d867572bd0a4d8362c089e9b1",
18+
"sample_token": "bb9ae73c87cd8272fcf96085a0b43116",
19+
"instance_token": "90f0c98d1a040d5360847f576c5528f8",
20+
"attribute_tokens": ["33d1d37c9664a80121488037b8ac8485"],
21+
"visibility_token": "0c181184fe14086a5f3e2dfdc1993ad4",
22+
"translation": [12.0, 5.2, 1.0],
23+
"size": [4.5, 2.0, 1.8],
24+
"rotation": [1.0, 0.0, 0.0, 0.0],
25+
"num_lidar_pts": 280,
26+
"num_radar_pts": 18,
27+
"next": "",
28+
"prev": "4517ec89ec131157097133ce6532861b"
29+
},
30+
{
31+
"token": "b3647a753a8eada2bd7863defe9b562c",
32+
"sample_token": "9dc4405e487c08ded718359cf238df4b",
33+
"instance_token": "90bbf29d816e58181741b05a2b662d5f",
34+
"attribute_tokens": ["81adf1af78e42f129890e080c98fb920"],
35+
"visibility_token": "00a2a6ec154cb1f803c1328eb3feae9e",
36+
"translation": [5.0, -2.0, 0.9],
37+
"size": [0.8, 0.8, 1.7],
38+
"rotation": [1.0, 0.0, 0.0, 0.0],
39+
"num_lidar_pts": 45,
40+
"num_radar_pts": 2,
41+
"next": "",
42+
"prev": ""
43+
},
44+
{
45+
"token": "fca7706953ef7d068f9f406538840eff",
46+
"sample_token": "bb9ae73c87cd8272fcf96085a0b43116",
47+
"instance_token": "960f58b84920a67c690ca871f6826f58",
48+
"attribute_tokens": ["31b6e7aab1741f59529ff098b4889110"],
49+
"visibility_token": "da1d2bb59aa16726bc9426aa178d54be",
50+
"translation": [8.0, 3.0, 0.5],
51+
"size": [1.8, 0.6, 1.2],
52+
"rotation": [0.9659, 0.0, 0.0, 0.2588],
53+
"num_lidar_pts": 120,
54+
"num_radar_pts": 5,
55+
"next": "",
56+
"prev": ""
57+
}
58+
]

0 commit comments

Comments
 (0)