add module install check

This commit is contained in:
Atsushi Sakai
2018-11-02 22:16:28 +09:00
parent a2e912d581
commit 47e8764923
2 changed files with 17 additions and 11 deletions

View File

@@ -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