Hello,
I’m currently using TraaS to interface with SUMO. I am attempting to reroute a
vehicle and hope to make it change path by setting an effort to an edge (I
believe this is the equivalent of setting a ‘weight’ to that edge), this effort
is calculated from the congestion + other metrics.
1. When setting an edge using ‘conn.do_job_set(Edge.setEffort("edge1", 1.5))’
I receive the errors “Unexpected command and status IDs match: expected 202,
got 196” given by Traci (TraaS), and “Error: Answered with error to command
0xc4: Setting effort requires a compound object.” given by the SUMO client.
Is there anything more to this? Is the syntax wrong?
2. When setting an effort for a vehicle Vehicle.setEffort(), is this simply an
effort given to an edge for a period of time exclusive to this vehicle?
Many thanks,
Jonathan
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user