Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] invalid z-Position after moveToXY call with sublane model

Dear all,

 

I am trying to use the moveToXY vehicle command with the sublane model (activated by –lateral-resolution in the config file).

 

The moveToXY command perfectly works for the x and y coordinates. Since we are using opendrive data with optional z-coordinates, it is necessary to obtain valid mapped z-positions. However, whenever we call moveToXY followed by one simulationStep, the subscribed positioning of the vehicle shows invalid z-Position=0. Moreover subscription around the moved vehicle based on the radius does not work due to the different z-positions of moved and non-moved vehicles. Before calling moveToXY, the z position seems to be valid. Moreover, without the sublane model, also z positions are correct all the time.

 

Do you have any experience on how to use moveToXY in combination with the sublane model to obtain valid mapped z-positions?

 

 

Best regards,

Benedikt Schott


Back to the top