Revision 9cb9623b
Working on turning sonar on and off for robots individually.
scout/scoutsim/src/scout.cpp | ||
---|---|---|
297 | 297 |
// draw a circle at the wall_x, wall_y where reading > 128 |
298 | 298 |
sonar_dc.SelectObject(*path_bitmap); |
299 | 299 |
sonar_dc.SetBrush(*wxRED_BRUSH); //old value |
300 |
sonar_dc.DrawCircle(wxPoint(old_front_dx,old_front_dy), 2); |
|
300 |
sonar_dc.DrawCircle(wxPoint(old_front_dx, old_front_dy), 2);
|
|
301 | 301 |
old_front_dx = d_x; |
302 | 302 |
old_front_dy = d_y; |
303 | 303 |
} |
Also available in: Unified diff