Skip to content

Feat/shannon surprise#212

Open
Kasaiatsuki wants to merge 13 commits into
feat/yolop_shortcutfrom
feat/shannon_surprise
Open

Feat/shannon surprise#212
Kasaiatsuki wants to merge 13 commits into
feat/yolop_shortcutfrom
feat/shannon_surprise

Conversation

@Kasaiatsuki
Copy link
Copy Markdown

シミュレータ上で左回りにレーンを変えて5周ずつデータを収集し、main_params.yamlのsteered_gainを6.5に変更してe2e_plannerを起動しています。
コース外に出ることもありますし、ノードの自己位置も上手く推定できていないです。
具体的には1つ目の2つ目の間の道でスタート位置らへんと間違えたり、交差点付近でもスタート位置と間違えたりしています。

@Kasaiatsuki
Copy link
Copy Markdown
Author

シャノンサプライズの方法は左右に3つ便を配置して最大の横ずれをしているパスを一番端の便に入れるようにしています。真ん中から一つ横にずれるに連れて重みが大きくなるようにしています。

from util.yolop_processor import YOLOPv2Processor
from util.preprocessing import MODEL_INPUT_SIZE, center_square_crop, lane_mask_to_tensor_array, overlay_lane_mask

WAYPOINT_X_MIN = -8.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

範囲の確認をしましょう

self.declare_parameter('placenet_model_name', 'placenet.pt')
self.declare_parameter('topomap_dir_name', 'topomap')
self.declare_parameter('placenet_delta', 10.0)
self.declare_parameter('placenet_window_lower', -1)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

パラメータは適切?

self.pub_debug_image.publish(debug_msg)

with torch.no_grad():
with torch.inference_mode():
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu20.04の環境だと使用できない可能性があると思うので、調べておいた方が良いです

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/vectornav/gnssと/vectornav/poseでは座標系が違いますが、大丈夫ですかね
特に変更する理由も思い当たらなかったのですが、変更した理由は何なのでしょう?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GNSSで軌跡は取った方がいいって山下さんに言われてた気がしてて変えなくてもよかったですかね?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

うーん、どの文脈で言ったのか覚えていないのですが、多分データセットの品質を確認する術を用意したほうが良いという話で、データ収集の段階でどうにかするというより、収集したデータの可視化手段を用意したほうが良いという話ですね

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なるほど
そしたらデータの取りかたは元に戻そうと思います。

@Kasaiatsuki Kasaiatsuki force-pushed the feat/shannon_surprise branch from 09b08bf to 2422c78 Compare May 14, 2026 14:46
@Kasaiatsuki
Copy link
Copy Markdown
Author

コマンドが正しければシミュレータ上で正しく走行できるのかを検証してみました。
検証動画
結果は3回に一回くらいしか正しくカーブを曲がることができませんでした。
分岐路ではコマンドが正しければ割と走行できることを確認しました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants