testing not sending time in mpc
This commit is contained in:
parent
0835690659
commit
2711373d44
|
@ -62,7 +62,7 @@ def f_ode(t, x, u):
|
||||||
class RemoteController:
|
class RemoteController:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
||||||
self.robots = [Robot(5)]
|
self.robots = [Robot(3)]
|
||||||
|
|
||||||
self.robot_ids = {}
|
self.robot_ids = {}
|
||||||
for r in self.robots:
|
for r in self.robots:
|
||||||
|
@ -488,9 +488,10 @@ class RemoteController:
|
||||||
for i in range(0, 1):
|
for i in range(0, 1):
|
||||||
u1 = us1[i]
|
u1 = us1[i]
|
||||||
u2 = us2[i]
|
u2 = us2[i]
|
||||||
self.rc_socket.send('({},{},{})\n'.format(dt,u1, u2))
|
#self.rc_socket.send('({},{},{})\n'.format(dt,u1, u2))
|
||||||
|
self.rc_socket.send('({},{})\n'.format(u1, u2))
|
||||||
self.t = time.time()
|
self.t = time.time()
|
||||||
#time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user