how can i send point cloud data from ROS to Gazebo or from RVIS to Gazebo in order to creat 3D Models in Gazebo?

asked 2017-10-25 14:57:47 -0500

huhu gravatar image

I am publishing data (Position, Dimension, Orientation)for some objects from ROS Node to RVIZ in order to generate point clouds and it is working perfectly. Now I would like to send the same data (from ROS to Gazebo) or (from RVIZ to gazebo) to generate a world in Gazebo, and then generate a map using 3D-LIDAR.

edit retag flag offensive close merge delete

Comments

Why don't you use classic pointcloud visualizer in RVIZ to visualize your pointcloud? For the Gazebo part you would have to write your own gazebo plugin to generate pointcloud which is not that easy if you're not familiar with Gazebo. Why do you want to achieve this anyway?

l4ncelot gravatar image l4ncelot  ( 2017-10-26 03:18:39 -0500 )edit

I would like to generate a map using the data i already have and a LIDAR. I become data from a server as JSON file and i am visualizing my pointcloud in RVIZ using this data. Is there any way to generate a map other than simulating the same data as Gazebo world and then generate the map using LIDAR?

huhu gravatar image huhu  ( 2017-10-26 03:32:10 -0500 )edit

I reformulate my question again. Do you need to visualize your map in Gazebo? Gazebo should be used as a simulator of real world. RVIZ is there for visualizing maps, sensor data etc.

l4ncelot gravatar image l4ncelot  ( 2017-10-26 03:43:57 -0500 )edit