move acados deps out of devpackages (#22376)

* move acados deps out of devpackages

* fix new pylint errors
pull/22381/head
Willem Melching 4 years ago committed by GitHub
parent a8b4249ebc
commit a60f3c6a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Pipfile
  2. 2657
      Pipfile.lock
  3. 1
      selfdrive/boardd/tests/replay_many.py
  4. 5
      selfdrive/thermald/tests/test_power_monitoring.py

@ -74,13 +74,13 @@ parameterized = "*"
ft4222 = "*" ft4222 = "*"
hypothesis = "*" hypothesis = "*"
inputs = "*" inputs = "*"
casadi = "*"
future-fstrings = "*" # for acados
[packages] [packages]
atomicwrites = "*" atomicwrites = "*"
casadi = "*"
cffi = "*" cffi = "*"
crcmod = "*" crcmod = "*"
future-fstrings = "*" # for acados
hexdump = "*" hexdump = "*"
libusb1 = "*" libusb1 = "*"
numpy = "*" numpy = "*"

2657
Pipfile.lock generated

File diff suppressed because it is too large Load Diff

@ -21,7 +21,6 @@ def initializer():
signal.signal(signal.SIGINT, signal.SIG_IGN) signal.signal(signal.SIGINT, signal.SIG_IGN)
def send_thread(sender_serial): def send_thread(sender_serial):
global jungle
while True: while True:
try: try:
if jungle: if jungle:

@ -134,7 +134,6 @@ class TestPowerMonitoring(unittest.TestCase):
# Test to check policy of stopping charging after MAX_TIME_OFFROAD_S # Test to check policy of stopping charging after MAX_TIME_OFFROAD_S
@parameterized.expand(ALL_PANDA_TYPES) @parameterized.expand(ALL_PANDA_TYPES)
def test_max_time_offroad(self, hw_type): def test_max_time_offroad(self, hw_type):
global ssb
BATT_VOLTAGE = 4 BATT_VOLTAGE = 4
BATT_CURRENT = 0 # To stop shutting down for other reasons BATT_CURRENT = 0 # To stop shutting down for other reasons
MOCKED_MAX_OFFROAD_TIME = 3600 MOCKED_MAX_OFFROAD_TIME = 3600
@ -154,7 +153,6 @@ class TestPowerMonitoring(unittest.TestCase):
# Test to check policy of stopping charging when the car voltage is too low # Test to check policy of stopping charging when the car voltage is too low
@parameterized.expand(ALL_PANDA_TYPES) @parameterized.expand(ALL_PANDA_TYPES)
def test_car_voltage(self, hw_type): def test_car_voltage(self, hw_type):
global ssb
BATT_VOLTAGE = 4 BATT_VOLTAGE = 4
BATT_CURRENT = 0 # To stop shutting down for other reasons BATT_CURRENT = 0 # To stop shutting down for other reasons
TEST_TIME = 100 TEST_TIME = 100
@ -171,7 +169,6 @@ class TestPowerMonitoring(unittest.TestCase):
# Test to check policy of not stopping charging when DisablePowerDown is set # Test to check policy of not stopping charging when DisablePowerDown is set
def test_disable_power_down(self): def test_disable_power_down(self):
global ssb
BATT_VOLTAGE = 4 BATT_VOLTAGE = 4
BATT_CURRENT = 0 # To stop shutting down for other reasons BATT_CURRENT = 0 # To stop shutting down for other reasons
TEST_TIME = 100 TEST_TIME = 100
@ -189,7 +186,6 @@ class TestPowerMonitoring(unittest.TestCase):
# Test to check policy of not stopping charging when ignition # Test to check policy of not stopping charging when ignition
def test_ignition(self): def test_ignition(self):
global ssb
BATT_VOLTAGE = 4 BATT_VOLTAGE = 4
BATT_CURRENT = 0 # To stop shutting down for other reasons BATT_CURRENT = 0 # To stop shutting down for other reasons
TEST_TIME = 100 TEST_TIME = 100
@ -206,7 +202,6 @@ class TestPowerMonitoring(unittest.TestCase):
# Test to check policy of not stopping charging when harness is not connected # Test to check policy of not stopping charging when harness is not connected
def test_harness_connection(self): def test_harness_connection(self):
global ssb
BATT_VOLTAGE = 4 BATT_VOLTAGE = 4
BATT_CURRENT = 0 # To stop shutting down for other reasons BATT_CURRENT = 0 # To stop shutting down for other reasons
TEST_TIME = 100 TEST_TIME = 100

Loading…
Cancel
Save