mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 04:08:05 -05:00
update test
This commit is contained in:
@@ -552,9 +552,9 @@ def main():
|
||||
dl = 1.0 # course tick
|
||||
# cx, cy, cyaw, ck = get_straight_course(dl)
|
||||
# cx, cy, cyaw, ck = get_straight_course2(dl)
|
||||
cx, cy, cyaw, ck = get_straight_course3(dl)
|
||||
# cx, cy, cyaw, ck = get_straight_course3(dl)
|
||||
# cx, cy, cyaw, ck = get_forward_course(dl)
|
||||
# CX, cy, cyaw, ck = get_switch_back_course(dl)
|
||||
cx, cy, cyaw, ck = get_switch_back_course(dl)
|
||||
|
||||
sp = calc_speed_profile(cx, cy, cyaw, TARGET_SPEED)
|
||||
|
||||
@@ -617,5 +617,5 @@ def main2():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
# main()
|
||||
main2()
|
||||
main()
|
||||
# main2()
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
from unittest import TestCase
|
||||
|
||||
import sys
|
||||
sys.path.append("./AerialNavigation/rocket_powered_landing/")
|
||||
|
||||
from AerialNavigation.rocket_powered_landing import rocket_powered_landing as m
|
||||
print(__file__)
|
||||
if 'cvxpy' in sys.modules: # pragma: no cover
|
||||
sys.path.append("./AerialNavigation/rocket_powered_landing/")
|
||||
|
||||
from AerialNavigation.rocket_powered_landing import rocket_powered_landing as m
|
||||
print(__file__)
|
||||
|
||||
class Test(TestCase):
|
||||
class Test(TestCase):
|
||||
|
||||
def test1(self):
|
||||
m.show_animation = False
|
||||
m.main()
|
||||
def test1(self):
|
||||
m.show_animation = False
|
||||
m.main()
|
||||
|
||||
Reference in New Issue
Block a user