Revision 259aaff8 scout/encoders/src/encoders.cpp

View differences:

scout/encoders/src/encoders.cpp
93 93
                           ::messages::query_encoders::Response &res)
94 94
{
95 95
    /* Put index, velocity, and distance data in message */
96
    res.fl_distance = encoder_fl.get_ticks();
96
    res.fl_distance = -encoder_fl.get_ticks();
97 97
    res.fr_distance = encoder_fr.get_ticks();
98 98
    res.bl_distance = encoder_bl.get_ticks();
99 99
    res.br_distance = encoder_br.get_ticks();

Also available in: Unified diff