How to change draw_params

Dear all,

I tried to change the color and marker size of drawing a trajectory, like this:

draw_params = {'scenario': {'dynamic_obstacle': {'trajectory':
            {'facecolor': '#008000',
             'marker_size': 1.13,
             'z_order': 24}
             }}}
draw_object(waypoint_traj, draw_params=draw_params)

But it does not change anything.
Do you have any clues?

BR
Kailin

Hello Kailin,
which commonroad-io version did you use? For trajectories you can only specify the 'line_width" instead of the marker size. Also the ‘facecolor’ parameter seems to work in your example. #008000 is almost black, maybe that’s why you didn’t spot a difference.

Thanks your reply,

I am using the latest commonraod.io release several days ago

Is your issue solved then?

No,

I put the question here: