@marguedas Just verified, after set PYTHONOPTIMIZE
> export PYTHONOPTIMIZE=0
The FPS of python code increased, the result is very close with C++.
---
[Visit Topic](
https://discourse.ros.org/t/image-and-pointcloud2-performance-issue-on-ros2-python/5391/9) 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
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>