-
Notifications
You must be signed in to change notification settings - Fork 56
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
changed structure in od_angular.h #407
Conversation
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.
Sounds good!
I just spotted a strange line and some clarity improvement.
Also perhaps there is some cast missing, we will have to watch for compilation warnings...
I also enable the bot, so you can consult the result on the bottom.
should i close this PR and make a PR again after correcting my mistakes?? |
@Faizan711, you can make as many loops and corrections as needed in this PR. No need to open a new PR for each correction. Eventually when everything is smooth and reviewed we will merge it. |
I have changed self.private to self as mentioned and also corrected the line mistake mentioned.
@Simonbdy , @nicolas-rabault I have made the corrections mentioned. Please check this and let me know if its correct. |
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.
Watch out not everything should be just self. When you return float values you need to use self.private
because it's a float value.
changed "self.private" for float values and "self" for rest.
@nicolas-rabault I have made the corrections for float values, please check and let me know if it is correct, if not i will make the corrections again. |
You should try to compile a code example using this code and look at the compilation errors to check it out first. |
OK i will try to compile, if i get issues i will connect with you here or in discord. |
For compilation issue Discord is more appropriate, because it's (probably) not directly linked to this particular PR. |
Sorry @nicolas-rabault i was inactive for few days due to my exams. I need some help on how to run the updated script. I also dropped a message in discord but didn't got any response, can you please provide some help? |
I don't know what you mean by |
Sorry i was unclear, i meant the file in which i have made changes. The one named od_angluar.h |
By modifying the file on your local version of Luos_engine and compile the native example I mention Platformio will compile your modified file and display your potential mistakes. |
This Issue have been addresed already in 2.9.0 |
@Simonbdy submiting this PR, you agree with the associated license (Apache 2.0 or MIT) and with our Contributor License Agreement (CLA).
Before to begin
Thank you for contributing to the Luos project!
Before to begin, please follow these steps:
Luos contribution project
Feel free to read the Luos contribution's guidelines and the documentation page to have more insight about how to contribute to Luos.
PR Description section
This PR is regarding a change in structure mentioned in issue #295.
Description and dependencies
Please include here a summary of the changes and the related issue. List any dependencies that are required for this change.
Here i have changed the typedef structure to struct only in the od_angular.h file in OD directory and i want you to verify the change , so i can make the changes to the rest of the files in the OD directory if correct. If something is wrong i will modify it accordingly.
Changes
Please choose the relevant options:
Related issue(s)
Provide a list of the related issues that will be fixed by this PR.
issue number #295
WARNING: Do not edit the checklist below.
Developer section
QA section
🆕 Feature: [Feature] Description...
🆕 Added: [Feature] Description...
🆕 Changed: [Feature] Description...
🛠️ Fix: [Feature] Description...