GithubHelp home page GithubHelp logo

Comments (2)

CrazyTomX avatar CrazyTomX commented on June 27, 2024

1, 由于内核中点云脱离PCL, PointCloudMsg中的点云定义其实就是一个std::vector. 因为在日常使用中主要用法都是将内核点云转换成外层PCL的点云进行使用,所以并未提供反向转换的函数。 如果有需要,可以参rslidar_sdk/src/adapter/driver_adapter.hpp
中的转换函数,逆向转换即可。 PCL的底层实现也是std::vector,所以本质上这两种消息的转换就是vector的复制。

2, 由于PCL提供了转ROS消息的函数,所以在sdk中是先将内核的脱离pcl的点云转换成了pcl点云,然后在使用ros发送时,调用的pcl官方的转换函数转成ROS消息发出。

from rslidar_sdk.

MCTENV avatar MCTENV commented on June 27, 2024

好的,非常感谢您的解答,我已经实现了。

from rslidar_sdk.

Related Issues (20)

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.