Revision 0076084e scout/scoutsim/src/sim_frame.cpp

View differences:

scout/scoutsim/src/sim_frame.cpp
430 430
        {
431 431
            teleop_fluid_omega += 1;
432 432
        }
433
        else if (teleop_fluid_omega > 0)
434
        {
435
            teleop_fluid_omega -= 1;
436
        }
437
        else if (teleop_fluid_omega < 0)
433
        else
438 434
        {
439
            teleop_fluid_omega += 1;
435
            teleop_fluid_omega = 0;
440 436
        }
441 437

  
442 438
        if (teleop_fluid_speed > TELEOP_FLUID_MAX_SPEED)

Also available in: Unified diff