Parameter support in rcl/rclc?

asked 2021-05-05 14:53:45 -0500

amosteo gravatar image

Hello,

I'm the Ada client library author, looking to add support for parameters (I'm currently working on foxy). I have a few general questions to vet my understanding. Probably the chain of questions ceases to make sense at some point, but here it goes:

To start at some point: is there support for parameters at the node level in rcl (or rclc)? I see related functions in rcl/arguments.h that allow to retrieve parameters/files given in the command line. I haven't seen anything else in the rest of rcl. I think these allow me to retrieve definitions in the command line but that's it.

If there isn't node support (I see nothing promising in rcl/node.h), does this mean that I must implement parameter support for Ada nodes any way I like? Storage, machinery to declare/set/retrieve...

If this is the case, any pointers on how to interact e.g. with ros2 param? (https://docs.ros.org/en/foxy/Tutorial...). I was planning to go to check the source of that tool, but I'll welcome some quickstarting. My guess here is that nodes have an implicit service listening for parameter calls...

Thanks for any guidance in these matters.

edit retag flag offensive close merge delete