Yeah, that’s a proper solution, similar to using a lambda
or std::bind
in C++. We’d only provide a similar interface in rclpy
as a convenience, but it’s not necessary at all.
ROS Resources: ROS Homepage | Media and Trademarks | Documentation | ROS Index | How to Get Help | Q&A Help Site | Discussion Forum | Service Status |
Yeah, that’s a proper solution, similar to using a lambda
or std::bind
in C++. We’d only provide a similar interface in rclpy
as a convenience, but it’s not necessary at all.