Hello Jakob, I have a different problem this time, I hope you have time to take a look. Namely, I'm trying to run 2 predefined Sumo scenarios one after the other (scenario ids 10_0, and 20_0). They contain 10 and 20 Sumo controlled vehicles each, and I place my remotely controlled vehicle at a certain position in both to drive among them.The problem is the following:when I run scenario 10 and then scenario 20 after it, the behavior is different than when I run scenario 20 right away. here is a demonstration: Only scenario 20_0:_________________________________
Scenario ID: 20_0---------------------------------------- time-step: 0EGO lane pos and speed : 100.0 , 8.0x, y, angle, speed for EGO to execute: 101.530884567 5.19671627088 90.7360694615 8.10524126657HUMAN_19 lane position and speed : 121.0 10.0---------------------------------------- time-step: 1EGO lane pos and speed : 101.530884567 , 8.10524126657x, y, angle, speed for EGO to execute: 103.100752622 5.1765673393 91.6889555588 8.39699835768HUMAN_19 lane position and speed : 123.054754372 10.2737718593---------------------------------------- time-step: 2 ... First scenario 10_0 and then 20_0:__________________________________ Scenario ID: 20_0---------------------------------------- time-step: 0EGO lane pos and speed : 100.0 , 8.0x, y, angle, speed for EGO to execute: 101.530884567 5.19671627088 90.7360694615 8.10524126657HUMAN_19 lane position and speed : 121.0 10.0---------------------------------------- time-step: 1EGO lane pos and speed : 101.530884567 , 8.10524126657x, y, angle, speed for EGO to execute: 103.100752622 5.1765673393 91.6889555588 8.39699835768HUMAN_19 lane position and speed : 123.093816682 10.4690834098---------------------------------------- time-step: 2 … You can see that the behavior of HUMAN_19 is slightly different in time-step 1 event though EGO doesn’t change its remote control parameters. I have included a small example in the .zip folder attached (as the last time). If you run: python2.7 small_example/src/run_scenario.py, first scenario 10_0 then scenario 20_0 will be executed, one after another. If you comment in line 63 (#scenario_ids = ['20_0']) in run_example.py, only scenario 20_0 will be executed. After running the two options, you will be able to see the above output, where in time-step 1 ‘HUMAN_19’ behaves differently even though the environment is exactly the same. Do you have any clue why? Thanks! Best,Branka
<<attachment: small_example.zip>>
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
