[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] CodingConnected.Traci example
|
Hello,
the documentation of CodingConnected.TraCI.NET is indeed limited. The
README.md only provides a very minimal example of how to get started.
The library assumes a working knowledge of TraCI, and generally reflects
the design of TraCI. You can easily browse the sources of the lib to
find out how it is constructed, and how to invoke various TraCI
commands. Also, Intellisense in Visual Studio can be very helpful, as it
exposes the members and methods the TraCIClient class.
For example, to interact with traffic lights, after the client has been
initialized and connected, use:
client.TrafficLightCommands.SetPhase("TLID", 1);
I will try finding some time to expand a little on usage of the lib in
the README, however, that might take a while.
API coverage is pretty large, so with looking at the sources and some
tinkering it should be possible to use TraCI as needed.
Kind regards,
Menno van der Woude
CodingConnected e.U.
On 15-10-2018 08:41, Jakob Erdmann wrote:
I recommend that you contact the developers of
https://github.com/CodingConnected/CodingConnected.Traci
directly in case they are not reading this mailing list regularly.
Am So., 14. Okt. 2018 um 10:41 Uhr schrieb iCashWave
<icashwave@xxxxxxxxx <mailto:icashwave@xxxxxxxxx>>:
I am learning Traci API.
I am not familiar with python language.
Therefore, I use CodingConnected.TraCI.NET
<http://CodingConnected.TraCI.NET> for C#..
While I read the readme file in GitHub, it does not teach how to use
it in detail.
Can someone share me a simple C# example like changing the signal
phase while clicking a button?
Best regards.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user