You are here

Connection issues using PyVESC

1 post / 0 new
axelray
Offline
Last seen: 1 year 5 months ago
Joined: 2022-04-13 12:37
Posts: 1
Connection issues using PyVESC

hello everyone.

My name is Yonatan. My team and I are making an AUV and we're using the VESC 75/300 in order to control our main motor.
We do most of our coding in oython and we make use of ROS2 in order to manage the communication between different modules.

While workshopping in the lab, we had little to no connection problems with the VESC. For some reason, after transportting the AUV and locking it up, we cant seem to reach serial connection. Moreover, our computer doesn't even see anything connected to the port where we connect our VESC.

Our connection method:

We have a rules.d file that sends '/dev/jet' to '/dev/ttyACM0'

We're using a USB cable to connect the VESC to an UP board (https://up-board.org/wp-content/uploads/datasheets/UPDatasheetV8.5.pdf). While in transit, the VESC is powered and physically connected to the UP board, but the UP board itself is turned off. We started thinking this might be one of the reasons for our trouble but we're unable to confirm this yet.

Has anyone used the python PyVESC module and had a similar problem?

Thanks in advance,

Yonatan.