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

Revision history [back]

click to hide/show revision 1
initial version

Your CMake states that you will build two independent nodes.

You want the listener.cpp to be build into state_main, not into a separate listener executable, so add src/stage_listener.cpp to the stage_main line and remove the listener entry.