# Ros2 controller failed

**URL:** <https://forum.universal-robots.com/t/ros2-controller-failed/19420>\
**Category:** ROS\
**Created:** [February 22, 2022, 2:35pm UTC](https://forum.universal-robots.com/t/ros2-controller-failed/19420 "2022-02-22T14:35:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon42266160](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anon42266160](https://forum.universal-robots.com/u/anon42266160)\
**Post date:** [February 22, 2022, 2:35pm UTC](https://forum.universal-robots.com/t/ros2-controller-failed/19420/1 "2022-02-22T14:35:15Z")

</div>

Hello,

I have a problem with the controller.

My setup:  
i use ros version galactic with the main brunch.  
i use ur5 cb3.

All installation (driver for roboter and moveit) are done.

i start the driver "ros2 launch ur\_bringup ur\_control.launch.py ur\_type:=ur5 robot\_ip:=xxx use\_fake\_hardware:=false launch\_rviz:=false

at this step no problem, but only one error. i dont use calibration, but i dint think, its important for the beginning.

second step, i launch: ros2 launch ur\_bringup ur\_moveit.launch.py ur\_type:=ur5 robot\_ip:=xxx use\_fake\_hardware:=false laucnh\_rviz:=true

at this step no errors.

Last step, i move robot in rviz a little bit and then plan (no problem, no errors) and execute.  
By execution moveit shell says: action client not connected to action server: joint\_trajectory\_controller/follow\_joint\_trajectory;  
Failed to send trajectory part 1 of 1 to controller joint\_trajectory\_controller;  
… ABORTED …

May be my Controller.yaml is not correct? or i forget something?

by the way, after controller failed, first shell with driver become also fail: Unable to read from harfware…

thank you for helping !

 ![Screenshot 2022-02-22 111953](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/59513cad4d0d9b73b8fe3918aa8354b215a810ea.png)  
 ![Screenshot 2022-02-22 112119](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/2/2c58ef92456b9c36bd41511c36cc80fbaa68b0a7.png)

---

<div class="post-metadata">

**Author:** ![mauch](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mauch](https://forum.universal-robots.com/u/mauch)\
**Post date:** [February 23, 2022, 11:16am UTC](https://forum.universal-robots.com/t/ros2-controller-failed/19420/2 "2022-02-23T11:16:16Z")

</div>

This seems to be related (if not a duplicate) to [Galactic: Controller example Can't activate controller 'scaled\_joint\_trajectory\_controller' · Issue #301 · UniversalRobots/Universal\_Robots\_ROS2\_Driver · GitHub](https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/301#issuecomment-1048669364)

---

<div class="post-metadata">

**Author:** ![anon49360225](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@anon49360225](https://forum.universal-robots.com/u/anon49360225)\
**Post date:** [December 29, 2022, 1:53pm UTC](https://forum.universal-robots.com/t/ros2-controller-failed/19420/3 "2022-12-29T13:53:26Z")

</div>

@anon42266160  
Did you get any solution for this problem. I am also getting the same problem.

Thank you
