How to load a map(.png) to ros and make an occupancy grid?
I have to upload this map on roscpp and make an occupancy grid. I can use opencv as well.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I have to upload this map on roscpp and make an occupancy grid. I can use opencv as well.
Create a .yaml file using text edit in the format
image: map.png
resolution: 0.1
origin: [0.0, 0.0, 0.0]
occupied_thresh: 0.65
free_thresh: 0.196
negate: 0
Then, run roscore on a new terminal and then run
rosrun map_server map_server map.yaml
Asked: 2019-11-06 03:29:32 -0500
Seen: 2,064 times
Last updated: Nov 06 '19
How to source setup.bash in ROS Window10
Why I can't launch robot in RViz after following a tutorial? Cant find launch file
Jetson Nano comes with OpenCV 4.1.1., do I need to downgrade to 3.2. for melodic?
Missing QtSvg module depended upon by rqt_graph
control stepper motors ros cnc shield arduino
Occupancy grid map being only partially loaded
Error importing sensor_msgs/JointState
You can use map_server.