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

Log an error if JointPositionController cannot find the joint. (citadel retarget) #1314

Merged
merged 3 commits into from
Jan 28, 2022

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Jan 28, 2022

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

🎉 New feature

Supercedes #1313.

Closes #

Summary

In the event a user enters the wrong name for a certain joint, the JointPositionController system will silently fail. This PR adds a simple error message that tells the user that the joint was not found.

Signed-off-by: Arjo Chakravarty [email protected]

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

In the event a user enters the wrong name for a certain joint, the JointPositionController system will silently fail. This PR adds a simple error message that tells the user that the joint was not found.

Signed-off-by: Arjo Chakravarty <[email protected]>
Signed-off-by: Arjo Chakravarty <[email protected]>
@arjo129 arjo129 requested a review from chapulina as a code owner January 28, 2022 07:37
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Jan 28, 2022
@arjo129 arjo129 changed the title Arjo/3/feat/jointcontroller Log an error if JointPositionController cannot find the joint. (citadel retarget) Jan 28, 2022
Signed-off-by: Arjo Chakravarty <[email protected]>
@codecov
Copy link

codecov bot commented Jan 28, 2022

Codecov Report

Merging #1314 (712efcb) into ign-gazebo3 (749884d) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           ign-gazebo3    #1314      +/-   ##
===============================================
- Coverage        77.21%   77.19%   -0.02%     
===============================================
  Files              227      227              
  Lines            13574    13578       +4     
===============================================
+ Hits             10481    10482       +1     
- Misses            3093     3096       +3     
Impacted Files Coverage Δ
...int_position_controller/JointPositionController.cc 73.07% <0.00%> (-2.93%) ⬇️
src/Server.cc 84.93% <0.00%> (+0.60%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 749884d...712efcb. Read the comment docs.

@ahcorde
Copy link
Contributor

ahcorde commented Jan 28, 2022

Thank you @arjo129

@arjo129 arjo129 merged commit ebb3a9a into ign-gazebo3 Jan 28, 2022
@arjo129 arjo129 deleted the arjo/3/feat/jointcontroller branch January 28, 2022 08:48
@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1

@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-ignition-releases-2022-04-13-fortress-edifice/1367/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants