-
Notifications
You must be signed in to change notification settings - Fork 0
4.4 Running System without the Jetson
John-Paul Chouery edited this page Dec 15, 2024
·
1 revision
This guide will walk you through running the thrusters without the Jetson. These steps were tested on Windows 11. Docker on MacOS will likely have a similar procedure, but it has not yet been tested.
Prerequisites
- ROS Noetic on WSL with Ubuntu 20.04 (look at the other tutorials for this)
- Electrical setup with power supply / batteries - please speak with a lead first
-
Open WSL
-
Add the main repository into WSL
- Add the AUV-2025 repository to your WSL environment
-
git clone
and copy the folder into your WSL environment - or install git and git clone the repo directly in WSL
-
List USB Devices
- Open an elevated terminal and type:
usbipd list
- Identify the
<busid>
of the USB device you want to connect to Ubuntu. - In my case:
USB Serial Device (COM4), USB Serial
- Open an elevated terminal and type:
-
Bind USB Device to WSL
- Run the following command to bind the USB device to WSL:
usbipd bind --busid <busid>
- Example:
usbipd bind --busid 4-4
- Run the following command to bind the USB device to WSL:
-
Attach USB Device to WSL
- To attach the USB device to your WSL instance, use:
usbipd attach --wsl --busid <busid>
- To attach the USB device to your WSL instance, use:
-
Verify USB Connection in Ubuntu
- In your Ubuntu terminal, type:
lsusb
- This command will list the USB devices connected to your Ubuntu environment.
- In your Ubuntu terminal, type:
-
Install packages
- In your Ubuntu terminal, type:
sudo apt-get update sudo apt-get install python3-catkin-tools sudo apt-get install -y build-essential sudo apt install python3-pip pip install keyboard
- In your Ubuntu terminal, type:
-
Build and launch
-
cd
into/AUV-2025/catkin_ws
source devel/setup.bash
catkin build
roslaunch propulsion drytest.launch port:=/dev/ttyACM0
-