RI-SE / ATOS

ROS2 based platform for coordinating tests of automated vehicles and their surrounding systems.
Mozilla Public License 2.0
16 stars 4 forks source link

Check for if scenario engine should quit #609

Closed samuelthoren closed 1 year ago

samuelthoren commented 1 year ago

This fixes some of the issues where we get a simulation time of 3600.1 seconds. This works for when you set a stop trigger on the time in a scenario. I haven't tried on any other type of stop trigger yet, so I don't know if it works on them too.

victorjarlow commented 1 year ago

This fixes some of the issues where we get a simulation time of 3600.1 seconds. This works for when you set a stop trigger on the time in a scenario. I haven't tried on any other type of stop trigger yet, so I don't know if it works on them too.

I think that we should document somewhere how we expect openScenario files to look in order for us to support them (i.e. needs to have a stop-trigger etc)

samuelthoren commented 1 year ago

This fixes some of the issues where we get a simulation time of 3600.1 seconds. This works for when you set a stop trigger on the time in a scenario. I haven't tried on any other type of stop trigger yet, so I don't know if it works on them too.

I think that we should document somewhere how we expect openScenario files to look in order for us to support them (i.e. needs to have a stop-trigger etc)

Yes, that's a good idea. I'll make a ticket about this.