Skip to content

Commit

Permalink
[MSA] Upgrade templates to ROS 2 (#1101)
Browse files Browse the repository at this point in the history
Co-authored-by: Henning Kayser <[email protected]>
  • Loading branch information
2 people authored and Vatan Aksoy Tezer committed May 31, 2022
1 parent cdfc920 commit 18e54d2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void PackageSettingsConfig::collectVariables(std::vector<TemplateVariable>& vari
std::stringstream deps;
for (const auto& dependency : package_dependencies_)
{
deps << " <run_depend>" << dependency << "</run_depend>\n";
deps << " <exec_depend>" << dependency << "</exec_depend>\n";
}
variables.push_back(TemplateVariable("OTHER_DEPENDENCIES", deps.str()));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
cmake_minimum_required(VERSION 3.1.3)
cmake_minimum_required(VERSION 3.10.2)
project([GENERATED_PACKAGE_NAME])

find_package(catkin REQUIRED)
find_package(ament_cmake REQUIRED)

catkin_package()
ament_package()

install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
install(DIRECTORY launch DESTINATION share/${PROJECT_NAME}
PATTERN "setup_assistant.launch" EXCLUDE)
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(DIRECTORY config DESTINATION share/${PROJECT_NAME})
install(FILES .setup_assistant DESTINATION share/${PROJECT_NAME})
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<package>

<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>[GENERATED_PACKAGE_NAME]</name>
<version>0.3.0</version>
<description>
An automatically generated package with all the configuration and launch files for using the [ROBOT_NAME] with the MoveIt Motion Planning Framework
</description>
<author email="[AUTHOR_EMAIL]">[AUTHOR_NAME]</author>
<maintainer email="[AUTHOR_EMAIL]">[AUTHOR_NAME]</maintainer>

<license>BSD</license>
Expand All @@ -14,26 +14,31 @@
<url type="bugtracker">https://github.com/ros-planning/moveit2/issues</url>
<url type="repository">https://github.com/ros-planning/moveit2</url>

<buildtool_depend>catkin</buildtool_depend>
<author email="[AUTHOR_EMAIL]">[AUTHOR_NAME]</author>

<buildtool_depend>ament_cmake</buildtool_depend>

<run_depend>moveit_ros_move_group</run_depend>
<run_depend>moveit_kinematics</run_depend>
<run_depend>moveit_planners_ompl</run_depend>
<run_depend>moveit_ros_visualization</run_depend>
<run_depend>moveit_setup_assistant</run_depend>
<run_depend>moveit_simple_controller_manager</run_depend>
<run_depend>joint_state_publisher</run_depend>
<run_depend>joint_state_publisher_gui</run_depend>
<run_depend>robot_state_publisher</run_depend>
<run_depend>rviz</run_depend>
<run_depend>tf2_ros</run_depend>
<run_depend>xacro</run_depend>
<exec_depend>moveit_ros_move_group</exec_depend>
<exec_depend>moveit_kinematics</exec_depend>
<exec_depend>moveit_planners</exec_depend>
<exec_depend>moveit_ros_visualization</exec_depend>
<exec_depend>moveit_setup_assistant</exec_depend>
<exec_depend>moveit_simple_controller_manager</exec_depend>
<exec_depend>joint_state_publisher</exec_depend>
<exec_depend>joint_state_publisher_gui</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
<exec_depend>rviz2</exec_depend>
<exec_depend>tf2_ros</exec_depend>
<exec_depend>xacro</exec_depend>
<!-- The next 2 packages are required for the gazebo simulation.
We don't include them by default to prevent installing gazebo and all its dependencies. -->
<!-- <run_depend>joint_trajectory_controller</run_depend> -->
<!-- <run_depend>gazebo_ros_control</run_depend> -->
<!-- <exec_depend>joint_trajectory_controller</exec_depend> -->
<!-- <exec_depend>gazebo_ros_control</exec_depend> -->
<!-- This package is referenced in the warehouse launch files, but does not build out of the box at the moment. Commented the dependency until this works. -->
<!-- <run_depend>warehouse_ros_mongo</run_depend> -->
<!-- <exec_depend>warehouse_ros_mongo</exec_depend> -->
[OTHER_DEPENDENCIES]

<export>
<build_type>ament_cmake</build_type>
</export>
</package>

0 comments on commit 18e54d2

Please sign in to comment.