diff --git a/moveit_setup_assistant/moveit_setup_framework/src/package_settings_config.cpp b/moveit_setup_assistant/moveit_setup_framework/src/package_settings_config.cpp index 6c2ad6573f..2b56bfa1a5 100644 --- a/moveit_setup_assistant/moveit_setup_framework/src/package_settings_config.cpp +++ b/moveit_setup_assistant/moveit_setup_framework/src/package_settings_config.cpp @@ -180,7 +180,7 @@ void PackageSettingsConfig::collectVariables(std::vector& vari std::stringstream deps; for (const auto& dependency : package_dependencies_) { - deps << " " << dependency << "\n"; + deps << " " << dependency << "\n"; } variables.push_back(TemplateVariable("OTHER_DEPENDENCIES", deps.str())); } diff --git a/moveit_setup_assistant/moveit_setup_framework/templates/CMakeLists.txt b/moveit_setup_assistant/moveit_setup_framework/templates/CMakeLists.txt index e0c28ee223..4fa149b7c2 100644 --- a/moveit_setup_assistant/moveit_setup_framework/templates/CMakeLists.txt +++ b/moveit_setup_assistant/moveit_setup_framework/templates/CMakeLists.txt @@ -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}) diff --git a/moveit_setup_assistant/moveit_setup_framework/templates/package.xml.template b/moveit_setup_assistant/moveit_setup_framework/templates/package.xml.template index 5b1004df52..d579f28cd7 100644 --- a/moveit_setup_assistant/moveit_setup_framework/templates/package.xml.template +++ b/moveit_setup_assistant/moveit_setup_framework/templates/package.xml.template @@ -1,11 +1,11 @@ - - + + + [GENERATED_PACKAGE_NAME] 0.3.0 An automatically generated package with all the configuration and launch files for using the [ROBOT_NAME] with the MoveIt Motion Planning Framework - [AUTHOR_NAME] [AUTHOR_NAME] BSD @@ -14,26 +14,31 @@ https://github.com/ros-planning/moveit2/issues https://github.com/ros-planning/moveit2 - catkin + [AUTHOR_NAME] + + ament_cmake - moveit_ros_move_group - moveit_kinematics - moveit_planners_ompl - moveit_ros_visualization - moveit_setup_assistant - moveit_simple_controller_manager - joint_state_publisher - joint_state_publisher_gui - robot_state_publisher - rviz - tf2_ros - xacro + moveit_ros_move_group + moveit_kinematics + moveit_planners + moveit_ros_visualization + moveit_setup_assistant + moveit_simple_controller_manager + joint_state_publisher + joint_state_publisher_gui + robot_state_publisher + rviz2 + tf2_ros + xacro - - + + - + [OTHER_DEPENDENCIES] + + ament_cmake +