Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 880 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 880 Bytes

ROS2QtGui

Creating custom GUI with Qt and ROS2

How to Launch the GUI

  1. Install ROS2 Foxy. 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.py