selfdrive.controls.lib.tests package

Submodules

selfdrive.controls.lib.tests.test_alertmanager module

class selfdrive.controls.lib.tests.test_alertmanager.TestAlertManager(methodName='runTest')[source]

Bases: TestCase

test_duration()[source]

Enforce that an alert lasts for max(alert duration, duration the alert is added)

selfdrive.controls.lib.tests.test_latcontrol module

class selfdrive.controls.lib.tests.test_latcontrol.TestLatControl(methodName='runTest')[source]

Bases: TestCase

test_saturation = None
test_saturation_0_HONDA_CIVIC()
test_saturation_1_TOYOTA_RAV4()
test_saturation_2_NISSAN_LEAF()

selfdrive.controls.lib.tests.test_vehicle_model module

class selfdrive.controls.lib.tests.test_vehicle_model.TestVehicleModel(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_dyn_ss_sol_against_yaw_rate()[source]

Verify that the yaw_rate helper function matches the results from the state space model.

test_round_trip_yaw_rate()[source]
test_syn_ss_sol_simulate()[source]

Verifies that dyn_ss_sol matches a simulation

Module contents