Closed dlutjwh closed 1 year ago
i transplant the code to ros2 and run successfully
What do you mean? Were you able to run the ROS 2 version?
yes, the origin code of branch ros2 canot run,so i changed some code. now it can run on ros2。thanks sincerely。but the cpu is a little higher than https://github.com/dillenberger/pepperl_fuchs](https://github.com/dillenberger/pepperl_fuchs, which we also translant to ros2。maybe the new repository is also higher on ros1, where i have not tested. so what is the average cpu of r2000 on ros1 with single core?
yes, the origin code of branch ros2 canot run,so i changed some code. now it can run on ros2
Do you mean you made changes to https://github.com/PepperlFuchs/pf_lidar_ros_driver/tree/porting-ros2 ? Can you create a pull request to the porting-ros2
branch so that I can take a look?
sure,but now there are some problems with the laser data,after i solve it,i will try to create a pull request.
you can create a PR with "WIP" (work-in-progress) in the title. I can help with solving the problems with the laser data.
i have create a PR,but there is some error with the data. detail in https://github.com/PepperlFuchs/pf_lidar_ros_driver/pull/114
i transplant the code to ros2 and run successfully. with the main branch, i set 15Hz, but the average cpu is 7%(single core), comparing with https://github.com/dillenberger/pepperl_fuchs,whose cpu is about 3%, on the same robot。are there any optimized point for cpu? thanks。