extern void object::Solution( ) { while ( true ) { float left, right; left = radar(WayPoint, 45, 120, 0, 20); right = radar(WayPoint, -45, 120, 0, 20); if ( left == 0 && right == 0 ) // rien ? { turn(180); // demi-tour } else { motor(left, right); } } }