Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Allow IMU to reset to custom angles#484

Merged
Octogonapus merged 13 commits into
OkapiLib:masterfrom
jazonshou:master
May 27, 2022
Merged

Allow IMU to reset to custom angles#484
Octogonapus merged 13 commits into
OkapiLib:masterfrom
jazonshou:master

Conversation

@jazonshou
Copy link
Copy Markdown
Contributor

@jazonshou jazonshou commented May 27, 2022

Description of the Change

This feature allows users to reset the IMU angle to angles other than 0.

Motivation

It did not exist before.

Possible Drawbacks

None, as of right now

Verification Process

I checked the math and it should work.

Applicable Issues

Closes #470

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2022

Codecov Report

Merging #484 (158650e) into master (e7e26b5) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #484      +/-   ##
==========================================
- Coverage   88.86%   88.82%   -0.03%     
==========================================
  Files         139      139              
  Lines        5941     5941              
==========================================
- Hits         5279     5277       -2     
- Misses        662      664       +2     

Comment thread include/okapi/impl/device/rotarysensor/IMU.hpp Outdated
Comment thread src/impl/device/rotarysensor/IMU.cpp Outdated
Comment thread src/impl/device/rotarysensor/IMU.cpp Outdated
jazonshou and others added 4 commits May 27, 2022 21:14
Co-authored-by: Octogonapus <firey45@gmail.com>
Co-authored-by: Octogonapus <firey45@gmail.com>
@Octogonapus Octogonapus enabled auto-merge (squash) May 27, 2022 13:34
@Octogonapus Octogonapus merged commit 9f85847 into OkapiLib:master May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow IMU to reset to angles other than 0

2 participants