ros2 / demos

Apache License 2.0
493 stars 329 forks source link

Add test package for single and multi thread #635

Closed icsl-Jeon closed 1 year ago

icsl-Jeon commented 1 year ago

I added codes to test SingleThreadedExecutor and MultiThreadedExecutor. Especially, two different callback groups can be tested.

Although I have full descriptions and analysis in this link, I could not decide whether to put them in this repo or, it is okay to have them just in a link in README.md.

clalancette commented 1 year ago

We already have some examples of executors in use in https://github.com/ros2/examples/tree/rolling/rclcpp/executors . Can you take a look to see if those examples already have if you want? If not, can you see if it makes sense to add these examples there instead?

icsl-Jeon commented 1 year ago

Thank you for guiding me. I will try to open PR there 😀 Let me close this! Regards