Revision 6ebee82c scout/encoders/src/encoders.cpp

View differences:

scout/encoders/src/encoders.cpp
35 35
 **/
36 36

  
37 37
#include <ros/ros.h>
38

  
39 38
#include "encoders.h"
40 39

  
41 40
/**
......
89 88
 * @param req The request. The units that the response should be in.
90 89
 * @param res The response. The fields will be filled with values.
91 90
 */
92
bool handle_encoders_query(encoders::query_encoders::Request  &req,
93
                           encoders::query_encoders::Response &res)
91
bool handle_encoders_query(::messages::query_encoders::Request  &req,
92
                           ::messages::query_encoders::Response &res)
94 93
{
95 94
    /* Put index, velocity, and distance data in message */
96 95
    res.fl_distance = encoder_fl.get_ticks();

Also available in: Unified diff