There is a new module under development that allows you to pipe VGA (640x480) video from the hires camera at 30fps via MPA so that it can be streamed with voxl-streamer using RTSP while simultaneously saving 4k HD video at 30fps encoded as h265 into a file, preferably on the SD card on voxl. This module is now available in beta and will be officially released in upcoming releases of the voxl SDK for voxl, rb5-flight, and voxl 2. The beta package is available using wget https://storage.googleapis.com/modalai_public/modal_packages/archive/voxl-hires-server_0.0.1.ipk
. It is meant for use on voxl only and is compatible with voxl platform release 3-3-0-0.5.0-a. In order to use it with voxl-camera-server, reconfigure voxl-camera-server to not use the hires camera. For example, call voxl-configure-cameras
and choose option 1 Tracking + Stereo
to allow voxl-camera-server to access the tracking and stereo cameras but not the hires camera. Then you can use voxl-hires-server for the hires camera. Use voxl-hires-server -h
to see the available options. More documentation will be available upon official release of this new package.
Best posts made by Eric Katzfey
-
How to stream hires camera at VGA resolution and simultaneously capture 4k30 to a file
-
RE: Streaming 4K video from Qualcomm RB5 drone
@kitkatSG Yes, we have enabled most resolutions in that sensor now and are preparing a release to address this issue.
-
RE: having trouble using docker on the sdcard
@JoeC Seems like it is an SD card issue. I was able to recreate the problem when using a SanDisk Extreme 32GB card. But when using a SanDisk Ultra 16GB card everything works fine.
-
RE: Maximum I2C Clock Frequency
@Morten-Nissov 1MHz is a supported clock rate for i2c on the DSP based on what I can see in the code. But we have never tried running a device at 1MHz on i2c so it's tough to say why it wouldn't be working for you.
-
RE: Voxl Streamer implementation with rtmp or dash streaming protocol
@Hammas-Ali We have not tried either of those streaming protocols. Voxl is a Linux computer so it is likely that you can implement RTMP or DASH. voxl-streamer uses GStreamer so, if there are RTMP or DASH GStreamer elements available, it shouldn't be too hard to incorporate them.
-
RE: QGroundControl Autoconnect when on same network with VOXL SDK
@Sam-Kiley When on public 3G / 4G / 5G networks we use a VPN and assign fixed addresses to each system component with our VPN configuration. You should be able to do a similar thing with your 5G private network. Does your private network have a connection to the Internet or is it self contained? I don't know anything about 5G private networks but I'd be surprised if it didn't have a way to assign the same IP address to a device on the network so that you effectively have a static IP. Earlier versions of the RB5 SDK set the MAV_BROADCAST parameter in PX4 to 1 and PX4 would then use the network broadcast address to send out it's initial messages. Any QGC instance running on the network will receive that broadcast and respond so that you get automatic connection. However, this can be problematic if there are more than one instance of QGC running since you may connect to an instance that you don't want. Also, some wireless networks do not support broadcast.
-
RE: Getting video streams from USB camera connected to Microhard Add-on module
There are a few steps you can take to bring up a new USB camera. First of all, the camera must be UVC compliant. The best thing to do is to test it out on a Linux PC first and verify that it works there. Some tips: 1. Use the 'lsusb' command before and after you plug the camera in to see if it is showing up. 2. If you see the device with 'lsusb', look in /dev to see if it shows up as a /dev/videox device. So, do 'ls /dev/video*' before plugging in the camera and after plugging in the camera to see if it appears. 3. If everything looks good you should be able to stream from it using voxl-streamer.
-
RE: voxl-streamer client repetitive connect/disconnect
An update to UVC camera support has been started. It will increase number of supported cameras by allowing MJPEG and will increase number of supported viewers including latest QGroundControl versions. Target availability is mid-December.
-
RE: voxl-tag-detector fails to start on V3.3 "Missing lens_cal_file"
@PawelJ Bear with us. Our subject matter experts are out on summer vacation this week.
-
RE: Custom px4-firmware build on StarlingV2
@smilon Yes, in order to build you can follow the README in the voxl-px4 project. The Docker provides the build environment so you need to use it.
-
RE: Getting video streams from USB camera connected to Microhard Add-on module
No, you shouldn't need anything special to see it with 'lsusb'. If you run 'dmesg -wH' and then plug in the camera do you see any messages printed? Another thing you can try is to free up the adb port by using ssh over wifi instead of adb. Then plug the camera into the adb port and see if you see it with 'lsusb'. It's possible you are seeing a power issue and the adb USB port can deal with more power.
-
RE: voxl-streamer client repetitive connect/disconnect
@wilkinsaf The configuration file for voxl-streamer is documented here: https://docs.modalai.com/voxl-streamer/#configuration-file-format
-
RE: Voxl 2 SDK 1.1.1
@JoeC SDK 1.1.1 is now available. Please use the installer in the voxl2_SDK_1.1.1.tar.gz archive to install this.
-
RE: Voxl 2 mini UARTs from Linux
@Brendon There is a UART available to the apps processor on VOXL2 mini on connector J10. But by default this is shipped with the default configuration of that being a SPI port instead of a UART. So, we are looking into the best way to support switching modes between SPI and UART so that customers can choose what function to have on J10. In order to use a SLPI UART you won't be able to have PX4 running on VOXL2 mini.
-
RE: voxl-streamer client repetitive connect/disconnect
@wilkinsaf The configuration for voxl-camera-server is discussed here: https://docs.modalai.com/voxl-camera-server/#configuration
-
RE: ModalAI uORB topic file handle location
@Dan It's not really documented anywhere other than the source code. The best place to look is at the muorb module code. That is what implements the uorb communicator interface to allow advertisements, subscription requests, and topic data to flow between the DSP and the Linux side.
-
RE: GPS not working
@Andre-Moura Thanks for all of the testing! We really appreciate it, this is all great feedback! It seems that Holybro may have changed the default configuration of the units and that could be why it wasn't coming up properly.
-
RE: Voxl 2 mini UARTs from Linux
@Brendon We have tested UART on J10 but don't really have anything we can share at the moment for allowing you to switch it from SPI to UART. We also have some internal code to allow access to one of the SLPI UARTs from the applications processor when PX4 isn't running. However, this also isn't really in a shareable form right now. These are both features that we are targeting for our next 1.0.1 SDK release. If you cannot wait a few weeks for that to come out then we can discuss ways to get you enabled sooner.
-
RE: voxl-streamer client repetitive connect/disconnect
@wilkinsaf There is an initial version of a new UVC camera server application now available from our "dev" package repo. The application voxl-uvc-server works in conjunction with voxl-streamer to better support UVC cameras. It has been tested with the Logitech C270 and Videology 5MP Micro USB 2.0 Board Camera. The documentation is at https://docs.modalai.com/voxl-uvc-server/ and the code is at https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-uvc-server. To try it out, install the latest Voxl platform release voxl_platform_3-3-0-0.5.0-a. On target, configure the opkg package manager to use the modalai dev repo (https://docs.modalai.com/configure-opkg/). Then use
opkg install voxl-streamer
to upgrade voxl-streamer from 0.2.6 to 0.2.7 (and libmodal_pipe from 2.1.1 to 2.1.2). Thenopkg install voxl-uvc-server
to install the new voxl-uvc-server application v0.0.5. Runvoxl-uvc-server -d
to start the application with debug messages. Then run voxl-streamer withvoxl-streamer -f /usr/share/modalai/voxl-streamer/voxl-streamer.conf -c uvc-server
to use the new configuration file and record type for the uvc server. Let me know if this works for you.