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

Revision history [back]

click to hide/show revision 1
initial version

Hi

Gmapping need's two topic that's 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.

Hi

Gmapping need's two topic that's 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 .