Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Code written for v0.2 not working for v1

Jakob, thanks!


On Fri, Nov 9, 2018 at 1:32 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
We have not tested client languages besides python and java but other languages should work also. There yet is no documentation for this.
An important limitation of libsumo is the missing gui support (http://sumo.dlr.de/wiki/Libsumo#Limitations). Hence, the current approach is to develop your script with one of the existing clients (for visual simulation debugging) and then switch to libsumo for the increase in speed.

regards,
Jakob

Am Do., 8. Nov. 2018 um 23:37 Uhr schrieb Jane Cheung <cheung180515@xxxxxxxxx>:
Jakob, does it mean if we use another language to make one program based on some, we could do the process like 
 language we use >  SWIG >   libsumo—>SUMO?
If it was correct, are there some documents that could help to do that?

Best regards!

Jane

On Thu, Nov 8, 2018 at 2:26 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Hello,
The protocol has been changed to remove limitations and inconsistencies in regard to representation of time values. This cannot be switched of. The latest version that could work with your code is 0.32.0
However, the recommended solution is to updated the code and use an updated TraCI client library. If you wrote your own client because there was no support for your programming language back in the day, you can now switch to libsumo which supports pretty much all languages via SWIG (https://en.wikipedia.org/wiki/SWIG).
What language does your legacy code use?

regards,
Jakob

Am Do., 8. Nov. 2018 um 20:50 Uhr schrieb Jakub Filip Stawik <218715@xxxxxxxxxxxxxxxxxx>:
Hello everyone
I have a piece of legacy code that communicates with sumo via TraCI
the thing is it's been created for sumo version 0.2 and when I try to run it under 1.0 I get an error along the lines of "8 bytes expected, got 4".
It works just fine for version 0.2.

Is there a possibility to run newest version in some kind of backwards compatible mode or am I doomed to use the old version?

Regards
Jakub Stawik
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top