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

Visual SLAM instead of odometry in Gmapping

asked 2019-04-16 06:31:05 -0500

shubhamv gravatar image

Gmapping of ROS Navigation uses /odom data for mapping and performing navigation. I wish to replace the /odom data by a visual SLAM. What are the changes I need to make.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-16 15:12:43 -0500

updated 2019-04-16 15:13:12 -0500

No changes, you just need to have your visual slam output be of the right type on the /odom topic. There's not anything special about wheel encoder odometry. With that said your odometry will jump on loop closures for a VSLAM, so I might recommend instead using just visual odometry without loop closure.

edit: _especially_ because gmapping is a filter based slam implementation

edit flag offensive delete link more

Comments

Turtlebot publishes the /odom data. How to silence it down and publish using my visual slam odom on it?

shubhamv gravatar image shubhamv  ( 2019-04-16 22:44:58 -0500 )edit
1

You can remap the turtlebot /odom. Though gmapping doesn't use the /odom topic if I remember correctly. Only the TF updates.

stevemacenski gravatar image stevemacenski  ( 2019-04-16 23:02:43 -0500 )edit

Thanks again. Remap is exactly what I want. Where to put this attribute? I mean in which launch file?

shubhamv gravatar image shubhamv  ( 2019-04-16 23:08:03 -0500 )edit
1

I can't tell without knowing more about your setup. But whatever launch file you're using to launch your turtlebot node, just use the remap tag to remap the topics! Should just work out of the box :-)

stevemacenski gravatar image stevemacenski  ( 2019-04-16 23:12:58 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-04-16 06:31:05 -0500

Seen: 696 times

Last updated: Apr 16 '19