split cannot be used with lists (#2202)

This commit is contained in:
Hector Garcia de Marina
2017-12-06 16:08:18 +01:00
committed by Gautier Hattenberger
parent 2c35ebeb80
commit 555eed9f75
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -70,7 +70,7 @@ class GVFFrame(wx.Frame):
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]
@@ -84,7 +84,7 @@ class GVFFrame(wx.Frame):
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]
@@ -99,7 +99,7 @@ class GVFFrame(wx.Frame):
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]