ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Missing commands (ROS2 dashing, Ubuntu 18.04)

asked 2019-10-31 17:07:58 -0500

pathojin gravatar image

Hi, I was going through the ROS2 tutorials using turtlesim, and I got to the "Understanding ROS2 services" tutorial (https://index.ros.org/doc/ros2/Tutori...), where it tells me to run the following command

ros2 service type abcdef

When I tried to run this, I got an error saying that "type" isn't a valid command. Running "ros2 service type -h" shows that I only have two commands in "service": "list" and "call". Upon doing some googling, it seems like I'm missing "find" and "type" from service. Additionally I realized that I'm missing the "interface" commands entirely. I guess I messed up my installation of ROS2? How do I go about fixing this problem? Thanks in advance for any help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-11-04 22:22:13 -0500

jschornak gravatar image

updated 2019-11-05 09:03:06 -0500

Which version of ROS2 do you have and how did you install it?

I'm using a binary install of ROS Dashing and I don't have those commands either. It looks like the change to the ros2service package that added the type and find command line verbs hasn't been back-ported into Dashing, so those commands will only be available on the master branch until the Eloquent release.

Compare the Dashing branch of ros2service to the master branch.

edit flag offensive delete link more

Comments

So there isn't a way for me to add these commands?

pathojin gravatar image pathojin  ( 2019-11-10 13:29:07 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-31 17:07:58 -0500

Seen: 580 times

Last updated: Nov 05 '19