From 7048c28142c28ca7610a0bfc09f9d9434a916c39 Mon Sep 17 00:00:00 2001 From: David St-Onge Date: Mon, 30 Jul 2018 01:23:05 -0400 Subject: [PATCH] nav param removed scaling --- buzz_scripts/include/act/states.bzz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buzz_scripts/include/act/states.bzz b/buzz_scripts/include/act/states.bzz index 9fa5df6..5e1db50 100644 --- a/buzz_scripts/include/act/states.bzz +++ b/buzz_scripts/include/act/states.bzz @@ -98,7 +98,7 @@ function goto_gps(transf) { else { #LimitSpeed(m_navigation, 1.0) log("NAVIGATION !!!! distance to target: ", math.vec2.length(m_navigation)," angle", math.vec2.angle(m_navigation) ) - goto_abs(m_navigation.x/2.0, m_navigation.y/2.0, rc_goto.altitude - pose.position.altitude, 0.0) + goto_abs(m_navigation.x, m_navigation.y, rc_goto.altitude - pose.position.altitude, 0.0) } }