Project

General

Profile

Revision 3db79f25

ID3db79f259e8820845822e6176be5c3b81a405021
Parent dfb92d66
Child 479d25d8

Added by Priya about 4 years ago

Fixed Odometry behavior so that it now works and then added a get readings functionality to sonarcontrol.

View differences:

scout/libscout/src/SonarControl.cpp
189 189
    num_attempts = MAX_ATTEMPTS;
190 190
}
191 191

  
192
int* SonarControl::get_sonar_readings()
193
{
194
  return readings;
195
}
196

  
192 197
/**
193 198
 * @brief Converts value returne by sonar to physical distances.
194 199
 *

Also available in: Unified diff