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

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 detectedLights.at(i).id == trafficLightID. (it means traffic light information is matching stopline in vector map)

detectedLights.at(i).id 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
1

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

Stats

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

Seen: 407 times

Last updated: Oct 03 '20