ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
25k stars 9.67k forks source link

How to calibrate a car? #307

Closed codespjw closed 6 years ago

codespjw commented 7 years ago

Can anyone explain, why we need to calibrate the car and how to calibrate it?

Thanks.

lianglia-apollo commented 6 years ago

Please be more specific on what kind of calibration you are referring to. In general, we need to calibrate a car because every component (including those add-on devices for autonomous driving purpose) is made or positioned slightly different. For example, the GPS, lidar, camera, as well as control parameters need to be adjusted based on their ideal values according to real world conditions.

ubercool2 commented 6 years ago

I will make this question then specific. I am looking for a camera-2-lidar calibration. The calibration tool should:

  1. capture PointCloud2 from e.g. any of the velodyne sensors
  2. capture rgb Image message
  3. take in approximate 6DOF transform between lidar origin and camera optical frame
  4. output:
    1. camera intrinsics (plumb_bob distortion)
    2. exact 6DOF transform between lidar origin and camera optical frame

I am also looking for a lidar-2-lidar calibration for sensors that overlap at least 30% of points. The calibration tool should:

  1. capture PointCloud2 from at least 2 e.g. velodyne sensors
  2. take in approximate 6DOF transform between 2 lidar origins
  3. output:
    1. exact 6DOF transform between lidar origins

Do you have any such tools and if yes is there any documentation on how to use them?

jinghaomiao commented 6 years ago

Please follow the document: https://github.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_2_0_sensor_calibration_guide.md

ubercool2 commented 6 years ago

@jinghaomiao does above described process also work for VLP16 or VLP16HighRes?

jinghaomiao commented 6 years ago

@weidezhang can you please help?

natashadsouza commented 6 years ago

@ubercool2 there has been additional documentation written on the VLP16 series. Please refer to the Specs section of our documentation. Please let me know if you still need support on your request. Feel free to re-open the issue.