Coder Social home page Coder Social logo

Comments (4)

mrpropellers avatar mrpropellers commented on September 24, 2024

Hi IronWolf - can you tell me me more about which part of your implementation you are having issues with? Also, is it a requirement that your point cloud be published as a PointCloud2 message, as opposed to PointCloud? PointCloud2 tends to require a deeper understanding of how you're packing your data, and would also require you to convert more ROS message types into C# objects than PointCloud would.

from unity-robotics-hub.

anshdavid avatar anshdavid commented on September 24, 2024

Hey @mrpropellers , honestly i am new to ros and robotics. I picked up unity few months ago and was having fun with procedural generation. After reading the blog i got very much interested in robotics and am working on a personal hobby project.

After going over ros's documentation i read The newly revised ROS point cloud message (and currently the de facto standard in PCL), .... I've adapted most off the messaging publishing and subscribing but got stuck with 3d map data , in this case 3D Lidar.

Was hoping to get some pointers on how to tackle this problem.

from unity-robotics-hub.

anshdavid avatar anshdavid commented on September 24, 2024

I ended up using pointcloud instead of pointcloud2 at the moment.

from unity-robotics-hub.

mrpropellers avatar mrpropellers commented on September 24, 2024

Cool! It may be the case that some PCL tools require PointCloud2 messages, but if you don't have a driving need for your experiment to be performative, it'd likely be easier to write a simple transformer on the ROS side of things to subscribe to your PointCloud output from Unity and convert it to PointCloud2. If you're working with the C++ PCL libraries, it's likely a pretty straightforward memcpy to repack the data. Good luck and feel free to reopen if there is something else on the Unity side of things that we need to address!

from unity-robotics-hub.

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.