-
Notifications
You must be signed in to change notification settings - Fork 559
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
load sensors_3d.yaml #1387
load sensors_3d.yaml #1387
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1387 +/- ##
==========================================
+ Coverage 61.55% 61.57% +0.03%
==========================================
Files 274 274
Lines 24977 24977
==========================================
+ Hits 15371 15378 +7
+ Misses 9606 9599 -7
Continue to review full report at Codecov.
|
@mikeferguson thank you so much for the PR! I'm unsure why the CI is failing, the failure seems unrelated to this PR, I'll look into it. Pasting the error message just for reference:
|
@vatanaksoytezer don't worry about the build failure quite yet - at least part of it is this PR - the various robot configs in moveit_resources are all missing the sensors_3d.yaml (so the first time around it failed due to missing file - I added a file.exists - but now I see that causes a parsing issue later since it ends up putting an empty dictionary into some of the tests - I'll work on resolving that today) |
@mikeferguson sounds good, thank you for looking at this! |
moveit_configs_utils/moveit_configs_utils/moveit_configs_builder.py
Outdated
Show resolved
Hide resolved
) | ||
if sensors_path.exists(): | ||
sensors_data = load_yaml(sensors_path) | ||
if len(sensors_data["sensors"]) > 0 and sensors_data["sensors"][0]: |
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.
the second part of this (that the first sensor is non-empty) can be removed once moveit/moveit_resources#141 is released
@vatanaksoytezer @DLu this is now ready for a review (tests are passing, I'd suggest we merge with the extra logic and I'll come back and remove that extra checking in a month or so once the moveit_resources stuff percolates through the build farm) |
I just released moveit_resources for rolling and humble with David's fixes: ros/rosdistro#33703 and ros/rosdistro#33702. So we are just waiting them to get merged and synced. @mikeferguson the PR looks good to me, I'm happy to approve and merge if you don't mind adding a TODO and open up an issue to remove it so we don't forget. Thank you very much! |
this implements moveit#1297 - also requires some changes to the MSA, which will be a separate PR to that feature branch
this leads to an error of Failed to handle type {}
98a1e58
to
841dba5
Compare
@vatanaksoytezer TODO has been added (it should only take a few weeks for a sync to happen and then we can remove the code). This has been rebased after the massive feature/msa merge - if you have time to do a review would like to get this in. |
Description
this implements #1297 - also requires some changes to the MSA, which will be a separate PR to that feature branch. The changes are namely:
Example of changes to get a working configuration: mikeferguson/ubr_reloaded@45b9e52
Please explain the changes you made, including a reference to the related issue if applicable
Checklist