problem with gmappingr

40 views
Skip to first unread message

Hossein Jahangirian

unread,
Mar 19, 2014, 2:32:21 PM3/19/14
to ros-by-...@googlegroups.com

Hi,

i'm using kinect laser data with gmapping package to create map but when i give fake odom data to it for example x+=1 each i sec and set odom frame to odom and child frame to "camera_depth_frame" and in gmapping set the frames like this: if(!private_nh_.getParam("base_frame", base_frame_)) base_frame_ = "camera_depth_frame"; if(!private_nh_.getParam("map_frame", map_frame_)) map_frame_ = "camera_depth_frame"; if(!private_nh_.getParam("odom_frame");

when i want to create map the map will turn around.

can any one helps?!

Patrick Goebel

unread,
Mar 21, 2014, 11:49:13 AM3/21/14
to ros-by-...@googlegroups.com
Hi Hossein,

I'm not sure exactly what you are trying to do.  When you say you are giving fake odometry data, does this mean that your Kinect is not attached to a robot?

--patrick
--
You received this message because you are subscribed to the Google Groups "ros-by-example" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-by-exampl...@googlegroups.com.
Visit this group at http://groups.google.com/group/ros-by-example.
For more options, visit https://groups.google.com/d/optout.

Hossein Jahangirian

unread,
Mar 21, 2014, 1:07:03 PM3/21/14
to ros-by-...@googlegroups.com

yes.

Hossein Jahangirian

unread,
Mar 21, 2014, 1:28:15 PM3/21/14
to ros-by-...@googlegroups.com
Is there any problem with frames?!

On 3/21/14, Hossein Jahangirian <jahang...@gmail.com> wrote:
>
> yes.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "ros-by-example" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ros-by-example/72Z5J4FgGVU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

Patrick Goebel

unread,
Mar 21, 2014, 4:51:31 PM3/21/14
to ros-by-...@googlegroups.com
Hi Hossein,

I wish I had time to help, but I need to keep focused to the situations
described in the book. Especially if I am ever going to finish Volume
2. May I suggest posting your question to:

http://answers.ros.org/questions

You will reach far more readers than are on this list.

Good luck!
patrick
Reply all
Reply to author
Forward
0 new messages