I am trying to read the Mavlink messages from a CubeOrange on an NVIDIA Jetson running ubuntu.
Linux jetson-charlie 5.10.104-tegra #1 SMP PREEMPT Sun Mar 19 07:55:28 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux
The Jetson can see the CubeOrange as a USB device and the Cube boots up when I plug in the USB to the Jetson.
usb-devices
...
T: Bus=01 Lev=02 Prnt=03 Port=03 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=2dae ProdID=1058 Rev=02.00
S: Manufacturer=CubePilot
S: Product=CubeOrange+
S: SerialNumber=26001E000851323031393637
C: #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I: If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
I: If#=0x2 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I: If#=0x3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
But there is no data coming across - when I run screen, it is just blank, and my Go application for reading MavLink messages never gets an Event.
When I try on my MacBook with the CubeOrange plugged in, it works fine. I can see raw data coming across in screen, and my Mavlink reader gets the messages.
I originally set the CubeOrange up using the Mission Planner on a Windows 11 machine.
One thing I’ve noticed is that on ubuntu the USB port is using an ACM driver (/dev/ttyACM0
), while on the Mac its /dev/tty.usbmodem
.
Is it a driver problem? Could the Jetson not be providing enough power? Anything else them I’m missing?