8000 Completed tests for manipulability · ljthink/robotics-toolbox-python@97c0126 · GitHub
[go: up one dir, main page]

Skip to content

Commit 97c0126

Browse files
committed
Completed tests for manipulability
1 parent 5067c68 commit 97c0126

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-3
lines changed

robotics-toolbox-python/Makefile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
FILES = utility.py \
2+
transform.py \
3+
Quaternion.py \
4+
jacobian.py \
5+
trajectory.py \
6+
kinematics.py \
7+
dynamics.py \
8+
manipulability.py \
9+
Link.py \
10+
Robot.py \
11+
puma560.py \
12+
puma560akb.py \
13+
stanford.py \
14+
twolink.py
15+
PFILES = $(addprefix robot/, $(FILES))
16+
17+
VERSION = $(shell svn info -r HEAD | grep Revision | awk '{print $$2}')
18+
PASSWORD = $(shell cat .password)
19+
20+
all:
21+
echo $(VERSION)
22+
23+
code:
24+
zip -r pytb-$(VERSION) robot demo test -x \*/.svn/\* -x \*~ -x \*.pyc
25+
echo Uploading code version $(VERSION)
26+
googlecode_upload.py \
27+
-s 'Python code (snapshot)' \
28+
-p robotics-toolbox-python \
29+
-u peter.i.corke \
30+
-l Type-Source,OpSys-All,Type-Archive \
31+
-P $(PASSWORD) \
32+
pytb-$(VERSION).zip
33+
34+
doc:
35+
epydoc $(PFILES)
36+
zip -r pytb-doc-$(VERSION) html
37+
echo Uploading doc version $(VERSION)
38+
googlecode_upload.py \
39+
-s 'HTML documentation (snapshot)' \
40+
-p robotics-toolbox-python \
41+
-u peter.i.corke \
42+
-l Type-Docs,OpSys-All,Type-Archive \
43+
-P $(PASSWORD) \
44+
pytb-doc-$(VERSION).zip

robotics-toolbox-python/test/manip.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
manipulability(p560, q, 'yoshi')
1414
manipulability(p560, q, 'y')
1515
manipulability(p560, q, 'asada')
16-
a=manipulability(p560, q, 'a')
17-
real(a)
18-
imag(a)
16+
manipulability(p560, q, 'a')
1917
manipulability(p560, q, 'z')
2018
2119
qq = vstack((q, q, q, q))

0 commit comments

Comments
 (0)
0