From 7127c1e4e96207ba0d60c680bf305908493c65d7 Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Mon, 18 Nov 2019 11:33:25 +0300 Subject: [PATCH] tools: Fix change_landing script --- tools/change_landing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/change_landing.py b/tools/change_landing.py index 15d1bcc..c9ef476 100644 --- a/tools/change_landing.py +++ b/tools/change_landing.py @@ -53,8 +53,8 @@ def parse_positions_file(filename): n_str = pos_file.readline()[:-1].split(' ') nx = int(n_str[0]) ny = int(n_str[1]) - dx = int(n_str[2]) - dy = int(n_str[3]) + dx = float(n_str[2]) + dy = float(n_str[3]) pos_str = pos_file.readline()[:-1].split(' ') for i in range(3): pos.append(float(pos_str[i]))