3
votes
Accepted
Transform PointCloud message
Welcome to Robotics Stack Exchange!
I have noticed several concerns with your code snippet, which I would like to address below:
Change the signature of your callback to receive ...
2
votes
Accepted
Point cloud in gazebo environment
So you want to take a ros2 PointCloud2 message and write it to a .pcd file.
There is a existing ros1/ros2 package called pcl_ros. The src code for both is in this ...
2
votes
Accepted
Point cloud using static lidar
For object detection in a point cloud, I'll propose a process for you to follow instead of just providing links. I assume you don't have experience with machine learning and that is driving your ...
2
votes
Accepted
Rviz crash when adding topic
You need to set orientation.w = 1 for every quaternion in the message if you don't have another orientation you want them to have. It's unfortunate that ...
2
votes
Accepted
colorize area of point cloud on a 2D image
I managed to achieve better results with cv::dilate.
As far as I tested, I haven't lost any perfomance and it is really easy to implement.
1
vote
Accepted
I'm trying to visualize intel realsense D435's pointcloud in ros2 rviz2 with gazebo ignition fortress but the messages aren't getting through
I was able to make the point cloud data go through the parameter bridge after defining the correct fixed frame of reference for ros2 rviz2. My plain simulation world with gazebo ignition fortress had ...
1
vote
Alternative to tf2_sensor_msgs.do_transform_cloud in ROS 2[Humble] for Point Cloud Transformation?
This is the another way to do it:
...
1
vote
Alternative to tf2_sensor_msgs.do_transform_cloud in ROS 2[Humble] for Point Cloud Transformation?
I could not find one but it is not too bad to write yourself. Using numpy and scipy you can do something like.
...
1
vote
Alternative to tf2_sensor_msgs.do_transform_cloud in ROS 2[Humble] for Point Cloud Transformation?
I would recommend using pcl and pcl_conversions. It allows you to convert ros pointcloud2 to pcl message type, do the transformation you need to and then convert back to ros pointcloud2. If your are ...
1
vote
Accepted
Wrong Point Cloud orientation in Rviz
In ros, the convention for camera-like devices is to orient the "optical frame" so that +x points right, +y points down, and the +z points forward (toward the scene.)
One method to get the ...
1
vote
Saving PLY file without rviz
Try point_cloud_io write.
rosrun point_cloud_io write _topic:=/your_topic _folder_path:=/home/user/my_point_clouds
It saves a ply file per point cloud message, if ...
1
vote
colorize area of point cloud on a 2D image
I think that a good approach could be:
get the convex hull of each point set with convexHull
fill the polygons with ...
1
vote
Accepted
ROS 2 - Poincloud2 message drop when trying to display in RVIZ2
What is your fixed frame?
I see you are changing the frame_id every time. I am thinking that without proper connection between your pointcloud frame and rviz fixed frame, it is not able to visualize ...
1
vote
Transform PointCloud message
Maybe a good first step is to convert to PointCloud2 using the snippet from convertPointCloudtoPointCloud2 from the package ...
1
vote
Accepted
RViz2 seems to have problems with dynamic TF when visualizing sensor data
If you are using simulation, the ros time is the 'number of seconds since simulation start'.
However, the timestamp in your error message is much too large ("time 1675148130.527") for that, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pointcloud × 451ros × 165
pcl × 91
rviz × 71
kinect × 60
ros-kinetic × 35
laserscan × 34
navigation × 28
ros-melodic × 26
ros2 × 24
sensor-msgs × 20
transform × 19
python × 15
gazebo × 15
slam × 14
rosbag × 14
lidar × 13
laser × 12
octomap × 12
velodyne × 12
pcl-ros × 11
c++ × 10
laser-assembler × 9
pcd × 8
image × 8