Why do we write python script in a Cplus package with CMake in Section 2?
For faster response, could you please provide more details? For example, a screenshot or a code block.
The entire lecture on TF ROS2 is programming python script in a C++ package.
Can it bring some advantages by doing this?
Yes. Among others, which are not possible in a Python package (
- You can also write C++ scripts if you need to.
- You can create custom messages, services and actions.
- If you are already used to ros1 way of doing things (
cmake), you might flow better.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.