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

Compile moveit_core #117

Merged
merged 7 commits into from
Nov 25, 2019
Merged

Conversation

henningkayser
Copy link
Member

This is a fixed-up version of #90.
I forked (and fixed) all pending dependencies, fixed build and linker errors and started to improve usage of ament. Currently, there are still several warnings to be fixed. Also, I would like to unify the use of ament in all package (each package should handle dependencies and exports itself, similar to ros1 versions).

@henningkayser henningkayser changed the title Pr moveit core Compile moveit_core Oct 28, 2019
@henningkayser
Copy link
Member Author

henningkayser commented Oct 28, 2019

@JafarAbdi can you build this following the instructions in the Readme?

README.md Outdated Show resolved Hide resolved
@JafarAbdi
Copy link
Contributor

JafarAbdi commented Oct 29, 2019

@henningkayser - Yep, I was able to build it successfully following the README instructions, Thanks!

Should I update the loggers for the following files and open a PR against this branch .?

@henningkayser
Copy link
Member Author

@henningkayser - Yep, I was able to build it successfully following the README instructions, Thanks!

Should I update the loggers for the following files and open a PR against this branch .?

You mean changing the namespace or the name of the constant? I think we can leave it as is for now and revise once we actually decided on a fixed pattern. Please open an issue for this and I will address it in the following weeks (probably for the next sprint).

@henningkayser henningkayser mentioned this pull request Oct 29, 2019
14 tasks
@henningkayser henningkayser added this to Review in progress in MoveIt2 Beta - Phase 1 Oct 29, 2019
README.md Show resolved Hide resolved
Copy link
Member

@davetcoleman davetcoleman left a comment

Choose a reason for hiding this comment

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

Moving forward, I'd prefer to see PRs more separated: for example we need a PR that changes logger across the whole code base, once and for all, rather than mixed with other changes per package. This will allow better use of find-replace, and a faster migration.

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
moveit.rosinstall Outdated Show resolved Hide resolved
moveit_core/CMakeLists.txt Outdated Show resolved Hide resolved
moveit_core/CMakeLists.txt Outdated Show resolved Hide resolved
moveit_core/CMakeLists.txt Outdated Show resolved Hide resolved
set(COVERAGE_EXCLUDES "*/test/*")
add_code_coverage(NAME ${PROJECT_NAME}_coverage)
endif()
# TODO(henningkayser): enable once code_coverage is ported
Copy link
Member

Choose a reason for hiding this comment

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

@mikeferguson want to port your code_coverage to ros2? ;-)

moveit_core/robot_model/src/floating_joint_model.cpp Outdated Show resolved Hide resolved
@henningkayser
Copy link
Member Author

Moving forward, I'd prefer to see PRs more separated: for example we need a PR that changes logger across the whole code base, once and for all, rather than mixed with other changes per package. This will allow better use of find-replace, and a faster migration.

I totally agree. This PR was started as a simple fixup of #90. All the additional changes are necessary in order to get moveit_core to compile at all. Since some changes are all over the place my plan was to squash this PR into a sequence of meaningful commits and keep the history.

@RoboticsYY
Copy link
Contributor

@henningkayser I think #119 only served as a test to the intermediate state of this PR, arm I right? If I would like to fix up the warnings, which branch I should submit PR to?

@henningkayser
Copy link
Member Author

@RoboticsYY You are right, the referenced PR was only a test. If your changes apply to this PR you could file it directly against the feature branch. It would also really help if you could take a look at the warnings from the package dependencies, like for instance moveit_msgs.

@henningkayser henningkayser force-pushed the pr-moveit_core branch 10 times, most recently from fed7ffb to 289d48d Compare November 19, 2019 18:51
@henningkayser henningkayser mentioned this pull request Nov 19, 2019
@henningkayser henningkayser changed the base branch from master to henningkayser-moveit_core_fixup November 19, 2019 19:06
@henningkayser
Copy link
Member Author

henningkayser commented Nov 19, 2019

I split this PR into two parts: code fixup (#125) and this one with changes in order to get colcon to compile moveit_core and Travis to pass. #125 should be merged first.

@henningkayser henningkayser changed the base branch from henningkayser-moveit_core_fixup to master November 20, 2019 17:48
@davetcoleman
Copy link
Member

Also, I would like to unify the use of ament in all package (each package should handle dependencies and exports itself, similar to ros1 versions).

Please push on creating a STYLE_GUIDE.md and document away all your preferences beyond what we have in https://moveit.ros.org/documentation/contributing/code/

MoveIt2 Beta - Phase 1 automation moved this from Review in progress to Reviewer approved Nov 22, 2019
Copy link
Contributor

@mamoll mamoll left a comment

Choose a reason for hiding this comment

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

I have a few small comments/suggestions, but everything looks good.

moveit_core/CMakeLists.txt Show resolved Hide resolved
moveit_core/CMakeLists.txt Show resolved Hide resolved
moveit_core/CMakeLists.txt Show resolved Hide resolved
moveit2.repos Show resolved Hide resolved
moveit2.repos Outdated Show resolved Hide resolved
henningkayser and others added 7 commits November 25, 2019 15:52
* Fix compile warnings in moveit_core
* Disable code_coverage
* Add missing headers to fix '--symlink-install'
* Fix include exports
* Suppress CMake Warning

Co-authored-by: vmayoral <v.mayoralv@gmail.com>, henningkayser <henningkayser@picknik.ai>
* collision_detection
* collision_distance_field
* moveit_utils
* moveit_profiler
* distance_field
* robot_model
* moveit_transforms
* Install libfcl-dev and ros-dashing-angles before CI
@henningkayser henningkayser merged commit cd27142 into moveit:master Nov 25, 2019
MoveIt2 Beta - Phase 1 automation moved this from Reviewer approved to Done Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

8 participants