nav param removed scaling
This commit is contained in:
parent
fbc5bd8e72
commit
7048c28142
@ -98,7 +98,7 @@ function goto_gps(transf) {
|
|||||||
else {
|
else {
|
||||||
#LimitSpeed(m_navigation, 1.0)
|
#LimitSpeed(m_navigation, 1.0)
|
||||||
log("NAVIGATION !!!! distance to target: ", math.vec2.length(m_navigation)," angle", math.vec2.angle(m_navigation) )
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user