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

Where did ros2 msg go?

asked 2021-01-26 20:11:11 -0500

upoque gravatar image

Hi I'm trying out lgsvl for ros2.

I can't get the msg list command working for ros2 foxy.

$ ros2 msg list |grep lgsvl_msgs

usage: ros2 [-h] Call `ros2 <command> -h` for more detailed usage. ...
ros2: error: argument Call `ros2 <command> -h` for more detailed usage.: invalid choice: 'msg' (choose from 'action', 'bag', 'component', 'daemon', 'doctor', 'extension_points', 'extensions', 'interface', 'launch', 'lifecycle', 'multicast', 'node', 'param', 'pkg', 'run', 'security', 'service', 'test', 'topic', 'wtf')

Has the command changed for ros2 foxy?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2021-01-27 02:24:25 -0500

Mackou gravatar image

updated 2021-01-27 02:26:22 -0500

Yes it has :

ros2 interface list

Have a look here for an example,

You can list messages only with the -m parameter :

ros2 interface list -m

edit flag offensive delete link more

Comments

I was facing the same error, thanks for the answer. I think this testing section can be updated in svl simulator documentation here.

kk2105 gravatar image kk2105  ( 2021-04-09 07:13:52 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2021-01-26 20:11:11 -0500

Seen: 1,189 times

Last updated: Jan 27 '21