ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

autoware Vectormap traffic light and stop line

asked 2020-10-01 12:20:04 -0500

ichthus_han gravatar image

hello, i'm using openplanner 2.0.

i want to using traffic light state in op_local_planner, it required vector map information.

in CalculateImportantParameterForDecisionMaking,

traffic light state is on when == trafficLightID. (it means traffic light information is matching stopline in vector map) is id in singaldata.csv trafficLightID is id in stopline's TLID in stopline.csv

and it is not same in moriyama vector map.

what's the problem? moriyama vectormap doesn't offer the traffic light state?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-10-03 13:47:42 -0500

Hatem gravatar image

OpenPlanner connects traffic light and lanes and stop line while loading the map.

Check ConstructRoadNetworkFromROSMessage in VectorMapLoader. Two functions are called to achieve this: LinkTrafficLightsAndStopLinesV2 and ConnectTrafficLightsAndStopLines.

To complete my answer, the lights are connected. but you need to send traffic light signal to be able to test this feature.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-10-01 12:20:04 -0500

Seen: 416 times

Last updated: Oct 03 '20