From 5a57e82072c4391859d8c25e8a72862e41cf5ffb Mon Sep 17 00:00:00 2001
From: Martina <martina@rivizzigno.it>
Date: Mon, 24 Sep 2018 09:06:57 +0200
Subject: [PATCH] navigator: clarify NaN return for get_yaw_acceptance

---
 src/modules/navigator/navigator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/navigator/navigator.h b/src/modules/navigator/navigator.h
index 99e70b9e52..0e0c655ebe 100644
--- a/src/modules/navigator/navigator.h
+++ b/src/modules/navigator/navigator.h
@@ -253,7 +253,7 @@ public:
 	 *
 	 * @param mission_item_yaw the yaw to use in case the controller-derived radius is finite
 	 *
-	 * @return the yaw at which the next waypoint should be used or if the yaw at a waypoint
+	 * @return the yaw at which the next waypoint should be used or NaN if the yaw at a waypoint
 	 * should be ignored
 	 */
 	float 		get_yaw_acceptance(float mission_item_yaw);
-- 
GitLab