Integrating FLIR BOSON as USB-connected camera on VOXL
-
Hi @jaredjohansen ,
I'm not 100% sure this is exactly the issue, but we've tried something similar.
If using one of the USB ports out of an add-on board, you'll have that current limit, so a custom cable indeed is needed to get enough power to the unit. It's also possible out of the side ADB port, using a custom USB3 cable, but it's a pretty bulky cable...)
The other trick appears to be in power management:
- power off boson DC supply
- run
echo -1 > /sys/module/usbcore/parameters/autosuspend
- power on boson DC supply
A few assumptions were made so I could be way off, but perhaps this is of help.
-
@modaltb Unfortunately our current setup with the DC power being separate from the signal wires is still traveling via Fedex from a trip, so instead I ran your instructions on another voxl drone that had power and signal together, so the steps with disconnecting power I did by disconnecting the whole cable (I wasn't sure if this invalidates the whole solution). Another thing I would like to observe is that I ran the same start-uvc-stream.sh script on an m500 that still has the old gimbal that used to come with it, and I am also unable to stream from that despite being able to do so earlier about a month ago. Could it be an issue with some update to the system software or voxl-streamer? Unfortunately I don't have anymore devices I can use to test this issue.
-
@Daniel-Ryu We do not officially support Boson cameras at the moment but we have played with them a bit in the past. The one we used needed to be plugged in to the adb USB port with a standard USB 2.0 cable since that port supplies more power. If we plugged it into one of the USB ports on the add on board we needed external power and the little power management trick Travis mentioned above. Also, we needed some custom UVC driver code that is not currently publicly available. And... voxl-streamer was developed against QGC v3.5.6. It does not work reliably on newer versions. We plan to add Boson support and support for new versions of QGC in the future but have no firm date yet.
-
@Eric-Katzfey Voxl-streamer has been working fine so far with our current software, and I can test against QGC 3.5.6, so the main issue to worry about is the power issue you described. Could the custom UVC driver code be made available? The Boson IR camera is currently a critical component of our project
-
@Eric-Katzfey we are trying to do something similar and have been able to connect a Boson through the USB3/adb port. If we still also need to be able to use adb to connect to a computer, can this be done through the USB port on the debug expansion board?
-
check out the latest voxl-flir-server for software integration
The Flir Boson requires more power than USB 2 can support, but otherwise works. So, if you splice in external 5V power it works through the expansion USB on the debug/microhard/LTE boards.
-
@Chad-Sweet the trip2 unit is powered by the vehicle already and wouldn’t need power from the voxl2. I’m just giving the voxl2 an Ethernet to usb video stream via the microhard usb port. So I would still need to splice 5v in?
-
@McMason said in Integrating FLIR BOSON as USB-connected camera on VOXL:
trip2
I'm not familiar with trip2, sorry. Is it powered from VOXL 1 USB port and therefore limited to 500mA?
-
@Chad-Sweet no the vehicle isn’t a modalai product. The trip has its own dedicated 12v pwr bus. I may be able to get a usb connection out and if that’s the case it might be more simple possibly. I’ll look in the morning to see what besides Ethernet is available.
-
@McMason I'm confused by this thread. The topic relates to Flir Boson and now there is discussion of the Trip2 computer. How is Trip2 related to Boson?
-
@Eric-Katzfey no clue i was tagged in the thread, my guess would be to have my attention drawn to another source