Fix child_frame_id in controller_state_msg#1601
Fix child_frame_id in controller_state_msg#1601christophfroehlich merged 13 commits intoros-controls:masterfrom
child_frame_id in controller_state_msg#1601Conversation
…_frame_ids_in_controller_state
child_frame in controller_state_msg
christophfroehlich
left a comment
There was a problem hiding this comment.
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? |
saikishor
left a comment
There was a problem hiding this comment.
This PR doesn't even build. Have you tested it locally before?
child_frame in controller_state_msgchild_frame_id in controller_state_msg
christophfroehlich
left a comment
There was a problem hiding this comment.
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 |
|
The tests are still failing |
|
@rehanshah17 can you please fix the failing test? |
Fixed that. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1601 +/- ##
=======================================
Coverage 85.63% 85.64%
=======================================
Files 123 123
Lines 12409 12417 +8
Branches 1057 1057
=======================================
+ Hits 10627 10635 +8
Misses 1432 1432
Partials 350 350
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
1321ae8
into
ros-controls:master
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com> (cherry picked from commit 1321ae8)
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com> (cherry picked from commit 1321ae8)
Co-authored-by: Rehan Shah <85085446+rehanshah17@users.noreply.github.com> Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
Co-authored-by: Rehan Shah <85085446+rehanshah17@users.noreply.github.com> Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
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 testandpre-commit run(requires you to install pre-commit bypip3 install pre-commit)