ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Is there a way to transfer jpg pictures into occupied grid map?

asked 2018-06-08 08:06:40 -0600

jlyw1017 gravatar image

updated 2018-06-08 08:09:44 -0600

hey

I am new to ros and not familiar with this part

What I am doing is using inverse perspective mapping, to map the car view traffic line into a bird view jpg Image.

or I should say that I now have god view traffic line.

And I want to turn this into map which can be used.

Is there a way to do that?

Thank you!!

edit retag flag offensive close merge delete

Comments

Maybe you can check around heightmap algorithm, does it look like what you want to do ?

lmathieu gravatar image lmathieu  ( 2018-06-08 08:25:20 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-02-20 10:33:09 -0600

man-do gravatar image

You can use the costmap_2d layered architecture. The costmap gets built by multiple layers, you can add a new one. In this new layer after you do IPM on the image you place the traffic line in the using cost values that show how occupied is each individual layer cell. This way even the built in navigation stack can do path planning on top of the new layer.costmap_2d wiki

edit flag offensive delete link more
0

answered 2020-04-15 23:14:37 -0600

Yesika Rodriguez gravatar image

You can use map_server and add your image URL in the file yaml, if this don't do , first try apply binary for the image.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2018-06-08 08:06:40 -0600

Seen: 249 times

Last updated: Apr 15 '20