Some problems about sensor coord system
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- jupyter-notebook, python
調査の方向性
get_sample_data の呼び出しと示されている座標変換ブロックから始め、pose_record、cs_record、sensor_record、cam_intrinsic の役割を比較してください。各センサーチャネルについて、座標系の定義と、返されるボックスの xyz 値、特に z の意味と単位が明示的に文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I try like this:
my_sample = level5data.get('sample', my_sample_token)
sensor_channel_list=['CAM_FRONT', 'LIDAR_TOP', 'CAM_BACK']
for sensor_channel in sensor_channel_list:
my_sample_data = level5data.get('sample_data', my_sample['data'][sensor_channel])
Path, box_list, cam_intrinsic = level5data.get_sample_data(my_sample_data['token'])
print('{} channel path = {}'.format(sensor_channel, Path))
if any(box_list):
print('{} channel box = {}'.format(sensor_channel, box_list[0]))
I get the result like this:
CAM_FRONT channel path = J:\data\lyft\nuscenes-devkit\notebooks\..\..\perception\one_scene\train_images\host-a101_cam0_1241893239450000006.jpeg
CAM_FRONT channel box = label: nan, score: nan, xyz: [-17.98, 1.52, 27.38], wlh: [1.70, 3.89, 1.49], rot axis: [0.01, -0.70, 0.72], ang(degrees): 178.16, ang(rad): 3.11, vel: nan, nan, nan, name: car, token: 9f1434fa2688e89f7770958b13a24cb6b1d815a31ab1efb6346565799482d350
LIDAR_TOP channel path = J:\data\lyft\nuscenes-devkit\notebooks\..\..\perception\one_scene\train_lidar\host-a101_lidar1_1241893239502712366.bin
LIDAR_TOP channel box = label: nan, score: nan, xyz: [27.67, -16.85, -0.47], wlh: [1.55, 4.05, 1.41], rot axis: [-0.02, 0.03, 1.00], ang(degrees): -39.19, ang(rad): -0.68, vel: nan, nan, nan, name: car, token: fdfa2d9494bd4b2bc183522bc8a71ee02e0eeb451dfb5f91d057ffcdb8a8e7fc
CAM_BACK channel path = J:\data\lyft\nuscenes-devkit\notebooks\..\..\perception\one_scene\train_images\host-a101_cam3_1241893239500000006.jpeg
CAM_BACK channel box = label: nan, score: nan, xyz: [17.29, 0.37, 27.02], wlh: [1.55, 4.05, 1.41], rot axis: [0.84, -0.39, 0.38], ang(degrees): 101.59, ang(rad): 1.77, vel: nan, nan, nan, name: car, token: fdfa2d9494bd4b2bc183522bc8a71ee02e0eeb451dfb5f91d057ffcdb8a8e7fc
I feel confused about the xyz of the box_list[0], so I look into the source code.
box_list = []
for box in boxes:
if flat_vehicle_coordinates:
# Move box to ego vehicle coord system parallel to world z plane
ypr = Quaternion(pose_record["rotation"]).yaw_pitch_roll
yaw = ypr[0]
box.translate(-np.array(pose_record["translation"]))
box.rotate_around_origin(Quaternion(scalar=np.cos(yaw / 2), vector=[0, 0, np.sin(yaw / 2)]).inverse)
else:
# Move box to ego vehicle coord system
box.translate(-np.array(pose_record["translation"]))
box.rotate_around_origin(Quaternion(pose_record["rotation"]).inverse)
# Move box to sensor coord system
box.translate(-np.array(cs_record["translation"]))
box.rotate_around_origin(Quaternion(cs_record["rotation"]).inverse)
if sensor_record["modality"] == "camera" and not box_in_image(
box, cam_intrinsic, image_size, vis_level=box_vis_level
):
continue
box_list.append(box)
The parameter flat_vehicle_coordinates is False, so I think the final box_list‘s xyz is in sensor coord system.
But the result I find the z is 27.38 or 27.02 (m ?)
I want to know where to find the definition of each sensor coord system ? I'm confused about the result, especially the z axis.
Thanks for your contribution for this big dataset very much !
- 主要言語
- Jupyter Notebook
- スター
- 391
- フォーク
- 99
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lyft/nuscenes-devkit のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
lyft/nuscenes-devkit#106 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
lyft/nuscenes-devkit#105 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
lyft/nuscenes-devkit#104 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
lyft/nuscenes-devkit#103 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 48/100
lyft/nuscenes-devkit#99 ·
lyft/nuscenes-devkit の issue をすべて見る
似ている issue
-
fix(blind_spot): ego passage interval is reversed on right turns, so the module never stops for a cyclist on the inside対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
autowarefoundation/autoware_universe#13509 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Fix the pure-pursuit parameter-file path in the global-planner launch対応中かも @yjhuang831 が 22 日前に担当しました。 オープンarea:runtime good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
WATonomous/wato_f1tenth#39 · 担当者 1 名 ·
-
good first issue refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#129 · コメント 1 件 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Thinklab-SJTU/Bench2Drive#235 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
QwenLM/Qwen-Drive-1.0#7 ·