You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Road names can be abbreviated in many different ways - ie "North Grant Street" can be written as "N Grant Street", "North Grant St", or "N Grant St", all which are valid. LIMO currently does not support this, and the street names must be typed as they appear in the database verbatim, even when they appear differently on the visual map. This leads to cryptic db query failures. Commuters in the West Lafayette area seem to tolerate these errors to some degree, however the Indy area does not
Either the SQL queries or the surrounding python code needs to be modified to allow more flexible road names in our method calls.
In example program 2, changing Russell St to Russell Street shows this issue. See code below:
# Program 2: Sequential
# This program moves a Commuter from one location to another showing the route traveled.
address = read_address("1156 Hillcrest Rd", "West Lafayette", "IN", "47906")
display_marker(address)
start_at("com1", address,"EAST")
move_until("com1", "N Grant St")
turn_to("com1", "N Grant St", "right")
move_distance("com1", 0.6)
turn_to("com1", "W Stadium Ave", "right")
# move_until("com1", "Russell St")
move_until("com1", "Russell Street")
# turn_to("com1", "Russell St", "left")
turn_to("com1", "Russell Street", "left")
move_distance("com1", 0.3)
turn_to("com1", "3rd St", "left")
move_to_next_intersection("com1")
last_location = get_current_point("com1")
display_marker(last_location)
show_on_map("com1")
The text was updated successfully, but these errors were encountered:
Road names can be abbreviated in many different ways - ie "North Grant Street" can be written as "N Grant Street", "North Grant St", or "N Grant St", all which are valid. LIMO currently does not support this, and the street names must be typed as they appear in the database verbatim, even when they appear differently on the visual map. This leads to cryptic db query failures. Commuters in the West Lafayette area seem to tolerate these errors to some degree, however the Indy area does not
Either the SQL queries or the surrounding python code needs to be modified to allow more flexible road names in our method calls.
In example program 2, changing
Russell St
toRussell Street
shows this issue. See code below:The text was updated successfully, but these errors were encountered: