PickNikRobotics / abb_ros2

Apache License 2.0
82 stars 34 forks source link

Initialize MotionData using initial values from ros2_control xacro #45

Open Yadunund opened 1 year ago

Yadunund commented 1 year ago

This PR fixes https://github.com/PickNikRobotics/abb_ros2/issues/44 It relies on changes from https://github.com/ros-industrial/abb_egm_rws_managers/pull/9

In the implementation, the initial value of relevant state and command interfaces are retrieved from the HardwareInfo. If these initial_values are not provided in the ros2_control xacro, the values are assumed to be 0.0 which is the same as the current behavior.