From 409969b927f8ef236964d9254ace0197aff51e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pe=C5=82ka?= Date: Mon, 18 Aug 2025 16:45:27 +0100 Subject: [PATCH 1/5] Update license and maintainer email --- CMakeLists.txt | 15 +++++++++++++++ LICENSE | 31 ++++++++++--------------------- package.xml | 6 +++--- src/service.h | 15 +++++++++++++++ 4 files changed, 43 insertions(+), 24 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d94b544..1256bc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,18 @@ +# Copyright 2025, Robotec.ai sp. z o.o. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + cmake_minimum_required(VERSION 3.5) project(q_simulation_interfaces) set(CMAKE_AUTOMOC ON) diff --git a/LICENSE b/LICENSE index efb9808..8ea66f0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,24 +1,13 @@ -This is free and unencumbered software released into the public domain. +Copyright Copyright 2025, Robotec.ai sp. z o.o. -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. + http://www.apache.org/licenses/LICENSE-2.0 -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -For more information, please refer to +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/package.xml b/package.xml index 2e010d1..ec73d3b 100644 --- a/package.xml +++ b/package.xml @@ -2,10 +2,10 @@ q_simulation_interfaces 0.0.1 - Foo + Simulation interface gui - Your Name - MIT + Michał Pełka + Apache License 2.0 ament_cmake rclcpp diff --git a/src/service.h b/src/service.h index 540cba8..978cda9 100644 --- a/src/service.h +++ b/src/service.h @@ -1,3 +1,18 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include #include From 678d3bcdc0aa2041940db7eb469076e254d04bd7 Mon Sep 17 00:00:00 2001 From: Jan Hanca Date: Mon, 25 Aug 2025 15:34:03 +0200 Subject: [PATCH 2/5] Add missing license notes (after rebase) Signed-off-by: Jan Hanca --- .../q_simulation_interfaces/simulation_panel.h | 16 +++++++++++++++- src/simulation_panel.cpp | 15 +++++++++++++++ src/simulation_widget.cpp | 15 +++++++++++++++ src/simulation_widget.h | 15 +++++++++++++++ src/standalone_main.cpp | 15 +++++++++++++++ src/string_to_keys.h | 15 +++++++++++++++ src/vector_utils.hpp | 15 +++++++++++++++ 7 files changed, 105 insertions(+), 1 deletion(-) diff --git a/include/q_simulation_interfaces/simulation_panel.h b/include/q_simulation_interfaces/simulation_panel.h index 0e7e20b..78d33fd 100644 --- a/include/q_simulation_interfaces/simulation_panel.h +++ b/include/q_simulation_interfaces/simulation_panel.h @@ -1,6 +1,20 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once - #include #include #include diff --git a/src/simulation_panel.cpp b/src/simulation_panel.cpp index e1b64bc..2f5ae88 100644 --- a/src/simulation_panel.cpp +++ b/src/simulation_panel.cpp @@ -1,3 +1,18 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include #include diff --git a/src/simulation_widget.cpp b/src/simulation_widget.cpp index d102077..6d9f8a7 100644 --- a/src/simulation_widget.cpp +++ b/src/simulation_widget.cpp @@ -1,3 +1,18 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "simulation_widget.h" #include #include diff --git a/src/simulation_widget.h b/src/simulation_widget.h index 9bcfef2..3553eb1 100644 --- a/src/simulation_widget.h +++ b/src/simulation_widget.h @@ -1,3 +1,18 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include diff --git a/src/standalone_main.cpp b/src/standalone_main.cpp index 123c2c3..1954640 100644 --- a/src/standalone_main.cpp +++ b/src/standalone_main.cpp @@ -1,3 +1,18 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include #include diff --git a/src/string_to_keys.h b/src/string_to_keys.h index b22f47c..0af06a0 100644 --- a/src/string_to_keys.h +++ b/src/string_to_keys.h @@ -1,3 +1,18 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include diff --git a/src/vector_utils.hpp b/src/vector_utils.hpp index 7264c93..b6f35b7 100644 --- a/src/vector_utils.hpp +++ b/src/vector_utils.hpp @@ -1,3 +1,18 @@ +/* Copyright 2025, Robotec.ai sp. z o.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include From b05ffb1d4af05105f721309f2b140bb6319ccd14 Mon Sep 17 00:00:00 2001 From: Jan Hanca Date: Mon, 25 Aug 2025 15:41:01 +0200 Subject: [PATCH 3/5] Readme typo Signed-off-by: Jan Hanca --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 001888b..7d6cd4c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # QSimulationInterfaces -A Gui Tool to change the simulation parameters using a GUI interface. +A tool to change the simulation parameters using a GUI interface. It utilizes https://github.com/ros-simulation/simulation_interfaces to change the simulation parameters. # Prerequisites @@ -22,9 +22,9 @@ source install/setup.bash The tool is available in two flavors: -- A standalone GUI application that can be launched as ROS 2 node: +- A standalone GUI application that can be launched as a ROS 2 node: ```shell ros2 run q_simulation_interfaces q_simulation_interfaces_standalone ``` - A Rviz 2 panel plugin that can be launched from Rviz 2 by clicking on the `Panels` menu and selecting `Add New Panel...` - and then selecting `SimulationInterfacesPanel` from 'q_simulation_interfaces' package. \ No newline at end of file + and then selecting `SimulationInterfacesPanel` from 'q_simulation_interfaces' package. From 7b2947567e2d1210e3e5f3800362eb38ddab736a Mon Sep 17 00:00:00 2001 From: Jan Hanca Date: Mon, 25 Aug 2025 15:42:17 +0200 Subject: [PATCH 4/5] Clang-format Signed-off-by: Jan Hanca --- include/q_simulation_interfaces/simulation_panel.h | 2 +- src/service.h | 2 +- src/simulation_panel.cpp | 2 +- src/simulation_widget.cpp | 2 +- src/simulation_widget.h | 2 +- src/standalone_main.cpp | 2 +- src/string_to_keys.h | 2 +- src/vector_utils.hpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/q_simulation_interfaces/simulation_panel.h b/include/q_simulation_interfaces/simulation_panel.h index 78d33fd..c78dc4b 100644 --- a/include/q_simulation_interfaces/simulation_panel.h +++ b/include/q_simulation_interfaces/simulation_panel.h @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #pragma once #include diff --git a/src/service.h b/src/service.h index 978cda9..1c566c9 100644 --- a/src/service.h +++ b/src/service.h @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #pragma once #include #include diff --git a/src/simulation_panel.cpp b/src/simulation_panel.cpp index 2f5ae88..af74f80 100644 --- a/src/simulation_panel.cpp +++ b/src/simulation_panel.cpp @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #include #include #include diff --git a/src/simulation_widget.cpp b/src/simulation_widget.cpp index 6d9f8a7..76c18cf 100644 --- a/src/simulation_widget.cpp +++ b/src/simulation_widget.cpp @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #include "simulation_widget.h" #include #include diff --git a/src/simulation_widget.h b/src/simulation_widget.h index 3553eb1..656aaf9 100644 --- a/src/simulation_widget.h +++ b/src/simulation_widget.h @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #pragma once #include diff --git a/src/standalone_main.cpp b/src/standalone_main.cpp index 1954640..74d15ad 100644 --- a/src/standalone_main.cpp +++ b/src/standalone_main.cpp @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #include #include #include diff --git a/src/string_to_keys.h b/src/string_to_keys.h index 0af06a0..4788b71 100644 --- a/src/string_to_keys.h +++ b/src/string_to_keys.h @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #pragma once #include diff --git a/src/vector_utils.hpp b/src/vector_utils.hpp index b6f35b7..0aa7326 100644 --- a/src/vector_utils.hpp +++ b/src/vector_utils.hpp @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #pragma once #include From be7f65334e8a5a8aa1073ae11cdcae9d5be4480c Mon Sep 17 00:00:00 2001 From: Jan Hanca Date: Mon, 25 Aug 2025 15:53:11 +0200 Subject: [PATCH 5/5] Rename vector_utils Signed-off-by: Jan Hanca --- src/simulation_widget.cpp | 2 +- src/{vector_utils.hpp => vector_utils.h} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{vector_utils.hpp => vector_utils.h} (100%) diff --git a/src/simulation_widget.cpp b/src/simulation_widget.cpp index 76c18cf..bac47a3 100644 --- a/src/simulation_widget.cpp +++ b/src/simulation_widget.cpp @@ -24,7 +24,7 @@ #include "service.h" #include "string_to_keys.h" #include "ui_sim_widget.h" -#include "vector_utils.hpp" +#include "vector_utils.h" #include #include diff --git a/src/vector_utils.hpp b/src/vector_utils.h similarity index 100% rename from src/vector_utils.hpp rename to src/vector_utils.h