From cb0995cfdf3ab2727680223e6650ab6e8db14328 Mon Sep 17 00:00:00 2001 From: Hoop77 <p.badenhoop@gmx.de> Date: Wed, 5 Sep 2018 16:18:38 +0200 Subject: [PATCH] - --- src/odroid/catkin_ws/src/car/scripts/odometry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/odroid/catkin_ws/src/car/scripts/odometry.py b/src/odroid/catkin_ws/src/car/scripts/odometry.py index 447e2ae..072b34d 100644 --- a/src/odroid/catkin_ws/src/car/scripts/odometry.py +++ b/src/odroid/catkin_ws/src/car/scripts/odometry.py @@ -114,7 +114,7 @@ def plot_future(odom, idx, odom_ax, future_ax=None): future_ax.scatter(x, y, s=10, c="r") future_ax.scatter(0, 0, s=10, c="b") angle, r = compute_turn(coords) - plot_circle(r, "ground truth angle: {}°".format(np.rad2deg(angle)), future_ax, color="r", pos=(0.05, 0.15)) + plot_circle(r, "ground truth angle: {}".format(np.rad2deg(angle)), future_ax, color="r", pos=(0.05, 0.15)) def plot_prediction(idx, model, data_dir, odom_ax, future_ax, image_ax=None): @@ -129,7 +129,7 @@ def plot_prediction(idx, model, data_dir, odom_ax, future_ax, image_ax=None): y = [coord[1] for coord in coords] future_ax.scatter(x, y, s=10, c="g") angle, r = compute_turn(coords) - plot_circle(r, "predicted angle: {}°".format(np.rad2deg(angle)), future_ax, color="g") + plot_circle(r, "predicted angle: {}".format(np.rad2deg(angle)), future_ax, color="g") def plot_circle(r, label, ax, color="b", pos=(0.05, 0.05)): -- GitLab