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

gmapping parameters

asked 2014-08-13 07:53:50 -0600

alex920a gravatar image

Hello everybody! I would like to create a map with gmapping with 10x10 cells dimension and that every cells are bigger than my robot. Is it possibile? which parameters of gmapping do I have to modify?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-08-13 07:56:38 -0600

dornhege gravatar image

Theoretically those:

~xmin (float, default: -100.0)
Initial map size
~ymin (float, default: -100.0)
Initial map size
~xmax (float, default: 100.0)
Initial map size
~ymax (float, default: 100.0)
Initial map size
~delta (float, default: 0.05)
Processing parameters (resolution of the map)

However, 10x10 is a VERY small map with a VERY rough solution. This sounds really odd. Especially with a resolution of let's say 0.5m (guessed robot size) you will get localization accuarcy at best in this magnitude which is not preferable.

edit flag offensive delete link more

Comments

ok thanks! I will try:)

alex920a gravatar image alex920a  ( 2014-08-13 08:07:21 -0600 )edit

with those parametrs I have a very BIG map! Are you sure abot xmin,ymin,xmax,ymax?

alex920a gravatar image alex920a  ( 2014-08-13 08:17:45 -0600 )edit

You need to set them differently of course. These are just the defaults.

dornhege gravatar image dornhege  ( 2014-08-13 08:28:47 -0600 )edit

ok so I I want 10x10 cell I have to modify this way?:

xmax=10; ymax=10; xmin=-10 ymin=10;

alex920a gravatar image alex920a  ( 2014-08-13 08:54:26 -0600 )edit

That depends how large the cells are. The min/max values are in meters.

dornhege gravatar image dornhege  ( 2014-08-13 09:10:16 -0600 )edit

my robot is 1m big. I want to have my robot smaller than the cells

alex920a gravatar image alex920a  ( 2014-08-13 09:23:13 -0600 )edit

The cell size is called delta here.

dornhege gravatar image dornhege  ( 2014-08-13 09:24:54 -0600 )edit

is it delta in meters?

alex920a gravatar image alex920a  ( 2014-08-14 08:01:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-08-13 07:53:50 -0600

Seen: 1,056 times

Last updated: Aug 13 '14