Skip to content

Commit

Permalink
Update gimbal.cpp
Browse files Browse the repository at this point in the history
Removed sleep after gimbal.take_control
  • Loading branch information
KarthiAru committed Aug 30, 2024
1 parent b3e8063 commit c9c1c2a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/gimbal/gimbal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ int main(int argc, char** argv)

std::cout << "Start controlling gimbal...\n";
Gimbal::Result gimbal_result = gimbal.take_control(gimbal_id, Gimbal::ControlMode::Primary);
sleep_for(seconds(5));
if (gimbal_result != Gimbal::Result::Success) {
std::cerr << "Could not take gimbal control: " << gimbal_result << '\n';
return 1;
Expand Down

0 comments on commit c9c1c2a

Please sign in to comment.