-
-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update gimbal.cpp #2387
Update gimbal.cpp #2387
Conversation
KarthiAru
commented
Aug 29, 2024
- Added gimbal_id param to all the gimbal methods
- Updated yaw values to point to NESW directions
- Added gimbal_id param to all the gimbal methods - Updated yaw values to point to NESW directions
Minor fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
if (gimbal_result != Gimbal::Result::Success) { | ||
std::cerr << "Could not take gimbal control: " << gimbal_result << '\n'; | ||
return 1; | ||
} | ||
|
||
// Fetch the gimbal attitude | ||
auto [result, attitude] = gimbal.get_attitude(gimbal_id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Removed sleep after gimbal.take_control
c9c1c2a
Quality Gate passedIssues Measures |