Skip to content

Commit

Permalink
split cannot be used with lists (#2202)
Browse files Browse the repository at this point in the history
  • Loading branch information
noether authored and podhrmic committed Dec 9, 2017
1 parent a84f23d commit d5ab88d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sw/ground_segment/python/gvf/README
Expand Up @@ -5,5 +5,5 @@ gvfApp draws an aircraft following the guidance vector vield, ex:
python gvfApp 80 , draws for the aircraft with id 80.

gvfFormation control several aircraft in a circular formation, ex:
python gvfFormation ./formation/topology.txt ./formation/sigmas.txt
python gvfFormation.py ./formation/topology.txt ./formation/sigmas.txt
./formation/ids.txt 80 10
6 changes: 3 additions & 3 deletions sw/ground_segment/python/gvf/gvfframe.py
Expand Up @@ -70,7 +70,7 @@ def message_recv(self, ac_id, msg):
and self.timer_traj == self.timer_traj_lim:
self.s = int(msg.get_field(2))
self.ke = float(msg.get_field(3))
param = [float(x) for x in msg.get_field(4).split(',')]
param = [float(x) for x in msg.get_field(4)]
a = param[0]
b = param[1]
c = param[2]
Expand All @@ -84,7 +84,7 @@ def message_recv(self, ac_id, msg):
and self.timer_traj == self.timer_traj_lim:
self.s = int(msg.get_field(2))
self.ke = float(msg.get_field(3))
param = [float(x) for x in msg.get_field(4).split(',')]
param = [float(x) for x in msg.get_field(4)]
ex = param[0]
ey = param[1]
ea = param[2]
Expand All @@ -99,7 +99,7 @@ def message_recv(self, ac_id, msg):
and self.timer_traj == self.timer_traj_lim:
self.s = int(msg.get_field(2))
self.ke = float(msg.get_field(3))
param = [float(x) for x in msg.get_field(4).split(',')]
param = [float(x) for x in msg.get_field(4)]
a = param[0]
b = param[1]
alpha = param[2]
Expand Down

0 comments on commit d5ab88d

Please sign in to comment.