ros-controls / roadmap

52 stars 20 forks source link

Design usage of DynamicJointState as a means to host joint per-interface values #21

Open bmagyar opened 4 years ago

bmagyar commented 4 years ago

Idea: Still use handles to avoid searching the dictionary structure. Pass collection of requested handles (with pointers to the right doubles in the structure) to controllers. Avoid interface-based type on handles but serve them as separate collections?

destogl commented 4 years ago

Hi Bence,

I agree with you and I tried to do this in the example concept ros-controls/ros2_control#80

The main issue for me was how properly assign handles between virtual components, i.e. Actuators and Sensors, and the component which implements a protocol for specific hardware. The problem is the following:

What do you think about that?

** real world example would be a robot where we can control position and read position, velocity and acceleration data