Hi Sumo,
I am trying to interface an external 3D rendering application to SUMO and
extract traffic light information, using the C++ TraCI API.

In order for an end user to configure a connection between a SUMO light
state and a light object in our 3D scene it would be useful to obtain at
initialisation the list of internal connections for each traffic light
controlled junction.

E.g. The intLanes property of the junction from the net file.

I have tried using getControlledLanes and this returns the list of
incLanes, which I think are the external approach lanes to the junction.

I tried (as a guess) using getControlledLinks, but this fails inside
checkReadSafe.

Some my question is will getControlledLinks return the list of strings from
the incLanes property?
If NO, is there any other API call which would?
If YES, then any idea why it might not be working?

Kind regards,
Erik


-- 
Erik Newton
Model Integration Engineer
rFpro

e: erik.new...@rfpro.com
w: http://www.rfpro.com

This e-mail and any files transmitted with it are private and confidential.
If you have received this email in error please notify the sender
immediately and delete this e-mail from your system. The recipient should
check this email and any attachments for the presence of viruses. rFactor
Pro accepts no liability for any damage caused by any virus transmitted by
this email. rFactor Pro is the trading name of Kangaloosh Limited,
registered in England No. 06427019.
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to