controller manager spawner.py bug [closed]

asked 2021-05-13 05:27:37 -0500

dinesh gravatar image

updated 2021-05-13 05:28:06 -0500

After i run the command: ros2 launch ros2_control_demo_robot diffbot_system.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

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2021-05-13 08:56:38.308285

Comments

1

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.

gvdhoorn gravatar image gvdhoorn  ( 2021-05-13 08:57:21 -0500 )edit