I want to be able to read the x and y coordinates of the car and the road/path in order to calculate the cross track error and the heading error. I already know that the x and y coordinates of the car can be measured with the help of inertial sensors, but I don’t know how to get the x and y coordinates of the path/road. So does anyone know if it is possible to use some sensors in IPG CarMaker to get these two values, or there are already some UAQs (which can be read with IPG Control) for these two values?
Also, if not possible, I have tried to use road sensors to detect heading error and cross track error, but I am also facing an error.
ERROR Embedded FARoadSensor Geo: xyz (nan nan nan) not found on Road
Does anyone know what this error means, why this error occurs and how I can solve this problem?
I will be grateful for any help you can provide.