Skip to content

Commit

Permalink
how to launch the GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Abishalini committed Jul 9, 2021
1 parent 35e036f commit 6bb4d96
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
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

0 comments on commit 6bb4d96

Please sign in to comment.