Skip to content

Commit

Permalink
disabled motion checks when in offboard (during countdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Oct 23, 2024
1 parent 7f36bb7 commit 479dd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/automatic_start.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ void AutomaticStart::timerMain([[maybe_unused]] const ros::TimerEvent& event) {

bool possibly_in_the_air = !speed_valid || !height_valid || !gyros_valid;

if (possibly_in_the_air) {
if (!offboard && possibly_in_the_air) {

ROS_WARN_THROTTLE(1.0, "[AutomaticStart]: preflight check failed, the UAV is possibly in the air");

Expand Down

0 comments on commit 479dd43

Please sign in to comment.