Error in duration constraint in example for traffic lights
Document version of this comment
Branch: v2.1.0-RC5
Description:
There is an error in example 5.
cycle1_phase1: traffic_light_phase with: keep(it.group.map_id == 42 and it.bulbs_state == [is_on, is_off, is_off] and it.duration == 19)
Duration is of type time, so the value must be of the same type.
Suggestion:
Change it.duration == 19
to it.duration == 19s
.