ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I confirmed this (my code). Although msg artifact is generated, the new msg doesn't appear in rosmsg list
. Used catkin_make
.
2 | No.2 Revision |
I confirmed this (my code). , which modifies beginner_tutorial
to add a new msg file "Num5.msg" in a sub folder). Although msg artifact is generated, the new msg doesn't appear in rosmsg list
. Used catkin_make
. I can, however, use the new message Num5.msg in my ROS program. E.g. rostopic pub Num5 beginner_tutorials/Num5 1
then subscribing to it can be done without problem.
More concrete commands and result:
roscd beginner_tutorials/msg
mkdir subfolder
(edit CMakeLists.txt to add subfolder to `add_message_files`)
echo "int64 num" > subfolder/Num2.msg
cd -
catkin_make
source devel/setup.bash
Then,
find ./devel -iname *Num2* --> Generated.
rosmsg list|grep Num --> Num2 not listed.
rostopic pub Num2 beginner_tutorials/Num2 1 --> Published.
rostopic echo /Num2 --> Printed as expected.
So maybe a specific issue with rosmsg list
.
3 | No.3 Revision |
I confirmed this (my code, which modifies beginner_tutorial
to add a new msg file "Num5.msg" in a sub folder). Although msg artifact is generated, the new msg doesn't appear in rosmsg list
. Used catkin_make
. I can, however, use the new message Num5.msg in my ROS program. E.g. rostopic pub Num5 beginner_tutorials/Num5 1
then subscribing to it can be done without problem.
More concrete commands and result:
roscd beginner_tutorials/msg
mkdir subfolder
(edit CMakeLists.txt to add subfolder to `add_message_files`)
echo "int64 num" > subfolder/Num2.msg
cd -
catkin_make
source devel/setup.bash
Then,
find ./devel -iname *Num2* --> Generated.
rosmsg list|grep Num --> Num2 not listed.
rostopic pub Num2 beginner_tutorials/Num2 1 --> Published.
rostopic echo /Num2 --> Printed as expected.
So maybe a specific issue with rosmsg list
.
$ apt-cache policy ros-kinetic-catkin ros-kinetic-rosmsg |grep Inst
Installed: 0.7.6-0xenial-20170217-212821-0800
Installed: 1.12.7-0xenial-20170308-194441-0800