ros-perception / vision_opencv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

huangjiafengx opened this issue · comments

image

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

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

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.

Thank you, it is fine to solve.