diff --git a/scripts/setup-robot-description.bash b/scripts/setup-robot-description.bash index 9ac2530f2..62be6fe12 100755 --- a/scripts/setup-robot-description.bash +++ b/scripts/setup-robot-description.bash @@ -90,11 +90,13 @@ cp -n "$ROBOT_DESCRIPTION_TEMPLATES/materials.xacro" urdf/common/materials.xacro # Copy launch files for testing the description for file_type in "${LAUNCH_FILE_TYPES[@]}"; do mkdir -p launch + ROBOT_DESCRIPTION_LAUNCH="launch/${ROBOT_NAME}.launch.xml" + cp -n "$ROBOT_DESCRIPTION_TEMPLATES/robot_description.launch.xml" $ROBOT_DESCRIPTION_LAUNCH VIEW_ROBOT_LAUNCH="launch/view_${ROBOT_NAME}.launch${file_type}" cp -n "$ROBOT_DESCRIPTION_TEMPLATES/view_robot.launch${file_type}" $VIEW_ROBOT_LAUNCH # sed all needed files - FILES_TO_SED=($ROBOT_URDF_XACRO $ROBOT_MACRO $ROBOT_MACRO_ROS2_CONTROL $VIEW_ROBOT_LAUNCH) + FILES_TO_SED=($ROBOT_URDF_XACRO $ROBOT_MACRO $ROBOT_MACRO_ROS2_CONTROL $VIEW_ROBOT_LAUNCH $ROBOT_DESCRIPTION_LAUNCH) for SED_FILE in "${FILES_TO_SED[@]}"; do sed -i "s/\\\$PKG_NAME\\\$/${PKG_NAME}/g" $SED_FILE diff --git a/templates/robot_description/robot_description.launch.xml b/templates/robot_description/robot_description.launch.xml new file mode 100644 index 000000000..693944a2a --- /dev/null +++ b/templates/robot_description/robot_description.launch.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + diff --git a/templates/robot_description/test_urdf_xacro.py b/templates/robot_description/test_urdf_xacro.py index 60552c4fa..e73152579 100644 --- a/templates/robot_description/test_urdf_xacro.py +++ b/templates/robot_description/test_urdf_xacro.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Stogl Robotics Consulting UG (haftungsbeschränkt) (template) +# Copyright (c) 2025, b»robotized # Copyright (c) 2022 FZI Forschungszentrum Informatik # # Redistribution and use in source and binary forms, with or without @@ -28,7 +28,7 @@ # POSSIBILITY OF SUCH DAMAGE. # -# Source of this file is https://github.com/StoglRobotics/ros_team_workspace repository. +# Source of this file is https://github.com/b-robotized/ros_team_workspace repository. # Modified from tests in https://github.com/UniversalRobots/Universal_Robots_ROS2_Description # # Author: Lukas Sackewitz diff --git a/templates/robot_description/view_robot.launch.py b/templates/robot_description/view_robot.launch.py index d8274a87a..8c80c9b4e 100755 --- a/templates/robot_description/view_robot.launch.py +++ b/templates/robot_description/view_robot.launch.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Stogl Robotics Consulting UG (haftungsbeschränkt) +# Copyright (c) 2025, b»robotized # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,7 +13,7 @@ # limitations under the License. # -# Source of this file is https://github.com/StoglRobotics/ros_team_workspace repository. +# Source of this file is https://github.com/b-robotized/ros_team_workspace repository. # # Author: Dr. Denis # diff --git a/templates/robot_description/view_robot.launch.xml b/templates/robot_description/view_robot.launch.xml index d70765479..8e0eef618 100644 --- a/templates/robot_description/view_robot.launch.xml +++ b/templates/robot_description/view_robot.launch.xml @@ -1,11 +1,11 @@ - - - - - - - - - - - - + + + + + + + + diff --git a/templates/ros2_control/robot_ros2_control.launch.py b/templates/ros2_control/robot_ros2_control.launch.py index b2506ca8f..c4a3a7bd1 100644 --- a/templates/ros2_control/robot_ros2_control.launch.py +++ b/templates/ros2_control/robot_ros2_control.launch.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Stogl Robotics Consulting UG (haftungsbeschränkt) +# Copyright (c) 2025, b»robotized # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # # Source of this file are templates in -# [RosTeamWorkspace](https://github.com/StoglRobotics/ros_team_workspace) repository. +# [RosTeamWorkspace](https://github.com/b-robotized/ros_team_workspace) repository. # # Author: Dr. Denis # diff --git a/templates/ros2_control/robot_ros2_control.launch.xml b/templates/ros2_control/robot_ros2_control.launch.xml index ff75915aa..b400dc343 100644 --- a/templates/ros2_control/robot_ros2_control.launch.xml +++ b/templates/ros2_control/robot_ros2_control.launch.xml @@ -1,11 +1,11 @@ @@ -49,30 +48,24 @@ Authors: Riyan Jose, Manuel Muth, Dr. Denis default="forward_position_controller" description="Robot controller to start inactive. Choices are: [forward_position_controller, joint_trajectory_controller]."/> - - - - - - - + + + + + - - - - - + - + - + diff --git a/templates/ros2_control/robot_ros2_control_sim.launch.py b/templates/ros2_control/robot_ros2_control_sim.launch.py index 44cb3f0f0..f8af283f8 100644 --- a/templates/ros2_control/robot_ros2_control_sim.launch.py +++ b/templates/ros2_control/robot_ros2_control_sim.launch.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Stogl Robotics Consulting UG (haftungsbeschränkt) +# Copyright (c) 2025, b»robotized # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # # Source of this file are templates in -# [RosTeamWorkspace](https://github.com/StoglRobotics/ros_team_workspace) repository. +# [RosTeamWorkspace](https://github.com/b-robotized/ros_team_workspace) repository. # # Author: Dr. Denis # diff --git a/templates/ros2_control/test_forward_position_controller.launch.py b/templates/ros2_control/test_forward_position_controller.launch.py index 178d8a6c2..96909033f 100644 --- a/templates/ros2_control/test_forward_position_controller.launch.py +++ b/templates/ros2_control/test_forward_position_controller.launch.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Stogl Robotics Consulting UG (haftungsbeschränkt) +# Copyright (c) 2025, b»robotized # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # # Source of this file are templates in -# [RosTeamWorkspace](https://github.com/StoglRobotics/ros_team_workspace) repository. +# [RosTeamWorkspace](https://github.com/b-robotized/ros_team_workspace) repository. # # Author: Dr. Denis # diff --git a/templates/ros2_control/test_forward_position_controller.launch.xml b/templates/ros2_control/test_forward_position_controller.launch.xml index a8a923518..4388ff477 100644 --- a/templates/ros2_control/test_forward_position_controller.launch.xml +++ b/templates/ros2_control/test_forward_position_controller.launch.xml @@ -1,11 +1,11 @@ diff --git a/templates/ros2_control/test_goal_publishers_config.yaml b/templates/ros2_control/test_goal_publishers_config.yaml index 1de2c039b..2aa56586d 100644 --- a/templates/ros2_control/test_goal_publishers_config.yaml +++ b/templates/ros2_control/test_goal_publishers_config.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 20224 Stogl Robotics Consulting UG (haftungsbeschränkt) +# Copyright (c) 2025, b»robotized # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # # Source of this file are templates in -# [RosTeamWorkspace](https://github.com/StoglRobotics/ros_team_workspace) repository. +# [RosTeamWorkspace](https://github.com/b-robotized/ros_team_workspace) repository. # publisher_forward_position_controller: diff --git a/templates/ros2_control/test_joint_trajectory_controller.launch.py b/templates/ros2_control/test_joint_trajectory_controller.launch.py index 6b7ec34e0..6537e0f2e 100644 --- a/templates/ros2_control/test_joint_trajectory_controller.launch.py +++ b/templates/ros2_control/test_joint_trajectory_controller.launch.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Stogl Robotics Consulting UG (haftungsbeschränkt) +# Copyright (c) 2025, b»robotized # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # # Source of this file are templates in -# [RosTeamWorkspace](https://github.com/StoglRobotics/ros_team_workspace) repository. +# [RosTeamWorkspace](https://github.com/b-robotized/ros_team_workspace) repository. # # Author: Dr. Denis # diff --git a/templates/ros2_control/test_joint_trajectory_controller.launch.xml b/templates/ros2_control/test_joint_trajectory_controller.launch.xml index d9fd6c670..5f353028b 100644 --- a/templates/ros2_control/test_joint_trajectory_controller.launch.xml +++ b/templates/ros2_control/test_joint_trajectory_controller.launch.xml @@ -1,11 +1,11 @@