rapid-router
rapid-router copied to clipboard
Fix generated Python syntax
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
whileloops should not put the condition in parentheses