mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-17 10:41:26 -05:00
add module install check
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
from unittest import TestCase
|
||||
|
||||
import sys
|
||||
if 'cvxpy' not in sys.modules:
|
||||
return
|
||||
|
||||
sys.path.append("./PathTracking/model_predictive_speed_and_steer_control/")
|
||||
|
||||
from PathTracking.model_predictive_speed_and_steer_control import model_predictive_speed_and_steer_control as m
|
||||
|
||||
Reference in New Issue
Block a user