Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Not sure if this will help you or not but I figured I might as well add...

I was having this same problem a couple of weeks back and here is what I learned:

  1. Make sure that you have a package called "external_sensor_interface" that contains a msg directory with your "data_logger_measurement" msg defined there. This package should be on your ROS_PACKAGE_PATH (see http://ros.org/wiki/ROS/EnvironmentVariables). Should look something like...

    echo ROS_PACKAGE_PATH="/path/to/your/project/":$ROS_PACKAGE_PATH

  2. Build your messages - You need to edit your CMakeLists file (and you indicated that you already did this..). NOTE: This is where I was having problems - specifically with catkin. I switched my entire project to use rosbuild and I had smooth sailing from that point forward.

If all that worked correctly, you should be able to do,

rosmsg show data_logger_measurement

which will display your message details...From there you should be good to go.

Not sure if this will help you or not but I figured I might as well add...

I was having this same problem a couple of weeks back and here is what I learned:

  1. Make sure that you have a package called "external_sensor_interface" that contains a msg directory with your "data_logger_measurement" msg defined there. This package should be on your ROS_PACKAGE_PATH (see http://ros.org/wiki/ROS/EnvironmentVariables). Should Changing it should look something like...

    echo ROS_PACKAGE_PATH="/path/to/your/project/":$ROS_PACKAGE_PATH

  2. Build your messages - You need to edit your CMakeLists file (and you indicated that you already did this..). NOTE: This is where I was having problems - specifically with catkin. I switched my entire project to use rosbuild and I had smooth sailing from that point forward.

If all that worked correctly, you should be able to do,

rosmsg show data_logger_measurement

which will display your message details...From there you should be good to go.

Not sure if this will help you or not but I figured I might as well add...

I was having this same problem a couple of weeks back and here is what I learned:

  1. Make sure that you have a package called "external_sensor_interface" that contains a msg directory with your "data_logger_measurement" msg defined there. This package should be on your ROS_PACKAGE_PATH (see http://ros.org/wiki/ROS/EnvironmentVariables). Changing it should look something like...

    echo ROS_PACKAGE_PATH="/path/to/your/project/":$ROS_PACKAGE_PATH

  2. Build your messages - You need to edit your CMakeLists file (and you indicated that you already did this..). this..) and rebuild your project. NOTE: This is where I was having problems - specifically with catkin. I switched my entire project to use rosbuild and I had smooth sailing from that point forward.

If all that worked correctly, you should be able to do,

rosmsg show data_logger_measurement

which will display your message details...From there you should be good to go.