mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:22 -04:00
RRT* for seven joint arm control (#439)
This commit is contained in:
committed by
GitHub
parent
e0a8ab2368
commit
65debdc332
26
tests/test_rrt_star_seven_joint_arm.py
Normal file
26
tests/test_rrt_star_seven_joint_arm.py
Normal file
@@ -0,0 +1,26 @@
|
||||
import os
|
||||
import sys
|
||||
from unittest import TestCase
|
||||
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)) +
|
||||
"/../ArmNavigation/seven_joint_arm_to_point_control/")
|
||||
|
||||
try:
|
||||
import rrt_star_seven_joint_arm as m
|
||||
except ImportError:
|
||||
raise
|
||||
|
||||
|
||||
print(__file__)
|
||||
|
||||
|
||||
class Test(TestCase):
|
||||
|
||||
def test1(self):
|
||||
m.show_animation = False
|
||||
m.main()
|
||||
|
||||
|
||||
if __name__ == '__main__': # pragma: no cover
|
||||
test = Test()
|
||||
test.test1()
|
||||
Reference in New Issue
Block a user