Robotics StackExchange | Archived questions

creating a labeled point cloud in gazebo

hey,

In GAZEBO i am trying to generate point cloud messages that not only contain 3D point information but also information on the belonging object class (e.g. Wall, Table, Chair, Door) for each point.

I thought about creating a custom ros message that in a addition to the pc2-msg would contain an int array indexed just like the pc2. i thought i indicate the class of an object model in the sdf file via an additional parameter "class" valued with an int. as a last step i would then need to write plugins for the models but also for the sensor that creates this message.

the problem seems to be that i cannot handle the process of laserscan creation (the actual ray "shooting" and interpretion yadayada^^) myself. which makes this elegant solution difficult without build gazebo from sources and adding this functionality.

am i right?

gazebo features intensity for each ray on an object and i could use this as a work around like so: https://ieeexplore.ieee.org/document/8722866 (scientific paper)

still i don't think it is an elegant solution to the problem.. thoughts?

Asked by nomasmax on 2021-01-10 09:23:03 UTC

Comments

I guess you cross-posted at https://community.gazebosim.org/t/creating-a-labeled-point-cloud-in-gazebo/784 (and you've got responses)? Doing so is discouraged http://wiki.ros.org/Support#Etiquette. Making this as closed as the gazebo community seems to be appropriate.

Asked by 130s on 2021-01-12 13:17:13 UTC

Answers