diff --git a/src/odroid/catkin_ws/src/car/scripts/odometry.py b/src/odroid/catkin_ws/src/car/scripts/odometry.py index 447e2aeced929526b92c2ae7fd60d3657786cbfe..072b34da956e732854b3644fc8db29b358ff57ea 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)):