'Hello all,
I am using Xbox360, Ros Kinetic, Ubuntu 16.04LTS
I am new to ROS. I want to map an unknown enviroment using kinect. For this I am using freenect and gmapping.
I have done these steps:
1. roslaunch freenect_launch freenect.launch
2. rosrun pointcloud_to_laserscan pointcloud_to_laserscan_node cloud_in:=/camera/depth/points
3. rosbag record -O mybag /scan /tf
4. rostopic echo /scan /////////i can see scan data is available here
5. rqt_graph /////////I can see that /camera/base_link --->>tf_static--->>/camera/camera_nodelet_manager--->>/camera/depth_points--->>/pointcloud_to_laserscan_node--->>/rosrecord 12467890987654(some no.)
[not enough points to add image]
This is all great.
But the problem is getting data from the bag file
1. roscore
2. rosparam set use_sim_time true
3. roslaunch hector_slam_launch tutorial.launch scan:=/base_scan
4. rosbag play --clock mybag.bag
I can't see any error in RViz. But I can't see the map either.
The terminal where I launch hector_slam shows the error that ******Lookuptransform Data _______cannot publish transform...............or something like........... no connection between base_frame.******
can anyone help me with this
please do post a comment if any other specifications required.
Thank you in advance.....
↧