Git clone inside src folder of the workspace
-
Install dependensies
rosdep install -i --from-paths src --rosdistro foxy -y
-
Build and source using
colcon build --symlink-install source install/setup.bash
-
Create a virtual environment and activate it. [Optional]
- Create a virtual environment
pip install virtualenv virtualenv .venv
- Source the environment (Windows) or
.venv\Scripts\Activate.ps1
- Source the environment (Linux)
source .venv\bin\activate
- Create a virtual environment
-
Install the required packages.
pip install -r requirements.txt
-
Run the application.
ros2 launch teleop_gui controller.launch.py
Run with the test_listener.py file. [Optional]
ros2 launch teleop_gui controller.launch.py test:=True
W ↑
S D ↓
(Angle) (Speed)
To hold mouse press : Shift Key