Ask Your Question
1

How to use ROS nodes (slam_gmapping) in Qt Creator GUI

asked 2014-05-30 17:51:20 -0500

TS gravatar image

updated 2014-05-30 20:57:33 -0500

Hamid Didari gravatar image

Hello everyone,

I’m really new to the ROS and I want to use ROS for my research studies. Basically I hope to use SLAM package in ROS. Can anyone please be kind enough to give me A-Z instructions to use SLAM package first. Then I want to know how I use this in my own GUI created by Qt creator. In order to use SLAM in ROS what kind of sensors must be used (LRF, Odometry data, IMU)

Thank you very much.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-05-30 20:52:06 -0500

Hamid Didari gravatar image

updated 2014-05-30 21:06:09 -0500

Hi

Gmapping need's two topics which provide laser scanner and odometry . usually use lidar sensor for laser scanner . if you want to use only laser scanner you can use Hector_Mapping .

for using Qt Creator GUI in Ros please see this question.

if you want to subscribe map or pose topic in your gui you can build one timer in your code and call ros::spinOnce() every 10ms.

note: your gui use app.exec() and if you use ros::spin() then your gui doesn't work .

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-05-30 17:51:20 -0500

Seen: 1,060 times

Last updated: May 30 '14