scenario_runner icon indicating copy to clipboard operation
scenario_runner copied to clipboard

The behavior of the ScenarioObject depends on the selected model

Open Kron610 opened this issue 4 years ago • 0 comments

Description The behavior of the ScenarioObject depends on the selected model if run scenario_runner using OpenScenario. If you change line: <Pedestrian model="walker.pedestrian.0001" mass="90.0" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> to line <Pedestrian model="vehicle.bh.crossbike" mass="90.0" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">, then the pedestrian will start moving like a vehicle. For example, instead of crossing the road, he begins to move along it.

To Reproduce To see this bag you can simply change value of parameter model from "walker.pedestrian.0001" to "vehicle.bh.crossbike" and run scenario PedestrianCrossingFront.xosc in repository.

Expected behavior The behavior of the ScenarioObject doesn't change

Screenshots Screenshot from 2021-12-14 15-00-13 Screenshot from 2021-12-14 15-00-28 Screenshot from 2021-12-14 14-58-38 Screenshot from 2021-12-14 14-59-05

Desktop (please complete the following information):

  • OS: Ubuntu 16.04
  • CARLA Version 0.9.12
  • Python version 2.7
  • Version 0.9.12

Additional context It will be very helpful if cyclists can be used as pedestrians.

Kron610 avatar Dec 14 '21 12:12 Kron610