Skip to content

airvlab/cathsim-controller

Repository files navigation

Burt the board

Download the Arduino

download from website set it as excutable file:

chmod +x <filepath>
./<filepath>

Release the port

sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service

Get the permission of port

sudo chown `<username>` /dev/ttyUSB0

Get the group that can control the port.

dmesg | tail # get device port for example ttyusb0

ls -l /dev/`<device port>` # get the group name that can control the port. for example dialout

sudo usermod -aG `<group name>` `<username>`

Create the environment using conda

conda create -n controller python=3.10 
conda activate controller
pip install -e .

Troubleshoot

Be part of sudo group

Port is busy on Ubuntu

Ubuntu uses brltty, so we need to uninstall it and stop the services. See more info here.

sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6