[ros-users] [Discourse.ros.org] [Next Generation ROS] Astra …

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Secretary Birds via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Astra driver for ROS2


I just figured that the function is pretty basic. Iterate n^2 over an image and convert to PointCloud2 format. I'm already compiling in Release, so optimization is all on. So maybe GPU is the only way to go for real acceleration.

But all that aside, I did some performance analysis using the `operf` tool and ran it against both the ROS1 and ROS2 versions of both `astra_camera_node` and `depth_image_proc/point_cloud_xyz : depth_to_pointcloud`.
It looks like they both spend about the same time in the same functions, but the ROS2 variants spend extra time in `libsensor_msgs__rosidl_typesupport_coredx_cpp.so sensor_msgs::msg::typesupport_coredx_cpp::convert_ros_message_to_dds(sensor_msgs::msg::PointCloud2_<std::allocator<void> > const&, sensor_msgs::msg::dds_::PointCloud2_&)`.

Not sure if there are techniques, yet, that help to accelerate/overcome this new conversion step.





---
[Visit Topic](https://discourse.ros.org/t/astra-driver-for-ros2/1894/11) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>