Yes. The client needs to be fixed to support the extended API:
https://github.com/eclipse/sumo/issues/7161

Am So., 14. Juni 2020 um 16:53 Uhr schrieb marcelreppi <
[email protected]>:

> Hello,
>
> when I try to add a polygon that has more than 255 points for its shape
> TraCI quits with the following error message:
>
> File
>
> "C:\Users\Mazel\Documents\University\Masterarbeit\master-thesis-code\sumo\traci\zone_controller.py",
> line 79, in add_polygon
>     traci.polygon.add(pid, shape, color, fill=True, layer=layer)
>   File "C:\Users\Mazel\Desktop\sumo-git\tools\traci\_polygon.py", line 133,
> in add
>     self._connection._string += struct.pack("!BB",
> struct.error: ubyte format requires 0 <= number <= 255
>
> When I add the same polygon manually in the GUI there is no problem.
>
> I have built a workaround but is this fixable?
>
> Thanks!
>
> Best regards
> Marcel
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to