Revision 3db79f25
Fixed Odometry behavior so that it now works and then added a get readings functionality to sonarcontrol.
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