Skip to content

[AdmittanceController] It looks like an unintentional copy-paste has happened #504

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

Open
9 tasks
destogl opened this issue Jan 13, 2023 · 3 comments · May be fixed by #1601
Open
9 tasks

[AdmittanceController] It looks like an unintentional copy-paste has happened #504

destogl opened this issue Jan 13, 2023 · 3 comments · May be fixed by #1601

Comments

@destogl
Copy link
Member

destogl commented Jan 13, 2023

Those two lines seems to be a small bug. The second line should probably be:

state_message_.ref_trans_base_ft.child_frame = parameters_.ft_sensor.frame.id;

state_message_.ref_trans_base_ft.header.frame_id = parameters_.kinematics.base;
state_message_.ref_trans_base_ft.header.frame_id = "ft_reference";

  • Please add check of this frames in the tests, so we are sure that everything is set correctly.

Instructions

Hi, this is a good-first-issue issue. This means we've worked to make it more legible to people who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

We're interested in helping you take the first step, and can answer questions and help you out along the way. Note that we're especially interested in contributions from underrepresented groups!

We know that creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

If you have contributed before, consider leaving this PR for someone new, and looking through our general bug issues. Thanks!

🤔 What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

📋 Step by Step

  • 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • 🗄️ Create a local workspace for making your changes and testing following these instructions, for Step3 use "Download Source Code" section with these instructions.

  • 🍴 Fork the repository using the handy button at the top of the repository page and clone it into ~/ws_ros2_control/src/ros-controls/ros2_controllers, here is a guide that you can follow (You will have to remove or empty the existing ros2_controllers folder before cloning your own fork)

  • Checkout a new branch using git checkout -b <branch_name>

  • 🤖 Apply pre-commit auto formatting, by running pip3 install pre-commit and running pre-commit install in the ros2_control repo.

  • 💾 Commit and Push your changes

  • 🔀 Start a Pull Request to request to merge your code into master. There are two ways that you can start a pull request:

  1. If you are not familiar with GitHub or how to create a pull request, here is a guide you can follow on how GitHub works.
  • 🏁 Done Ask in comments for a review :)

Is someone else already working on this?

🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone's already started on it.

👥- If someone seems stuck, offer them some help!

🤔❓ Questions?

Don’t hesitate to ask questions or to get help if you feel like you are getting stuck. For example leave a comment below!
Furthermore, you find helpful resources here:

Good luck with your first issue!

@rehanshah17
Copy link

rehanshah17 commented Mar 19, 2025

@destogl i'm interested to take this issue up and contribute. Could you help me set up / start. I have an idea of what I want to do but not too sure how to execute.

@christophfroehlich
Copy link
Contributor

Have a look at the contribution guidelines on control.ros.org. I also added the first-issue template to the initial post.

The solution for the fix is already given above, the question is how to test that. Have a look at the existing tests, and where the new test would fit.

rehanshah17 added a commit to rehanshah17/ros2_controllers that referenced this issue Mar 20, 2025
@christophfroehlich christophfroehlich linked a pull request Mar 20, 2025 that will close this issue
6 tasks
@christophfroehlich christophfroehlich linked a pull request Mar 20, 2025 that will close this issue
6 tasks
@rehanshah17
Copy link

I fixed child frame in the test I created, and updated my pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants