Revision dbbad8ed scout/libscout/src/EncodersControl.h

View differences:

scout/libscout/src/EncodersControl.h
36 36

  
37 37
#include <ros/ros.h>
38 38
#include <messages/query_encoders.h>
39
#include <messages/reset_encoders.h>
39 40

  
40 41
#include "constants.h"
41 42

  
......
57 58
        /** Use ROS to get the current encoder position. */
58 59
        encoder_readings query();
59 60

  
61
        /** User ROS to reset the encoder count. */
62
        void reset();
63

  
60 64
    private:
61 65

  
62 66
        /* ROS publisher and client declaration */
63 67
        ros::ServiceClient query_client;
68
        ros::ServiceClient reset_client;
64 69
        ros::NodeHandle node;
65 70
};
66 71

  

Also available in: Unified diff