I am trying to use the camera on https://robotbenchmark.net/ for the Highway Driving, but I have some difficulties understanding the manual of the camera and object recognition. I have been able to recognize some objects as seen below with camera.getRecognitionObjects() but I can't understand how can I get the id and distance or position of a specific object. What I am trying to accomplice is to recognize the lines of the road so i can align the car to the road. Thanks in advance.
[highway_driving] 3
[highway_driving] [<controller.CameraRecognitionObject; proxy of <Swig Object of type 'webots::CameraRecognitionObject
*' at 0x7fb72c2233c0> >, <controller.CameraRecognitionObject;
proxy of <Swig Object of type 'webots::CameraRecognitionObject *' at 0x7fb72c2233f0> >,
<controller.CameraRecognitionObject; proxy of <Swig Object of type 'webots::CameraRecognitionObject *' at 0x7fb72c223420> >]