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
The following is the meaning of this log:
The vehicle "flow_1371_0" start road is edge301 and end road is edge73 .And this vehicle is on the edge 301, I also get the same result from the engine.
I want this car to drive in sections, so for the first section I give its route is ['edge301', 'edge341', 'edge316', 'edge274', 'edge285', 'edge282', 'edge246'], I use the function eng.set_vehicle_route('flow_1371_0',['edge301', 'edge341', 'edge316', 'edge274', 'edge285', 'edge282', 'edge246']). And I'm sure the route is connected. But I got false from this function.
The text was updated successfully, but these errors were encountered:
Let me correct it. I was used the last n-1 element of the list. eng.set_vehicle_route('flow_1371_0',['edge341', 'edge316', 'edge274', 'edge285', 'edge282', 'edge246'])
what 's the rule for this function? for example(This is a log I printed out.):
vehicle_id:flow_1371_0, current_road:edge301, eng_current_road:edge301, new_route:['edge301', 'edge341', 'edge316', 'edge274', 'edge285', 'edge282', 'edge246'], end_road edge73
The following is the meaning of this log:
The vehicle "flow_1371_0" start road is edge301 and end road is edge73 .And this vehicle is on the edge 301, I also get the same result from the engine.
I want this car to drive in sections, so for the first section I give its route is ['edge301', 'edge341', 'edge316', 'edge274', 'edge285', 'edge282', 'edge246'], I use the function
eng.set_vehicle_route('flow_1371_0',['edge301', 'edge341', 'edge316', 'edge274', 'edge285', 'edge282', 'edge246'])
. And I'm sure the route is connected. But I got false from this function.The text was updated successfully, but these errors were encountered: