ros custom message in custom folder [closed]
Hi guys, I have created a custom message and I wish to access it from a folder (not the default msg folder in the root directory).
When I build using catkin_make, I get a log that there is a message file within the directory but when I try to search for the message using rosmsg show the message file doesn't show up. (I have also sourced the setup.bash file before trying out the rosmsg command).
Any help to solve the problem is appreciated.
I have the following setup:
A folder named my_app in which there is a folder named msg
1) CMakeLists.txt:
cmake_minimum_required(VERSION 2.8.3)
project(example)
find_package(catkin REQUIRED COMPONENTS roscpp message_generation )
include_directories( ${catkin_INCLUDE_DIRS} my_app )
add_message_files( DIRECTORY my_app/msg FILES test.msg )
catkin_package( CATKIN_DEPENDS roscpp message_runtime )