Skip to content
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

🐛Fixed Imu::is_calibrating function for PROS 3 #626 #628

Merged
merged 5 commits into from
Mar 12, 2024

Conversation

Gracelu128
Copy link
Contributor

@Gracelu128 Gracelu128 commented Feb 3, 2024

Summary:

Fixed Imu::is_calibrating function to return correct values.

Motivation:

Users can use this function to properly check if their connected imu is calibrating or not, and also get the proper return value of false if they call this function on an imu that is not connected.

Test Plan:

  • Tested function on imu that is not connected
  • Tested function on connected imu but not calibrating
  • Tested function on connected imu that is calibrating

Elaborating on imu_status_e value types
@Gracelu128 Gracelu128 reopened this Feb 4, 2024
@WillXuCodes
Copy link
Member

Closes: #626

@Gracelu128 Gracelu128 changed the title 🐛Fixed Imu::is_calibrating function #626 🐛Fixed Imu::is_calibrating function for PROS 3 #626 Feb 4, 2024
Copy link
Contributor

@noam987 noam987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert main.cpp and then this looks good

@noam987 noam987 self-requested a review March 12, 2024 18:53
Copy link
Contributor

@noam987 noam987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@noam987 noam987 merged commit dbb4599 into develop Mar 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants