ros-controls / ros2_controllers

Generic robotic controllers to accompany ros2_control
https://control.ros.org
Apache License 2.0
347 stars 312 forks source link

publisher_forward_position_controller uses deprecated parameter API #1239

Closed christophfroehlich closed 1 day ago

christophfroehlich commented 1 month ago

Compile the demos and run ros2 launch ros2_control_demo_example_1 test_forward_position_controller.launch.py

[publisher_forward_position_controller-1] /opt/ros/rolling/lib/python3.12/site-packages/rclpy/node.py:481: UserWarning: when declaring parameter named 'pos3', declaring a parameter only providing its name is deprecated. You have to either: [publisher_forward_position_controller-1] - Pass a name and a default value different to "PARAMETER NOT SET" (and optionally a descriptor). [publisher_forward_position_controller-1] - Pass a name and a parameter type. [publisher_forward_position_controller-1] - Pass a name and a descriptor with `dynamic_typing=True

christophfroehlich commented 1 month ago

fyi: The publisher_joint_trajectory_controller doesn't throw warnings