# ROS Driver - Dashboard/RawRequest

**URL:** <https://forum.universal-robots.com/t/ros-driver-dashboard-rawrequest/7057>\
**Category:** ROS\
**Created:** [April 21, 2020, 4:02pm UTC](https://forum.universal-robots.com/t/ros-driver-dashboard-rawrequest/7057 "2020-04-21T16:02:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![florent.monbrun](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@florent.monbrun](https://forum.universal-robots.com/u/florent.monbrun)\
**Post date:** [April 21, 2020, 4:02pm UTC](https://forum.universal-robots.com/t/ros-driver-dashboard-rawrequest/7057/1 "2020-04-21T16:02:10Z")

</div>

Hello,

I am trying to use the service “/ur\_hardware\_interface/dashboard/raw\_request” to send specific urscript like set\_payload(mass) or textmsg(“text”)

I do not find the good format to send this command.  
In the prompt I write this : rosservice call /ur\_hardware\_interface/dashboard/raw\_request ‘textmsg(“text\_log”)’

What expect the service is a “string query”

Do you have an idea to get the good string format?

Thanks for your help

I

---

<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:** [April 22, 2020, 4:50am UTC](https://forum.universal-robots.com/t/ros-driver-dashboard-rawrequest/7057/2 "2020-04-22T04:50:16Z")

</div>

This is the wrong interface to send script commands to. As this is the dashboard interface, you can send dashboard requests as listed in the [dashboard documentation](https://www.universal-robots.com/articles/ur-articles/dashboard-server-e-series-port-29999/)

If you want to send script commands to the robot, you can use the interface on `/ur_hardware_interface/script_command`, e.g.

```auto
rostopic pub /ur_hardware_interface/script_command std_msgs/String "data: 'set_digital_out(2,True)'"

```

---

<div class="post-metadata">

**Author:** ![florent.monbrun](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@florent.monbrun](https://forum.universal-robots.com/u/florent.monbrun)\
**Post date:** [April 22, 2020, 7:06am UTC](https://forum.universal-robots.com/t/ros-driver-dashboard-rawrequest/7057/3 "2020-04-22T07:06:20Z")

</div>

Thanks a lot, it works !

When the script\_command is sent the external external program on the controller stops running.  
So I used : rosservice call /ur\_hardware\_interface/dashboard/play (this time right interface)  
to run it again and stay connected to ros.

Is there a way to send a movel() without ros disconnection? I would like to use the inverse kinematic of the controller?

---

<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:** [April 22, 2020, 7:18am UTC](https://forum.universal-robots.com/t/ros-driver-dashboard-rawrequest/7057/4 "2020-04-22T07:18:14Z")

</div>

The ExternalControl program is only needed to command (in terms of moving it) the robot using ROS mechanisms. If you want to move it using plain script commands, you can just omit starting it.

As soon as you send a script command to the robot it will stop any program running.
