-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35e036f
commit 6bb4d96
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
# ROS2QtGui | ||
Creating custom GUI with Qt and ROS2 | ||
|
||
## How to Launch the GUI | ||
1. [Install ROS2 Foxy](https://index.ros.org/doc/ros2/Installation/Foxy/Linux-Install-Debians/). Make sure to setup your environment with: | ||
|
||
source /opt/ros/foxy/setup.bash | ||
|
||
> *NOTE:* You may want to add that line to your `~/.bashrc` | ||
2. Create a colcon workspace (*Note:* Feel free to change `~/ws_ros2` to whatever absolute path you want): | ||
|
||
export COLCON_WS=~/ws_ros2/ | ||
mkdir -p $COLCON_WS/src | ||
|
||
3. Clone the required repositories and install any dependencies: | ||
|
||
cd $COLCON_WS/src | ||
git clone /~https://github.com/Abishalini/ROS2QtGui.git | ||
rosdep install --ignore-src --from-paths . -y | ||
|
||
4. Configure and build the workspace | ||
|
||
source $COLCON_WS/install/setup.bash | ||
|
||
5. Launch the GUI using the following command: | ||
|
||
ros2 launch qtros2 gui.launch |