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

unable to create map using gmapping( ros melodic on jetson nano)

asked 2020-09-15 12:06:09 -0500

Gourav gravatar image

updated 2020-09-15 16:17:06 -0500

hello… can someone tell me where I am going wrong in the steps to build a map using slam_gmapping node with my custom robot. first I launched the mapping node, roslaunch teb_navigation gmapping.launch second the odom publisher, then I start my depth camera node and convert it into scan topic, using depthimage_to_laserscan. until now the tf tree is map->odom->base_link, then I connect base_link and camera_link with static transform publisher, map->odom->base_link->camera_link

But rviz says No map data received. and in mapping section warning occurs: [ WARN] [1600177651.812953277]: MessageFilter [target=odom ]: Dropped 100.00% of messages so far. Please turn the [ros.gmapping.message_filter] rosconsole logger to DEBUG for more information. laser_can error: For frame [camera_depth_frame]: No transform to fixed frame [map]. TF error: [Lookup would require extrapolation into the future. Requested time 1600178238.564073086 but the latest data is at time 1600178052.389433443, when looking up transform from frame [camera_depth_frame] to frame [map]]

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-09-25 05:05:38 -0500

Gourav gravatar image

Was a silly mistake, forgot to change the scan topic in slam_gmapping.launch file.(from scan to depth_scan)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-09-15 12:06:09 -0500

Seen: 313 times

Last updated: Sep 25 '20