Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
31 changes: 10 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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 <https://unlicense.org/>
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.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
and then selecting `SimulationInterfacesPanel` from 'q_simulation_interfaces' package.
16 changes: 15 additions & 1 deletion include/q_simulation_interfaces/simulation_panel.h
Original file line number Diff line number Diff line change
@@ -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 <QVBoxLayout>
#include <rviz_common/display.hpp>
Expand Down
6 changes: 3 additions & 3 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<package format="3">
<name>q_simulation_interfaces</name>
<version>0.0.1</version>
<description>Foo</description>
<description>Simulation interface gui</description>

<maintainer email="michalpelka@gmail.com">Your Name</maintainer>
<license>MIT</license>
<maintainer email="michal.pelka@robotec.ai">Michał Pełka</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake</buildtool_depend>
<depend>rclcpp</depend>
Expand Down
15 changes: 15 additions & 0 deletions src/service.h
Original file line number Diff line number Diff line change
@@ -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 <QMessageBox>
#include <rclcpp/rclcpp.hpp>
Expand Down
15 changes: 15 additions & 0 deletions src/simulation_panel.cpp
Original file line number Diff line number Diff line change
@@ -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 <QVBoxLayout>
#include <q_simulation_interfaces/simulation_panel.h>
#include <rviz_common/display_group.hpp>
Expand Down
17 changes: 16 additions & 1 deletion src/simulation_widget.cpp
Original file line number Diff line number Diff line change
@@ -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 <QMessageBox>
#include <QTimer>
Expand All @@ -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 <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#include <visualization_msgs/msg/interactive_marker.hpp>
Expand Down
15 changes: 15 additions & 0 deletions src/simulation_widget.h
Original file line number Diff line number Diff line change
@@ -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 <QVBoxLayout>
Expand Down
15 changes: 15 additions & 0 deletions src/standalone_main.cpp
Original file line number Diff line number Diff line change
@@ -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 <QApplication>
#include <QFile>
#include <rclcpp/rclcpp.hpp>
Expand Down
15 changes: 15 additions & 0 deletions src/string_to_keys.h
Original file line number Diff line number Diff line change
@@ -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 <string>
Expand Down
15 changes: 15 additions & 0 deletions src/vector_utils.hpp → src/vector_utils.h
Original file line number Diff line number Diff line change
@@ -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 <QDebug>
Expand Down