Revision a2e6bd4c
ID | a2e6bd4c826a26463a1cde2b2ed7e2c16ff43bdd |
Added sonar, though it looks buggy.
Use sonar_viz to continue debugging and make sonar work!
scout/scoutsim/src/scout_constants.h | ||
---|---|---|
56 | 56 |
// Position of sonar relative to robot center |
57 | 57 |
const float SCOUT_SONAR_X = -0.01; |
58 | 58 |
const float SCOUT_SONAR_Y = 0.0; |
59 |
|
|
60 |
const unsigned int SONAR_MAX_RANGE = 255; |
|
61 |
// Time it takes for the sonar to spin from position 0 to position 23 |
|
62 |
const float SONAR_HALF_SPIN_TIME = 24.0; |
|
59 | 63 |
} |
Also available in: Unified diff