-
Notifications
You must be signed in to change notification settings - Fork 60
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
NPCs should be able to get max speed parameter from scenario yaml file #775
Comments
Setting |
I've also confirmed this. It seems there is something wrong with treating
In this scenario, intial speed is set 0, and target speed is set to 2.8m/s (10km/h) so it should gradually speed up to 10km/h, but never starts moving when running the scenario. (video link) |
@mehmetdogru Is it possible to set a maximum speed for NPCs? |
Thank you for the reminder. Well, it is kind of possible by setting Meaning, as in the example case below, Npc1 will spawn at a speed As a conclusion, in reality we do not have initial or max speed but only a target speed (or speed). So IMO there are 2 ways to eliminate this confusion: Option 1)
Option 2)
I would prefer the Option 1 🙇 |
Checking the OpenSCENARIO notation, the initial speed of NPC1 is spawned at 1.0 m/s because SpeedAction is executed with |
This issue is a part of autowarefoundation/autoware.universe#566
Description
NPCs currently take max speed from related lanelet2_map's speed limit instead of scenario yaml file. And when there is multiple scenarios using the same lanelet2_map with different NPC speed configurations which also include NPCs moving lower speeds than lanelet2_map's speed limit, the feature proposed here is becoming a necessity.
Describe the solution you'd like
NPC vehicles should be able to take the argument for maximum speed that the can move from yaml file and if it is lower than embedded speed limit on the lanelet2_map, the parameter from yaml file must be accepted as max speed.
max_NPC_speed = min(
embedded_speed_limit_on_lanelet2
,max_speed_from_yaml_file
)The text was updated successfully, but these errors were encountered: