-
Notifications
You must be signed in to change notification settings - Fork 118
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
Port to ROS 2 and add MARA files #24
Conversation
Obviously, this PR needs to be pointed to a new ros2 branch as usual |
with moveit_resources ported moveit/moveit_resources#24 this PR re-enables the testing and while allowing the submodule to still compile
I don't have time to look into any PR before March 9th. |
@rhaschke I understand you want to keep it small but I can guess that most of the initial testing for MoveIt! 2 port will be with MARA. Shouldn't that justify adding it to the |
|
||
# devel space file | ||
set(MOVEIT_TEST_RESOURCES_DIR ${CMAKE_CURRENT_SOURCE_DIR}) | ||
configure_file("include/${PROJECT_NAME}/config.h.in" "${CATKIN_DEVEL_PREFIX}/include/${PROJECT_NAME}/config.h") |
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.
@rhaschke i forget what this cmake magic was suppose to do. is it still needed?
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.
That's needed to define MOVEIT_TEST_RESOURCES_DIR
within cpp.
Should not be removed!
@@ -3,10 +3,11 @@ MoveIt Resources | |||
|
|||
This repository includes various resources (URDFs, meshes, moveit_config packages) needed for MoveIt! testing. | |||
|
|||
[![Build Status](https://travis-ci.org/ros-planning/moveit_resources.png?branch=master)](https://travis-ci.org/ros-planning/moveit_resources) | |||
[![Build Status](https://travis-ci.org/AcutronicRobotics/moveit_resources.png?branch=master)](https://travis-ci.org/AcutronicRobotics/moveit_resources) |
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 do not change the Travis badges to Acutronic
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.
[![Build Status](https://travis-ci.org/AcutronicRobotics/moveit_resources.png?branch=master)](https://travis-ci.org/AcutronicRobotics/moveit_resources) | |
[![Build Status](https://travis-ci.org/ros-planning/moveit_resources.png?branch=master)](https://travis-ci.org/ros-planning/moveit_resources) |
@@ -0,0 +1,8 @@ | |||
# mara arm Gazebo |
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.
# mara arm Gazebo | |
# MARA URDFs |
Why gazebo?
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.
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.
@ahcorde, can you help with this please?
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 accept my code suggestion (its easy!)
@@ -0,0 +1,4 @@ | |||
<?xml version="1.0"?> | |||
<launch> | |||
<!-- <param name="robot_description" command="$(find xacro)/xacro --inorder '$(find mara_description)/urdf/mara_nogripper.xacro'" /> --> |
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 should not be commented out
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.
@ahcorde, ping
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.
ping
mara_description/urdf/table.obj
Outdated
@@ -0,0 +1,47 @@ | |||
# table.obj |
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.
i don't think we need a table for unit tests. please re-add this in the future if you actually have a use-case for this
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.
@ahcorde, can you help removing this please?
mara_description/urdf/table.obj
Outdated
f 4/3/5 8/2/5 6/4/5 | ||
s 6 | ||
f 7/1/6 1/2/6 5/3/6 | ||
f 5/3/6 1/2/6 3/4/6 |
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 next file is a png file... that is def not needed for tests
The resources package is meant for testing *without* hardware and should always be included in the respective tests. Also for ros2.
For testing with actual hardware, every setup I know maintains their own moveit_config anyway (because of adjusted controller timeouts, robot descriptions, ...).
So testing with independent configurations and actual robots is of course very necessary, but should probably not be included in the upstream repositories.
|
with moveit_resources ported moveit/moveit_resources#24 this PR re-enables the testing while allowing the submodule to still compile
I think this PR should point to Anyways I will remove the table. |
have all your concerns been addressed now @davetcoleman? |
CMakeLists.txt
Outdated
set(MOVEIT_TEST_RESOURCES_DIR ${CMAKE_INSTALL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}) | ||
configure_file("include/${PROJECT_NAME}/config.h.in" "${CATKIN_DEVEL_PREFIX}/include/${PROJECT_NAME}/.config_install.h") | ||
set(MOVEIT_TEST_RESOURCES_DIR "share/${PROJECT_NAME}") | ||
configure_file("include/${PROJECT_NAME}/config.h.in" "include/${PROJECT_NAME}/.config_install.h") |
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.
@rhaschke this looks good to me, what do you think?
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.
Doesn't ament support devel and install space anymore?
This change, hardcoding the install location (in share
), looks like breaking devel-space usage.
@@ -3,10 +3,11 @@ MoveIt Resources | |||
|
|||
This repository includes various resources (URDFs, meshes, moveit_config packages) needed for MoveIt! testing. | |||
|
|||
[![Build Status](https://travis-ci.org/ros-planning/moveit_resources.png?branch=master)](https://travis-ci.org/ros-planning/moveit_resources) | |||
[![Build Status](https://travis-ci.org/AcutronicRobotics/moveit_resources.png?branch=master)](https://travis-ci.org/AcutronicRobotics/moveit_resources) |
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.
[![Build Status](https://travis-ci.org/AcutronicRobotics/moveit_resources.png?branch=master)](https://travis-ci.org/AcutronicRobotics/moveit_resources) | |
[![Build Status](https://travis-ci.org/ros-planning/moveit_resources.png?branch=master)](https://travis-ci.org/ros-planning/moveit_resources) |
@@ -0,0 +1,8 @@ | |||
# mara arm Gazebo |
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 accept my code suggestion (its easy!)
@@ -0,0 +1,4 @@ | |||
<?xml version="1.0"?> | |||
<launch> | |||
<!-- <param name="robot_description" command="$(find xacro)/xacro --inorder '$(find mara_description)/urdf/mara_nogripper.xacro'" /> --> |
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.
ping
@ahcorde agreed it should target ros2 branch, I'll switch it |
* Port robot_model submodule of moveit_core to ROS 2 * Clean submodule CMakeLists.txt Remove unnecesary commands listed already one level higher * robot_model, simplify CMakeLists.txt Following guidelines provided at #8 (comment) * Fix testing and comment it out for now moveit_resources hasn't been ported just yet * robot_model, cleanup code * Revert changes, reenable properties version * robot_model re-enable tests with moveit_resources ported moveit/moveit_resources#24 this PR re-enables the testing while allowing the submodule to still compile * robot_model submodule, fix logging * robot_model use LOGGER Follow consensus about logging in moveit_core submodules * Remove robot_model log.h * robot_model, apply clang format * moveit_core, robot_model: remove setDefaultIKAttempts
following from https://github.com/ros-planning/moveit_resources/blob/master/CMakeLists.txt I've made some modifications
Cmakelist fixes taking into account ros-planning
Closing in favor of #26 |
Requesting @davetcoleman's review