cv::Point2d as a ROS Message

asked 2017-02-19 17:10:49 -0600

matt27110 gravatar image

Hello everyone !

I would like to send a cv::Point2d as a ROS message. Is it possible ? I'm not sure whether it is or not.

Otherwise I can send a custom ROS message using 2 variables (int point.x and int point.y).

Thank you for your help !

edit retag flag offensive close merge delete

Comments

I don't know about cv::Point2d, but whatever you do, I wouldn't use a custom msg. Would geometry_msgs/Point not work?

gvdhoorn gravatar image gvdhoorn  ( 2017-02-20 02:53:57 -0600 )edit

Not yet tested with geometry_msgs

matt27110 gravatar image matt27110  ( 2017-02-20 05:48:57 -0600 )edit

I've just tested it and it works !! Thank you !

matt27110 gravatar image matt27110  ( 2017-02-20 06:04:25 -0600 )edit