Project

General

Profile

Revision 6639ce9c

ID6639ce9c5b5ca4644e9f66e71b7d79bc24cf4fb0

Added by viki over 11 years ago

Edited Sonar to display points on simulator.

Changed rate of sonar scan to 0.5s
Made a new wxDC graphics object for sonar

View differences:

scout/scoutsim/src/scout_constants.h
59 59

  
60 60
    const unsigned int SONAR_MAX_RANGE = 255;
61 61
    // Time it takes for the sonar to spin from position 0 to position 23
62
    const float SONAR_HALF_SPIN_TIME = 24.0;
62
    const float SONAR_HALF_SPIN_TIME = 0.5;
63 63
}

Also available in: Unified diff