rapid-router icon indicating copy to clipboard operation
rapid-router copied to clipboard

Fix generated Python syntax

Open evemartin opened this issue 1 year ago • 0 comments

Some of the generated Python commands need to be changed to be more consistent. This task is to make the following changes:

  • [ ] instead of .is_road("FORWARD"), the generated Python should be .is_road_forward() - similarly for the other directions
  • [ ] instead of .is_traffic_light("RED"), the generated Python should be .is_red_traffic_light() - similarly for green
  • [ ] generated while loops should not put the condition in parentheses

evemartin avatar Aug 14 '24 17:08 evemartin