Robotics StackExchange | Archived questions

question about the command of rosmsg show

why no error and no output

Asked by xuao on 2015-10-21 22:36:46 UTC

Comments

I've filed a ticket requesting that rosmsg show have better error reporting: https://github.com/ros/ros_comm/issues/691

Asked by ahendrix on 2015-10-28 18:25:11 UTC

Answers

$ rosmsg show tf/tfMessage
geometry_msgs/TransformStamped[] transforms
  std_msgs/Header header
    uint32 seq
    time stamp
    string frame_id
  string child_frame_id
  geometry_msgs/Transform transform
    geometry_msgs/Vector3 translation
      float64 x
      float64 y
      float64 z
    geometry_msgs/Quaternion rotation
      float64 x
      float64 y
      float64 z
      float64 w

you should append msgname

Asked by huiyi1990 on 2015-10-22 01:02:54 UTC

Comments

sorry, maybe i didn't describe this question clearly,in fact ,i appended the msgname,and finally i got the solution at http://answers.ros.org/question/88086 anyway, thank you very much.

Asked by xuao on 2015-10-22 02:16:01 UTC

Hmm... it looks like the answer is here: http://answers.ros.org/question/88086

You simply run:

$ cd ~/catkin_ws/ then

$ catkin_make then

$ source devel/setup.bash

then you will get the right reply.

Asked by xuao on 2015-10-22 02:06:07 UTC

Comments