Skip to content

RO2 connection to the control cabinet reports an error: [1.3004] Client T/P authentication failed. #361

@M78qin

Description

@M78qin

Hello, thank you for your attention to my issue.
Currently, I can successfully run the virtual controller in RViz. However, when I try to connect to the actual robot, I encounter the following error:[1.3004] Client T/P authentication failed.
I have also tried using ROS1, but I am facing the exact same problem. What could be the cause of this? Is it possible that my robot's system version is too old?(Device info: H2515; Controller version: GV02100300)

Image

Image

Image

The following is the operation log of ros2:
zyq@DESKTOP-P27HTVO:~/ros2_ws$ ros2 launch dsr_bringup2 dsr_bringup2_rviz.launch.py mode:=real host:=192.168.137.100 port:=12345 model:=h2515
[INFO] [launch]: All log files can be found below /home/zyq/.ros/log/2026-03-21-20-26-08-061311-DESKTOP-P27HTVO-2529
[INFO] [launch]: Default logging verbosity is set to INFO
[dsr_controller2] Loaded update_rate from YAML: 100

[Git Info] unknown | humble@c3c8c61 (root=/home/zyq/ros2_ws/src/doosan-robot2)

[WARNING] [launch_ros.actions.node]: Parameter file path is not a file: /home/zyq/ros2_ws/install/dsr_controller2/share/dsr_controller2/config/dsr_update_rate.yaml
[INFO] [robot_state_publisher-1]: process started with pid [2536]
[INFO] [rviz2-2]: process started with pid [2538]
[INFO] [spawner-3]: process started with pid [2540]
[INFO] [spawner-4]: process started with pid [2542]
[INFO] [ros2_control_node-5]: process started with pid [2544]
[robot_state_publisher-1] [INFO] [1774095968.385979954] [dsr01.robot_state_publisher]: got segment base_link
[robot_state_publisher-1] [INFO] [1774095968.386155228] [dsr01.robot_state_publisher]: got segment link_1
[robot_state_publisher-1] [INFO] [1774095968.386174925] [dsr01.robot_state_publisher]: got segment link_2
[robot_state_publisher-1] [INFO] [1774095968.386183224] [dsr01.robot_state_publisher]: got segment link_3
[robot_state_publisher-1] [INFO] [1774095968.386189523] [dsr01.robot_state_publisher]: got segment link_4
[robot_state_publisher-1] [INFO] [1774095968.386196122] [dsr01.robot_state_publisher]: got segment link_5
[robot_state_publisher-1] [INFO] [1774095968.386202521] [dsr01.robot_state_publisher]: got segment link_6
[robot_state_publisher-1] [INFO] [1774095968.386208720] [dsr01.robot_state_publisher]: got segment world
[ros2_control_node-5] [WARN] [1774095968.390275613] [dsr01.controller_manager]: [Deprecated] Passing the robot description parameter directly to the control_manager node is deprecated. Use '~/robot_description' topic from 'robot_state_publisher' instead.
[ros2_control_node-5] [INFO] [1774095968.390612563] [resource_manager]: Loading hardware 'h2515'
[ros2_control_node-5] [INFO] [1774095968.400865133] [resource_manager]: Initialize hardware 'h2515'
[ros2_control_node-5] [INFO] [1774095968.401155689] [dsr_hw_interface2]: model : h2515
[ros2_control_node-5] [INFO] [1774095968.401166888] [dsr_hw_interface2]: mode : real
[ros2_control_node-5] [INFO] [1774095968.401170987] [dsr_hw_interface2]: update_rate : 100
[ros2_control_node-5] [INFO] [1774095968.401179086] [dsr_hw_interface2]: port : 12345
[ros2_control_node-5] [INFO] [1774095968.401182285] [dsr_hw_interface2]: rt_host : 192.168.137.50
[ros2_control_node-5] [INFO] [1774095968.401185285] [dsr_hw_interface2]: host : 192.168.137.100
[ros2_control_node-5] [INFO] [1774095968.401223479] [dsr_hw_interface2]: [on_init] Hardware name : h2515, type : system, class type : dsr_hardware2/DRHWInterface
[ros2_control_node-5] [INFO] [1774095968.401310366] [dsr_hw_interface2]: _______________________________________________
[ros2_control_node-5]
[ros2_control_node-5] [INFO] [1774095968.401314965] [dsr_hw_interface2]: INITAILIZE
[ros2_control_node-5] [INFO] [1774095968.401317765] [dsr_hw_interface2]: _______________________________________________
[ros2_control_node-5]
[ros2_control_node-5] [INFO] [1774095968.512835723] [dsr_hw_interface2]: Connecting failure.. retry...
[spawner-3] [INFO] [1774095968.942447212] [dsr01.spawner_dsr_controller2]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[spawner-4] [INFO] [1774095968.945746519] [dsr01.spawner_joint_state_broadcaster]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[ros2_control_node-5] [INFO] [1774095969.124668057] [dsr_hw_interface2]: Connecting failure.. retry...
[rviz2-2] [INFO] [1774095969.540951022] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-2] [INFO] [1774095969.541084874] [rviz2]: OpenGl version: 4.1 (GLSL 4.1)
[rviz2-2] [INFO] [1774095969.574221957] [rviz2]: Stereo is NOT SUPPORTED
[ros2_control_node-5] [INFO] [1774095969.736407906] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095970.358490056] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095970.971847417] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095971.584425699] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095972.206559544] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095972.818303328] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095973.430994499] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095974.045559025] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095974.657264617] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095975.272186882] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095975.884772513] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095976.507687169] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095977.119909715] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095977.732265581] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095978.344262251] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095978.956456895] [dsr_hw_interface2]: Connecting failure.. retry...
[spawner-3] [WARN] [1774095978.961457932] [dsr01.spawner_dsr_controller2]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-3] [INFO] [1774095978.961774036] [dsr01.spawner_dsr_controller2]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[spawner-4] [WARN] [1774095978.962515788] [dsr01.spawner_joint_state_broadcaster]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-4] [INFO] [1774095978.962897839] [dsr01.spawner_joint_state_broadcaster]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[ros2_control_node-5] [INFO] [1774095979.568668246] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [INFO] [1774095980.180950131] [dsr_hw_interface2]: Connecting failure.. retry...
[ros2_control_node-5] [ERROR] [1774095980.681385664] [dsr_hw_interface2]: DSRInterface::init() DRCF connecting ERROR!!!
[ros2_control_node-5] [INFO] [1774095980.681554185] [resource_manager]: Failed to initialize hardware 'h2515'
[ros2_control_node-5] [WARN] [1774095980.681562400] [resource_manager]: System hardware component 'h2515' from plugin 'dsr_hardware2/DRHWInterface' failed to initialize.
[ros2_control_node-5] terminate called after throwing an instance of 'std::runtime_error'
[ros2_control_node-5] what(): Wrong state or command interface configuration.
[ros2_control_node-5] missing state interfaces:
[ros2_control_node-5] ' joint_1/position ' ' joint_1/velocity ' ' joint_2/position ' ' joint_2/velocity ' ' joint_3/position ' ' joint_3/velocity ' ' joint_4/position ' ' joint_4/velocity ' ' joint_5/position ' ' joint_5/velocity ' ' joint_6/position ' ' joint_6/velocity '
[ros2_control_node-5] missing command interfaces:
[ros2_control_node-5] ' joint_1/position ' ' joint_1/velocity ' ' joint_2/position ' ' joint_2/velocity ' ' joint_3/position ' ' joint_3/velocity ' ' joint_4/position ' ' joint_4/velocity ' ' joint_5/position ' ' joint_5/velocity ' ' joint_6/position ' ' joint_6/velocity '
[ros2_control_node-5] Stack trace (most recent call last):
[ros2_control_node-5] #15 Object "", at 0xffffffffffffffff, in
[ros2_control_node-5] #14 Object "/opt/ros/humble/lib/controller_manager/ros2_control_node", at 0x5873b3a80ec4, in
[ros2_control_node-5] #13 Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x767444029e3f, in __libc_start_main
[ros2_control_node-5] #12 Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x767444029d8f, in
[ros2_control_node-5] #11 Object "/opt/ros/humble/lib/controller_manager/ros2_control_node", at 0x5873b3a8036f, in
[ros2_control_node-5] #10 Object "/opt/ros/humble/lib/libcontroller_manager.so", at 0x76744495581a, in controller_manager::ControllerManager::ControllerManager(std::shared_ptrrclcpp::Executor, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rclcpp::NodeOptions const&)
[ros2_control_node-5] #9 Object "/opt/ros/humble/lib/libcontroller_manager.so", at 0x7674449507af, in controller_manager::ControllerManager::init_resource_manager(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)
[ros2_control_node-5] #8 Object "/opt/ros/humble/lib/libhardware_interface.so", at 0x767444314334, in hardware_interface::ResourceManager::load_urdf(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, bool)
[ros2_control_node-5] #7 Object "/opt/ros/humble/lib/libhardware_interface.so", at 0x7674442f0723, in
[ros2_control_node-5] #6 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7674444ae4d7, in __cxa_throw
[ros2_control_node-5] #5 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7674444ae276, in std::terminate()
[ros2_control_node-5] #4 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7674444ae20b, in
[ros2_control_node-5] #3 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7674444a2b9d, in
[ros2_control_node-5] #2 Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7674440287f2, in abort
[ros2_control_node-5] #1 Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x767444042475, in raise
[ros2_control_node-5] #0 Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7674440969fc, in pthread_kill
[ros2_control_node-5] Aborted (Signal sent by tkill() 2544 1000)
[ERROR] [ros2_control_node-5]: process has died [pid 2544, exit code -6, cmd '/opt/ros/humble/lib/controller_manager/ros2_control_node --ros-args -r __ns:=/dsr01 --params-file /tmp/launch_params_veyreczl --params-file /home/zyq/ros2_ws/install/dsr_controller2/share/dsr_controller2/config/dsr_controller2.yaml'].
[spawner-3] [WARN] [1774095988.978073018] [dsr01.spawner_dsr_controller2]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-3] [INFO] [1774095988.978517871] [dsr01.spawner_dsr_controller2]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[spawner-4] [WARN] [1774095988.978935975] [dsr01.spawner_joint_state_broadcaster]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-4] [INFO] [1774095988.979358072] [dsr01.spawner_joint_state_broadcaster]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[spawner-3] [WARN] [1774095998.992771274] [dsr01.spawner_dsr_controller2]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-3] [INFO] [1774095998.993160085] [dsr01.spawner_dsr_controller2]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[spawner-4] [WARN] [1774095998.993992221] [dsr01.spawner_joint_state_broadcaster]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-4] [INFO] [1774095998.994592992] [dsr01.spawner_joint_state_broadcaster]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[spawner-3] [WARN] [1774096009.008948970] [dsr01.spawner_dsr_controller2]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-3] [INFO] [1774096009.009549416] [dsr01.spawner_dsr_controller2]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[spawner-4] [WARN] [1774096009.009692403] [dsr01.spawner_joint_state_broadcaster]: Could not contact service /dsr01/controller_manager/list_controllers
[spawner-4] [INFO] [1774096009.010018674] [dsr01.spawner_joint_state_broadcaster]: waiting for service /dsr01/controller_manager/list_controllers to become available...
[INFO] [rviz2-2]: process has finished cleanly [pid 2538]
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[robot_state_publisher-1] [INFO] [1774096017.158923487] [rclcpp]: signal_handler(SIGINT/SIGTERM)
[INFO] [robot_state_publisher-1]: process has finished cleanly [pid 2536]
[INFO] [spawner-3]: process has finished cleanly [pid 2540]
[INFO] [spawner-4]: process has finished cleanly [pid 2542]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions