Robotics StackExchange | Archived questions

How to customize ros2 interfaces header

Hello,

Let's say I have a custom interface and I want to use that interface in a particular STL container that needs a < operator like a std::set. The fastest solution is to implement a class that stores all the interface information and provides that operator... But how to add this operator directly to the custom interface headers generated by ros2 compilation?

I have searched a bit about this topic and found nothing about it in ros2 documentation wiki.

Thanks in advance!

Asked by Weasfas on 2023-07-17 06:42:09 UTC

Comments

Answers