ros-perception / vision_opencv

Apache License 2.0
536 stars 599 forks source link

Error: ‘EQUIDISTANT’ is not a member of ‘sensor_msgs::distortion_models’. #502

Closed huangjiafengx closed 1 year ago

huangjiafengx commented 1 year ago

image

Hi, when I build the source code by colcon, it show Error: ‘EQUIDISTANT’ is not a member of ‘sensor_msgs::distortion_models’.

huangjiafengx commented 1 year ago

The Env: ubuntu20.04 (docker) ros2-foxy openvino2022 source branch foxy

ijnek commented 1 year ago

What do you get when you run ros2 pkg xml sensor_msgs | grep version? If you have the most recent sensor_msgs package on foxy, you should get

<version>2.0.5</version>

If you see something older than that, you should upgrade the ros packages via apt-get upgrade.

huangjiafengx commented 1 year ago

Thank you, it is fine to solve.