Code Monkey home page Code Monkey logo

linefit_ground_segmentation_details's Introduction

linefit_ground_segmentation_details

快速3D点云分割论文代码(带注解):Fast segmentation of 3d point clouds for ground vehicles

Implementation of the ground segmentation algorithm proposed in

@inproceedings{himmelsbach2010fast,
  title={Fast segmentation of 3d point clouds for ground vehicles},
  author={Himmelsbach, Michael and Hundelshausen, Felix V and Wuensche, H-J},
  booktitle={Intelligent Vehicles Symposium (IV), 2010 IEEE},
  pages={560--565},
  year={2010},
  organization={IEEE}
}

参考:https://github.com/lorenwel/linefit_ground_segmentation

相关算法(带中文详细注解):https://github.com/HuangCongQing/plane_fit_ground_filter

@双愚 , 若fork或star请注明来源

Intro

个人笔记已更新到知识星球:https://t.zsxq.com/0fsic6p29

Setup

Frameworks and Packages

Make sure you have the following is installed:

Dataset bag

数据集已处理好,放在百度网盘上,需要自己下载

编译

将本仓库下的三个文件夹移动到catkin_wp/src下,然后执行下面操作

// 创建环境变量 src中运行
mkdir -p catkin_wp/src
cd catkin_wp/src
catkin_init_workspace

// 编译(需要回到工作空间catkin_wp)
cd ..
catkin_make  // 产生build和devel文件夹


//设置环境变量,找到src里的功能包(每个新的shell窗口都要执行以下source devel/setup.bash)
source devel/setup.bash  // 不同shell,不同哦.sh  .zsh           通过设置gedit ~/.zshrc,不用每次都source

详情可参考:https://www.yuque.com/docs/share/e59d5c91-b46d-426a-9957-cd262f5fc241?# 《09.创建工作空间与功能包※※※》

修改配置文件

举例:修改输入topic

cd linefit_ground_segmentation/linefit_ground_segmentation_ros/launch/segmentation.launch

#第8行    <param name="input_topic" value="/kitti/velo/pointcloud" />修改你的雷达点云话题
<param name="input_topic" value="/kitti/velo/pointcloud" />   <!-- 输入topic -->

Run运行

主要代码路径:

linefit_ground_segmentation/linefit_ground_segmentation/src

Terminal 1
roscore
Terminal 2

--loop循环

# kitti官方  注意修改路径path
rosbag play path/kitti_2011_09_26_drive_0005_synced.bag --loop
Terminal 3
rviz

可使用此配置 config.rviz

注意:Fixed Frame: velo_link

arch

Terminal 4

#  运行launch
roslaunch linefit_ground_segmentation_ros segmentation.launch



Result

arch

Reference

License

Copyright (c) 双愚. All rights reserved.

Licensed under the BSD 3-Clause License License.

linefit_ground_segmentation_details's People

Contributors

huangcongqing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

linefit_ground_segmentation_details's Issues

pcl的版本必须得是1.7的吗?

我这边不显示分割后的点云图,
cloud_sub = nh.subscribe(input_topic, 1, &SegmentationNode::scanCallback, &node);
不执行,怎么办呀

编译过程中,提示找不到GLOG_PATH

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLOG_PATH
linked by target "ground_segmentation_node" in directory /home/roy/plusgo/Perception/linefit_ground_segmentation_details-main/catkin_ws/src/linefit_ground_segmentation/linefit_ground_segmentation_ros
linked by target "ground_segmentation_test_node" in directory /home/roy/plusgo/Perception/linefit_ground_segmentation_details-main/catkin_ws/src/linefit_ground_segmentation/linefit_ground_segmentation_ros

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.