[api] Accept SUMO and OpenDRIVE assets with an uploaded config
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 11
- Fork
- 11
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CAVISE/OpenCDA
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 47/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[attacks_research] Research additional service-level attacks for AttackFrameworkCó thể đã có người làm @Austin610 đã nhận 16 ngày trước. Đang mởenhancement
CAVISE/OpenCDA#218 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CAVISE/OpenCDA
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
-
frontend testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
vendrabuck/HERD#1588 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Lessons: record the second case of L14 (security updates cover only pip)Có thể đã có người làm @vishwanathj đã nhận hôm nay. Đang mởarea/docs no-test-needed type/docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
vishwanathj/ocp_lab.ai#39 · 1 bình luận ·
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
laaielichter/Gulliver#228 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
nyjc-computing/campus#1338 ·
Maintainer thường phản hồi trong vòng 1 ngày