Detecting colored tapes/lines

asked 2017-11-22 14:49:50 -0600

matislovas gravatar image

updated 2017-11-22 14:50:07 -0600

Hi,

I am kind of stuck in situation in how to detect walls (boundaries) which are in my map, but in real world it is like yellow police lines.

Example: image description )

I think I can detect them with using OpenCV, but how robot can localize using them? Basically my goal is that these lines represent boundaries of map, and robot mus navigate between them.

Sorry for dumb question, newbie in whole ROS + CV thing.

edit retag flag offensive close merge delete

Comments

Is your question more about how to implement the OpenCV part, or how to integrate the resulting information with your navigation setup?

gvdhoorn gravatar image gvdhoorn  ( 2017-11-23 01:52:48 -0600 )edit

My question is more about, how to integrate the resulting info into the setup.

matislovas gravatar image matislovas  ( 2017-11-25 01:30:13 -0600 )edit

Not a navigation expert, but perhaps you can add them as obstacles (occupied cells) to a costmap layer plugin. The standard planners should then take that into account.

gvdhoorn gravatar image gvdhoorn  ( 2017-11-26 05:30:11 -0600 )edit