mapless navigation#210
Open
kyo0221 wants to merge 13 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vectormap_navigationで開発したplannerやmotion_control等のモジュールをベースに,ルールベースで走行するシステムを開発する
システム構成
YOLOPv2 による道路認識
白線マスク画像と走行可能領域を出力
Inverse Perspective Mapping (IPM)
スクリーン座標系からbase_linkへの変換
カメラ内部パラメータ(CameraInfo)と外部パラメータ(TF2: camera_link→base_link)を使用
車線境界抽出
行スキャン方式:画像の各行に対し
左半面の最右 lane pixel → 左境界
右半面の最左 lane pixel → 右境界
フィルタ: min_ground_x_m〜max_ground_x_m の範囲のみ採用
出力: RoadSegments(linestrings[0] = 左境界, linestrings[1] = 右境界、base_link 座標系)
プラグイン化した lane_planner
LanePlannerPluginでvectormapとmaplessを切替(lane_planner_mode パラメータ)
MaplessLanePlannerPlugin: 左右境界の中点をセンターラインとして計算 → base_link→map 座標変換 → nav_msgs/Path として publish