Project

General

Profile

Revision 9cb9623b

ID9cb9623b850dbc100d1c4c25d5a9b853ceeabe22

Added by Alex Zirbel almost 4 years ago

Working on turning sonar on and off for robots individually.

View differences:

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