Project

General

Profile

Revision 0076084e

ID0076084e3770a022c63e42d56a8dd5503f21cebb

Added by Alex Zirbel over 11 years ago

Fluidified fluid teleop.

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