hector slam and kinect

asked 2014-12-28 14:40:36 -0500

hamdi gravatar image

Hi, I'm trying to SLAM, but I'm getting the error. I'm trying to do as follows:

from the following link: http://gist.github.com/tkrugg/5628582

at first I am running "fakelaser. launch" file and I get this error:

[ERROR] [1419797344.223443517]: Failed to load nodelet [/pointcloud_throttle] of type [pointcloud_to_laserscan/CloudThrottle]: According to the loaded plugin descriptions the class pointcloud_to_laserscan/CloudThrottle with base class type nodelet::Nodelet does not exist. Declared types are  depth_image_proc/convert_metric depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyzrgb depth_image_proc/register freenect_camera/driver image_proc/crop_decimate image_proc/debayer image_proc/rectify image_rotate/image_rotate image_view/disparity image_view/image nodelet_tutorial_math/Plus openni_camera/driver pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB pcl/PCDReader pcl/PCDWriter pcl/PFHEstimation pcl/PassThrough pcl/PointCloudConcatenateDataSynchronizer pcl/PointCloudConcatenateFieldsSynchronizer pcl/PrincipalCurvaturesEstimation pcl/ProjectInliers pcl/SACSegmentation pcl/SACSegmentationFromNormals pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/VFHEstimation pcl/VoxelGrid stereo_image_proc/disparity stereo_image_proc/point_cloud stereo_image_proc/point_cloud2
[FATAL] [1419797344.223806072]: Service call failed!
process[kinect_laser-24]: started with pid [6937]
[ERROR] [1419797344.297846434]: Failed to load nodelet [/kinect_laser] of type [pointcloud_to_laserscan/CloudToScan]: According to the loaded plugin descriptions the class pointcloud_to_laserscan/CloudToScan with base class type nodelet::Nodelet does not exist. Declared types are  depth_image_proc/convert_metric depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyzrgb depth_image_proc/register freenect_camera/driver image_proc/crop_decimate image_proc/debayer image_proc/rectify image_rotate/image_rotate image_view/disparity image_view/image nodelet_tutorial_math/Plus openni_camera/driver pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB pcl/PCDReader pcl/PCDWriter pcl/PFHEstimation pcl/PassThrough pcl/PointCloudConcatenateDataSynchronizer pcl/PointCloudConcatenateFieldsSynchronizer pcl/PrincipalCurvaturesEstimation pcl/ProjectInliers pcl/SACSegmentation pcl/SACSegmentationFromNormals pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/VFHEstimation pcl/VoxelGrid stereo_image_proc/disparity stereo_image_proc/point_cloud stereo_image_proc/point_cloud2
[FATAL] [1419797344.298068842]: Service call failed!
[pointcloud_throttle-23] process has died [pid 6916, exit code 255, cmd /opt/ros/hydro/lib/nodelet/nodelet load pointcloud_to_laserscan/CloudThrottle openni_manager cloud_in:=/camera/depth/points cloud_out:=cloud_throttled __name:=pointcloud_throttle __log:=/home/hamdi/.ros/log/2d3f138a-8ecc-11e4-90e5-485d60826630/pointcloud_throttle-23.log].
log file: /home/hamdi/.ros/log/2d3f138a-8ecc-11e4-90e5-485d60826630/pointcloud_throttle-23*.log
[kinect_laser-24] process has died [pid 6937, exit code 255, cmd /opt/ros/hydro/lib/nodelet/nodelet load pointcloud_to_laserscan/CloudToScan openni_manager cloud:=cloud_throttled __name:=kinect_laser __log:=/home/hamdi/.ros/log/2d3f138a-8ecc-11e4-90e5-485d60826630/kinect_laser-24.log].
log file: /home/hamdi/.ros/log/2d3f138a-8ecc-11e4-90e5-485d60826630/kinect_laser-24*.log

then I'm running "hectorslam. launch" file and I get this error:

ERROR: the config file '/opt/ros/hydro/share/hector_slam_launch/rviz_cfg/mapping_demo.vcg' is a .vcg file, which is the old rviz config format.
       New config files have a .rviz extension and use YAML formatting.  The format changed
       between Fuerte and Groovy.  There is not (yet) an automated conversion program.
[rviz-7] process has died [pid 8196, exit code 1, cmd /opt/ros/hydro/lib/rviz/rviz -d /opt/ros/hydro/share/hector_slam_launch/rviz_cfg/mapping_demo.vcg __name:=rviz __log:=/home/hamdi/.ros/log/2d3f138a-8ecc-11e4-90e5-485d60826630/rviz-7.log].
log file ...
(more)
edit retag flag offensive close merge delete