remove np.matrix

This commit is contained in:
Atsushi Sakai
2018-12-15 18:08:14 +09:00
parent bfc785c998
commit 4dbf642f61
3 changed files with 18 additions and 18 deletions

View File

@@ -172,17 +172,17 @@ def main():
# goal position [x(m), y(m)]
goal = np.array([10, 10])
# obstacles [x(m) y(m), ....]
ob = np.matrix([[-1, -1],
[0, 2],
[4.0, 2.0],
[5.0, 4.0],
[5.0, 5.0],
[5.0, 6.0],
[5.0, 9.0],
[8.0, 9.0],
[7.0, 9.0],
[12.0, 12.0]
])
ob = np.array([[-1, -1],
[0, 2],
[4.0, 2.0],
[5.0, 4.0],
[5.0, 5.0],
[5.0, 6.0],
[5.0, 9.0],
[8.0, 9.0],
[7.0, 9.0],
[12.0, 12.0]
])
u = np.array([0.0, 0.0])
config = Config()