Cone's global position

Hello,

I was working on fs_autonomous and to validate our algorithm I need to have the global co-ordinates of the cones, but from what I understood, the position of the cones are defined with respect to the defined route rather than position in a global frame.
Is there a way possible through which I can get the position of the cones in the global frame?

Thank you

Hello,

The cones in the simulation are actually traffic objects that are stationary. The following values can get the global XYZ and rotation angles of a traffic object:

Traffic.<traffic_object_name>.tx
Traffic.<traffic_object_name>.ty
Traffic.<traffic_object_name>.tz
Traffic.<traffic_object_name>.rx
Traffic.<traffic_object_name>.ry
Traffic.<traffic_object_name>.rz

You have to know which cone you are interested in. Their names should be available through the traffic tab in the CarMaker main window and then the Parameters menu.