-
Notifications
You must be signed in to change notification settings - Fork 357
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
Fix child_frame_id
in controller_state_msg
#1601
base: master
Are you sure you want to change the base?
Conversation
…_frame_ids_in_controller_state
child_frame
in controller_state_msg
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.
please have a look at the failing CI jobs
Pretty sure I just fixed the child_frame issue + the failing Cl jobs in the newest commit "fixing spaces". |
This may be something very small that I am overlooking, but all the tests are failing from the first version of my code, instead of the newest commit. Is there something else that I have to do than pushing changes to the feature branch? |
1 similar comment
This may be something very small that I am overlooking, but all the tests are failing from the first version of my code, instead of the newest commit. Is there something else that I have to do than pushing changes to the feature branch? |
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.
This PR doesn't even build. Have you tested it locally before?
admittance_controller/include/admittance_controller/admittance_rule_impl.hpp
Outdated
Show resolved
Hide resolved
child_frame
in controller_state_msgchild_frame_id
in controller_state_msg
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.
have you run the tests locally?
$ colcon test --packages-select admittance_controller
gives
2: [ RUN ] AdmittanceControllerTest.check_frame_ids_in_controller_state
2: [INFO] [1742761539.052313660] [test_admittance_controller]: No specific joint names are used for command interfaces. Using 'joints' parameter.
2: [INFO] [1742761539.052334767] [test_admittance_controller]: state int types are: position
2:
2: [INFO] [1742761539.052340550] [test_admittance_controller]: command int types are: position
2:
2: [INFO] [1742761539.052343866] [test_admittance_controller]: chainable int types are: position
2:
2: [INFO] [1742761539.052363494] [test_admittance_controller]: chainable int types are: velocity
2:
2: [INFO] [1742761539.052372673] [test_admittance_controller]: Command interfaces are [position] and and state interfaces are [position].
2: /workspaces/ros2_rolling_ws/src/ros2_controllers/admittance_controller/test/test_admittance_controller.cpp:369: Failure
2: Expected equality of these values:
2: msg.ref_trans_base_ft.header.frame_id
2: Which is: ""
2: controller_->admittance_->parameters_.kinematics.base
2: Which is: "base_link"
2:
2: [ FAILED ] AdmittanceControllerTest.check_frame_ids_in_controller_state (10 ms)
for some reason I am not able to run these changes locally, colcon checks the install folder on my machine but the install folder is empty. Any help? This is the command and output
|
@rehanshah17 did you try building the package? |
upon building I get
with a summary of
|
have you installed ros2_control as binaries, or do you want to build it from source? if it is in your workspace, run |
I had to download it from robostack, so I am pretty sure I downloaded it from source.
|
I never used robostack, sorry. But you can clone the missing package from https://github.com/pal-robotics/backward_ros |
Closing #504
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
To send us a pull request, please:
colcon test
andpre-commit run
(requires you to install pre-commit bypip3 install pre-commit
)