Skip to content

Commit

Permalink
[Beetle][Navigation] Use init height to land height to avoid unexpect…
Browse files Browse the repository at this point in the history
…ed rotor disarming during landing motion.
  • Loading branch information
sugihara-16 committed Nov 13, 2024
1 parent b7a4c55 commit 3e6620e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions robots/beetle/src/beetle_navigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ void BeetleNavigator::update()
GimbalrotorNavigator::update();
setControlFlag((getNaviState() == HOVER_STATE || getNaviState() == TAKEOFF_STATE || getNaviState() == LAND_STATE) ? true : false);
convertTargetPosFromCoG2CoM();
land_height_ = getInitHeight();
}

void BeetleNavigator::rotateContactPointFrame()
Expand Down

0 comments on commit 3e6620e

Please sign in to comment.