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

How can you use SLAM to get x/y position at any given moment?

asked 2021-03-02 12:06:20 -0500

mars_rover gravatar image

How can you use SLAM to get x/y position at any given moment?

edit retag flag offensive close merge delete

Comments

Could you be more specific? What robot are you working with? What sensors do you have available?

Akhil Kurup gravatar image Akhil Kurup  ( 2021-03-02 14:28:32 -0500 )edit

I have the Leo Rover.

No sensors.

mars_rover gravatar image mars_rover  ( 2021-03-02 14:54:38 -0500 )edit

Well, you will need some sensors to give you some location update. Maybe wheel encoders or IMU's. Maybe a camera for visual information. There are several ros packages that will let you perform SLAM and even packages that will let you fuse multiple sensors together. But you need to select appropriate sensors based on your application. We can't help you with that

Akhil Kurup gravatar image Akhil Kurup  ( 2021-03-03 11:14:49 -0500 )edit

I have wheel encoders and IMU

mars_rover gravatar image mars_rover  ( 2021-03-03 11:17:57 -0500 )edit

do you have an example

mars_rover gravatar image mars_rover  ( 2021-03-03 11:33:24 -0500 )edit

Sorry. You have to try it for yourself and ask specific questions/errors you might encounter.

Akhil Kurup gravatar image Akhil Kurup  ( 2021-03-03 11:37:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-03 11:36:46 -0500

You can use the robot_localization package to continuously fuse wheel odometry and IMU data using an Extended Kalman Filter. The wiki is very informative and you can get started without too many complications. You want to look at how to prepare your data and configuring the package for your use.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-03-02 12:06:20 -0500

Seen: 122 times

Last updated: Mar 03 '21