-
Notifications
You must be signed in to change notification settings - Fork 302
Preserve sign of thrust_coefficient #1402
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
Conversation
FYI @arjo129 @mabelzhang |
DCO check failed; I just uploaded my key, so it should succeed next time. Closing & reopening. |
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 for the changes.
To fix the DCO check out the instructions here:
https://github.com/ignitionrobotics/ign-gazebo/pull/1402/checks?check_run_id=5612527595
You need to git rebase HEAD~2 --signoff
and the force push git push --force-with-lease origin sfix_1399
.
Regarding codecheck as long as make codecheck
returns a zero you can ignore the previous warnings.
A few other knits:
- We need to document the default behavior of the propeller being counterclockwise when positive and clockwise when negative in
src/systems/thruster/Thruster.hh
- We need to verify if this behaviour is consistent when
<use_ang_vel>
is set.
Codecov Report
@@ Coverage Diff @@
## main #1402 +/- ##
==========================================
+ Coverage 62.22% 62.34% +0.12%
==========================================
Files 316 317 +1
Lines 24317 24419 +102
==========================================
+ Hits 15131 15224 +93
- Misses 9186 9195 +9
Continue to review full report at Codecov.
|
Signed-off-by: Clyde McQueen <[email protected]>
Signed-off-by: Clyde McQueen <[email protected]>
Thanks @arjo129. I will add the additional documentation and tests. |
Signed-off-by: Clyde McQueen <[email protected]>
…rams Signed-off-by: Clyde McQueen <[email protected]>
I think this addresses all of the feedback:
I also made a few other changes to the documentation in Thruster.hh:
I'm happy for other feedback. |
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 for these changes. They look good to me.
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.
LGTM, I just have a nitpick about the documentation
Signed-off-by: Clyde McQueen <[email protected]>
@chapulina please take another look. ignition_gazebo-ci-pr_any-homebrew-amd64 failed 1 test but for unrelated reasons? Thanks |
Hello, I am trying to build Ignition from source with this patch but I am having problems matching all the packages versions. |
Hello, @Rezenders Please see PR#2 in bluerov2_ignition. It's not complete, but it does include the hashes you are looking for. |
Thanks for the reply. I will try it. |
You are missing the |
Thanks @mjcarroll for your reply. However, I still have the same error. |
Update: I was indeed missing libfreeimage-dev, so I went through installing all the dependencies again and found I was missing some others as well. This resolved the issue, thanks for the help! |
🦟 Bug fix
Fixes #1399
Summary
Preserve the signs of thrust and thrust_coefficient so that ThrustToAngularVec() is the inverse of AngularVelToThrust(). This provides support for clockwise thrusters.
I modified the
ThrusterTest
fixture to also preserve the signs of thrust and thrust_coefficient. I added one test. All tests pass.make codecheck
seems to generate a lot of unrelated cppcheck problems, perhaps I have something set up wrong?./tools/clang_tidy.sh
seemed to get stuck on/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/variant
-- I'm not sure what is going on there.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.