Robotics StackExchange | Archived questions

controller manager spawner.py bug

After i run the command: ros2 launch ros2controldemorobot diffbotsystem.launch.py

i'm getting the errors:
format [py]: __init__() got an unexpected keyword argument 'parameter'

As i debugged the source code. The bug is comming form this line:

    Node(
        package="controller_manager",
        executable="spawner.py",
        parameter=["joint_state_controller"],
        output="screen",
    ),

from given launch file. When i change the parameter to the arguments it works fine but still got the warnnis that controller_manager is not available. It shows that controller manager in ros2 has some bugs. Any way to solve this?

Environments;

Os: ubuntu 20.04 desktop ros: ros2 foxy

Asked by dinesh on 2021-05-13 05:27:37 UTC

Comments

You already posted ros-controls/ros2_control#413 and ros-controls/ros2_controllers#182.

Please don't post duplicates and please don't cross-post.

Asked by gvdhoorn on 2021-05-13 08:57:21 UTC

Answers