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

removed imumath.h and other libraries, Just simple data structures #101

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

walchko
Copy link

@walchko walchko commented Jan 18, 2021

Ok, so I made a simple Vector and Quaternion class that is MIT licensed. They are really simple.

  • Removed Matrix class, wasn't used
  • Vector is only 3D now, (x,y,z)
  • You can directly access the x,y, and z values ... no need for functions (vector.x() is now vector.x)
  • Vector is no longer a template ... it was overkill, because only the double version was ever used
  • Quaternion only has normalize, all other mathematics were removed
  • Like the vector, you can directly access the data values

@walchko
Copy link
Author

walchko commented Jan 19, 2021

I am not sure what this error is

@ladyada
Copy link
Member

ladyada commented Jan 19, 2021

click Details for the CI failure
image

this guide covers details!
https://learn.adafruit.com/contribute-to-arduino-with-git-and-github

@walchko
Copy link
Author

walchko commented Jan 19, 2021

OMG, this was overly complicated ... understand what you are doing here (good stuff), but this was painful. I spent more time learning your system than making the changes. If you have to read a guide to make a pull request, I am tempted to say something is wrong. I admit I could be 100% wrong, but if you can simplify this so it is less painful for us to help out and your team can do the cleanup, maybe that is better. I also recognize good formatting and proper documentation is important so you are doing nothing wrong ... it was just slow and painful to do.

@ladyada
Copy link
Member

ladyada commented Jan 19, 2021

hi, we didn't used to have CI for about a decade... and we would get PRs that broke existing code (about 50%), reformatted the entire codebase (VS does 'clang-format' by default on all files in a project) or were not documented. it became completely untenable because we could not trust or review any PR. firmware is very late to CI, almost all software projects already use it so its common. with 1400 repos, this is the only way to do it :)

@ladyada ladyada requested a review from makermelissa January 19, 2021 16:39
@ladyada
Copy link
Member

ladyada commented Jan 19, 2021

thanks for the PR, we will review it to make sure it still works with our tests!

@walchko
Copy link
Author

walchko commented Jan 19, 2021

hi, we didn't used to have CI for about a decade... and we would get PRs that broke existing code (about 50%), reformatted the entire codebase (VS does 'clang-format' by default on all files in a project) or were not documented. it became completely untenable because we could not trust or review any PR. firmware is very late to CI, almost all software projects already use it so its common. with 1400 repos, this is the only way to do it :)

Again ... totally understand and I don't have a better suggestion, please just take my rant as feedback ... thanks! 😄

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.

2 participants