def start():
    '\n    This function is run once every time the start button is pressed\n    '
    global max_speed
    global show_triggers
    global show_joysticks
    print('Start function called')
    rc.set_update_slow_time(0.5)
    rc.drive.stop()
    max_speed = 0.25
    show_triggers = False
    show_joysticks = False
    assert (rc_utils.remap_range(5, 0, 10, 0, 50) == 25)
    assert (rc_utils.remap_range(5, 0, 20, 1000, 900) == 975)
    assert (rc_utils.remap_range(2, 0, 1, (- 10), 10) == 30)
    assert (rc_utils.remap_range(2, 0, 1, (- 10), 10, True) == 10)
    assert (rc_utils.clamp(3, 0, 10) == 3)
    assert (rc_utils.clamp((- 2), 0, 10) == 0)
    assert (rc_utils.clamp(11, 0, 10) == 10)
    print('>> Test Utils: A testing program for the racecar_utils library.\n\nControls:\n   Right trigger = accelerate forward\n   Left trigger = accelerate backward\n   Left joystick = turn front wheels\n   A button = Take a color image and crop it to the top left\n   B button = Take a color image and identify the largest red contour\n   X button = Take a depth image and print several statistics\n   Y button = Take a lidar scan and print several statistics\n')
This function is run once every time the start button is pressed
def start():
    '\n    \n    '
    global max_speed
    global show_triggers
    global show_joysticks
    print('Start function called')
    rc.set_update_slow_time(0.5)
    rc.drive.stop()
    max_speed = 0.25
    show_triggers = False
    show_joysticks = False
    assert (rc_utils.remap_range(5, 0, 10, 0, 50) == 25)
    assert (rc_utils.remap_range(5, 0, 20, 1000, 900) == 975)
    assert (rc_utils.remap_range(2, 0, 1, (- 10), 10) == 30)
    assert (rc_utils.remap_range(2, 0, 1, (- 10), 10, True) == 10)
    assert (rc_utils.clamp(3, 0, 10) == 3)
    assert (rc_utils.clamp((- 2), 0, 10) == 0)
    assert (rc_utils.clamp(11, 0, 10) == 10)
    print('>> Test Utils: A testing program for the racecar_utils library.\n\nControls:\n   Right trigger = accelerate forward\n   Left trigger = accelerate backward\n   Left joystick = turn front wheels\n   A button = Take a color image and crop it to the top left\n   B button = Take a color image and identify the largest red contour\n   X button = Take a depth image and print several statistics\n   Y button = Take a lidar scan and print several statistics\n')