[api] Accept SUMO and OpenDRIVE assets with an uploaded config
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start at the POST /v1/run handler and trace how it saves the YAML config, selects the shared SUMO assets directory, and invokes OpenCDA and the SUMO adapter. Check where the adapter receives -x and how task cleanup runs. Done means an uploaded archive's SUMO files and optional .xodr map are available under a task-specific name, the map is passed through, and the directory is removed when the task finishes.
索引モデルが issue の本文から書いたものです。
説明
Problem or motivation
POST /v1/run accepts only a YAML config. Its file name selects SUMO assets that must already exist in the shared assets directory (opencda/sumo-assets/<name>/ in the OpenCDA container, /home/sumo/assets/<name>/ for the SUMO adapter). The .xodr map used with -x is looked up in the same place, and -x cannot be passed through the API at all.
Scenario Manager generates the SUMO network, routes and, for custom maps, an .xodr file for each scenario. There is no way to deliver them to the node, so these scenarios cannot be run through the API. Placing inputs on the node in advance does not work for scenarios created at run time.
Proposed solution
- Accept an optional archive with scenario assets in
POST /v1/runnext toconfig: the.sumocfgwith its network and route files, and optionally an.xodrmap. - Unpack it into the shared assets directory under a task-specific name and save the config under the same name, so OpenCDA and the SUMO adapter find the files.
- Pass
-xwhen the archive contains an.xodr. - Remove the directory when the task finishes.
Area
Scenario management
- 主要言語
- Python
- スター
- 11
- フォーク
- 11
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CAVISE/OpenCDA のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 47/100
メンテナーはふだん 1 日以内に返信
-
[attacks_research] Research additional service-level attacks for AttackFramework対応中かも @Austin610 が 16 日前に担当しました。 オープンenhancement
CAVISE/OpenCDA#218 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
-
frontend testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
vendrabuck/HERD#1588 ·
メンテナーはふだん 1 日以内に返信
-
Lessons: record the second case of L14 (security updates cover only pip)対応中かも @vishwanathj が今日担当しました。 オープンarea/docs no-test-needed type/docs
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
vishwanathj/ocp_lab.ai#39 · コメント 1 件 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
laaielichter/Gulliver#228 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
nyjc-computing/campus#1338 ·
メンテナーはふだん 1 日以内に返信