Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Ineffective start_time in Mission #1898

Closed
qianyi-sun opened this issue Mar 8, 2023 · 0 comments · Fixed by #1899
Closed

[Bug Report] Ineffective start_time in Mission #1898

qianyi-sun opened this issue Mar 8, 2023 · 0 comments · Fixed by #1899
Assignees
Labels
bug Something isn't working

Comments

@qianyi-sun
Copy link
Contributor

qianyi-sun commented Mar 8, 2023

High Level Description

When creating a mission in scenario.py like the following, the start_time=10 seems ineffective. No matter what value it is, this mission always start at the first step of simulation. Please find attachment for the scenario.
social_lead_traffic.zip

leader_mission = [
    Mission(
        route=Route(
            begin=("E0", 1, 13),
            end=("E0", 0, "max"),
        ),
        via=(
            Via(
                "E0",
                lane_offset=100,
                lane_index=0,
                required_speed=15,
            ),
            Via(
                "E0",
                lane_offset=200,
                lane_index=1,
                required_speed=20,
            ),
            Via(
                "E0",
                lane_offset=250,
                lane_index=0,
                required_speed=7,
            ),
        ),
        start_time=10,
    ),
]

Version

Up to date to the latest master branch

Steps to reproduce the bug

git checkout pat/following_scenarios &&
scl scenario build --clean <scenario_path> &&
scl run --envision <any_example> <scenario_path>

System info

No response

Error logs and screenshots

No response

Impact (If known)

No response

@qianyi-sun qianyi-sun added the bug Something isn't working label Mar 8, 2023
@Gamenot Gamenot linked a pull request Mar 13, 2023 that will close this issue
@Gamenot Gamenot closed this as completed Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants