Project

General

Profile

Revision b1fdaaf6

IDb1fdaaf62c9a219ee2786b467bc79c908c2e0a70

Added by Hui Jun Tay over 11 years ago

Added toggle for Sonar. Added backsonar indicate
-Sonar can be toggled under Sim -> Sonar
-Front and Back onars now display most recent scan point as a green dot

View differences:

scout/scoutsim/src/scout.h
140 140
                              double robot_theta, wxMemoryDC& sonar_dc,bool sonar_on);
141 141
            void update_linesensor(const wxImage& lines_image, int x, int y,
142 142
                                   double theta);
143
	    int old_dx;
144
	    int old_dy;
143
	    int old_front_dx;
144
	    int old_front_dy;
145
	    int old_back_dx;
146
	    int old_back_dy;
147
	    bool isFront;
148

  
145 149
	    wxBitmap *path_bitmap;
146 150
	    bool sonar_on;
147 151

  

Also available in: Unified diff