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

Hi,

This isn't your problem, but you never create an instance of your class. Your program starts at the main line, and does ros::spin(). All the code in you class is never ran. You should have something like

EKF_node my_EKF();

Before the spin.

As for the error you're seeing, there is a trick to using member functions as callbacks, that is detailed here.