diff --git a/sw/ground_segment/python/gvf/README b/sw/ground_segment/python/gvf/README index 9bed787c75..d58674ebd0 100644 --- a/sw/ground_segment/python/gvf/README +++ b/sw/ground_segment/python/gvf/README @@ -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 diff --git a/sw/ground_segment/python/gvf/gvfframe.py b/sw/ground_segment/python/gvf/gvfframe.py index 9fd0e18bcd..4b364d57a4 100644 --- a/sw/ground_segment/python/gvf/gvfframe.py +++ b/sw/ground_segment/python/gvf/gvfframe.py @@ -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]