Revision c06735bb scout/libscout/src/SonarControl.cpp

View differences:

scout/libscout/src/SonarControl.cpp
87 87

  
88 88
    readings[msg->pos] = msg->distance0;
89 89
    readings[msg->pos + 24] = msg->distance1;
90
    timestamps[msg->pos] = msg->header.stamp;
91
    timestamps[msg->pos + 24] = msg->header.stamp;
90
    timestamps[msg->pos] = msg->stamp;
91
    timestamps[msg->pos + 24] = msg->stamp;
92 92
}
93 93

  
94 94
/**

Also available in: Unified diff