Code Monkey home page Code Monkey logo

osgpcl's Introduction

osgpcl
by Adam Stambler
Carnegie Mellon University

OpenSceneGraph Point Cloud Library

This is a repository of PCL visualization tools implemented using 
the OpenSceneGraph Library.  

The cloud viewer application can view in core and out of core points.

Depedencies:

PCL
http://www.pointclouds.org/

OpenSceneGraph
http://www.openscenegraph.org/


Usage:

To force color rendering (needed for out of core viewing) use 
cloud_viewer -C 

You can find a large example point cloud to try at:
https://www.dropbox.com/s/djiey6b4jnc5dv0/chappes.pcd

To view the full point cloud in color, simply use 

cloud_viewer -C chappes.pcd

You can generate an out of core point cloud from this large point cloud
via 

pcl_outofcore_process -gen_lod chappes.pcd chappes_tree

Then use "cloud_viewer -C chappes_tree/tree.oct_idx" to view in color.

This is the Chappes Cathedral Dataset courtesy of Prof. Peter Allen, 
Columbia University Robotics Lab. Scanning by Alejandro Troccoli
 and Matei Ciocarlie.  It was taken from 
 http://pr.willowgarage.com/data/megatree/chappes.pts

osgpcl's People

Contributors

adasta avatar adrics avatar urp 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osgpcl's Issues

Error in setting unique state set

I believe line 128 of point_cloud.hpp is incorrect.
I believe this:
geom->setStateSet(stateset_);
should be this:
geom->setStateSet(ss);

Given a new stateset ss is being created if unique_stateset is true.

Problems with OSG

Hi, I managed to compile osgpcl with the new version of OSG (3.2.0) and PCL (1.7), but that took me a while. The first problem I found was related to sensor_msgs in PCL (github version). The second one was that some primitives from the osg::Geometry class are now deprecated, so I needed to explicitly modify many source files to be consistent with the changes done in OSG.

The solution is rather simple but takes some time. First of all, sensor_msgs/PoindCloud2 does not exist. Now the file is PCLPointCloud2 and the name of the class is pcl::PCLPointCloud2.

Regarding the osg::Geometry class, BIND_PER_PRIMITIVE is deprecated. In order to use it in your code you need to make use of the deprecated_osg namespace. Once you add tha namespace it is also required to change the way the geometry objects are created.

Usually, you create these objects such as osg::Geometry ...etc. The simplest way of fixing this is to create these objects just like "Geometry *geom = new Geometry(..)" In this way, the appropriate methods will be invoked (those from the deprecated_osg namespace).

This is all. I can send you the modified version of osgpcl if you wish.

Best regards,
German 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.