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

Fix various issues with Noetic build #2327

Merged
merged 7 commits into from
Sep 30, 2020

Conversation

rhaschke
Copy link
Contributor

@rhaschke rhaschke commented Sep 29, 2020

Travis wasn't yet testing master branch against Noetic. Switching to Noetic revealed several open issues, which are tackled by this PR:

@rhaschke rhaschke changed the title Fix IKfask tests [WIP] Fix IKfask tests Sep 29, 2020
@rhaschke rhaschke force-pushed the fix-ikfask-tests branch 2 times, most recently from bcb0742 to 948100f Compare September 29, 2020 22:05
@rhaschke rhaschke changed the title [WIP] Fix IKfask tests Fix IKfask tests Sep 29, 2020
@codecov
Copy link

codecov bot commented Sep 29, 2020

Codecov Report

Merging #2327 into master will decrease coverage by 1.23%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2327      +/-   ##
==========================================
- Coverage   57.90%   56.68%   -1.22%     
==========================================
  Files         327      283      -44     
  Lines       25633    25455     -178     
==========================================
- Hits        14841    14426     -415     
- Misses      10792    11029     +237     
Impacted Files Coverage Δ
...lude/moveit/collision_detection/collision_common.h 80.00% <ø> (-4.00%) ⬇️
...include/moveit/robot_model/prismatic_joint_model.h 0.00% <0.00%> (-50.00%) ⬇️
...parameterization/model_based_state_space_factory.h 66.67% <0.00%> (-33.33%) ⬇️
...sh_filter/include/moveit/mesh_filter/mesh_filter.h 75.00% <0.00%> (-25.00%) ⬇️
...e_controller_manager/src/moveit_fake_controllers.h 33.34% <0.00%> (-16.66%) ⬇️
moveit_core/exceptions/src/exceptions.cpp 0.00% <0.00%> (-16.66%) ⬇️
...ing/planning_request_adapter_plugins/src/empty.cpp 0.00% <0.00%> (-12.50%) ⬇️
...gins/src/add_iterative_spline_parameterization.cpp 0.00% <0.00%> (-12.50%) ⬇️
..._plugins/src/add_time_optimal_parameterization.cpp 0.00% <0.00%> (-11.76%) ⬇️
...tup_assistant/src/tools/collision_matrix_model.cpp 0.00% <0.00%> (-11.62%) ⬇️
... and 255 more

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 1d8d51e...c2e3f27. Read the comment docs.

@rhaschke rhaschke force-pushed the fix-ikfask-tests branch 2 times, most recently from 5d360b0 to f472c37 Compare September 30, 2020 07:54
Copy link
Contributor

@gavanderhoorn gavanderhoorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments.

@rhaschke rhaschke changed the title Fix IKfask tests Fix various issues with Noetic build Sep 30, 2020
- require python-lxml and python-yaml to be installed
- use str() to print Exception
It was just performing the operations of the default operator. Newer clang requires either both or none of copy constructor and assignment operator to be defined.

warning: definition of implicit copy constructor for 'DistanceResultsData' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
@rhaschke
Copy link
Contributor Author

rhaschke commented Sep 30, 2020

Thanks, Gijs for your comments. This is ready for merging. Please don't squash these rather independent commits - the scope of this PR quickly grew beyond a mere fix of ikfast tests.

@felixvd
Copy link
Contributor

felixvd commented Sep 30, 2020

Did you mean to write merge-commit instead of squash?

@gavanderhoorn
Copy link
Contributor

gavanderhoorn commented Sep 30, 2020

I'm indeed assuming @rhaschke meant to write "please don't squash".


Edit; and I'll wait for him to confirm this.

@rhaschke
Copy link
Contributor Author

Yeah. Of course I mean't don't squash... Sorry for the confusion.

@gavanderhoorn gavanderhoorn merged commit 6eeee4b into moveit:master Sep 30, 2020
@gavanderhoorn
Copy link
Contributor

gavanderhoorn commented Sep 30, 2020

No problem.

Congrats on getting your first MoveIt pull request merged and improving open source robotics! 🎉


Edit: o wait ;)

@gavanderhoorn
Copy link
Contributor

@rhaschke: will these changes need backporting to the noetic branch, or will we sync that with master before doing a release?

@rhaschke
Copy link
Contributor Author

Thanks for merging. I am keeping master and noetic-devel in sync manually until we really need to diverge...
No need for explicit backporting. But I will backport parts of this to melodic-devel. Stay tuned. 😉

@roboticswithjulia
Copy link

roboticswithjulia commented Dec 20, 2021

Hello!
I have faced the same problem working with noetic, after trying to generate the ik plugin of an .urdf i get the same error:
File ".../ikfast_kinematics_plugin/scripts/create_ikfast_moveit_plugin.py", line 51, in
import yaml
ImportError: No module named yaml

Which branch I should be working to ensure that the code works? I tryied master and noetic-devel branch but neither of them worked for me.

@rhaschke
Copy link
Contributor Author

@juliamp22, please file a new issue if you observe a new issue. Do you have installed the Debian package python3-yaml?

@roboticswithjulia
Copy link

Hello @rhaschke yes, I have it installed.
I am trying to use the plugin using the ikfast_tutorial.
I have seen that maybe it could be some problems about having python 2 and 3 versions installed at the same time.
Also, which openrave version should I have to use?

Thanks for your help.

@rhaschke
Copy link
Contributor Author

Please open a new issue and exactly describe your environment as well as the step that is failing. Maybe, you use some conda environment, which is typically not compatible to ROS?

@roboticswithjulia
Copy link

Hello @rhaschke I just opened a new issue, you can find here: #3010
As far as I can see it may be because you are using the OpenRave version openrave0.9 and as far as I can see in ubuntu 20.04 should use the version 0.54.0?

Many thanks for your time and your effort,

Júlia

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

Successfully merging this pull request may close these issues.

IKfast plugin not working
4 participants