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/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. diff --git a/include/q_simulation_interfaces/simulation_panel.h b/include/q_simulation_interfaces/simulation_panel.h index 0e7e20b..c78dc4b 100644 --- a/include/q_simulation_interfaces/simulation_panel.h +++ b/include/q_simulation_interfaces/simulation_panel.h @@ -1,5 +1,19 @@ -#pragma once +/* 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 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..1c566c9 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 diff --git a/src/simulation_panel.cpp b/src/simulation_panel.cpp index e1b64bc..af74f80 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..bac47a3 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 @@ -9,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/simulation_widget.h b/src/simulation_widget.h index 9bcfef2..656aaf9 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..74d15ad 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..4788b71 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.h similarity index 52% rename from src/vector_utils.hpp rename to src/vector_utils.h index 7264c93..0aa7326 100644 --- a/src/vector_utils.hpp +++ b/src/vector_utils.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