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.
Eric Katzfey
@Eric Katzfey
Best posts made by Eric Katzfey
-
How to stream hires camera at VGA resolution and simultaneously capture 4k30 to a fileposted in Ask your questions right here!
-
RE: Streaming 4K video from Qualcomm RB5 droneposted in Qualcomm Flight RB5 5G Drone
@kitkatSG Yes, we have enabled most resolutions in that sensor now and are preparing a release to address this issue.
-
RE: Ardupilot : connection with Mission Plannerposted in VOXL 2
@Kessie Excellent, glad to hear you got it working! And thanks for adding the details on what you had to do to the posting!
-
RE: having trouble using docker on the sdcardposted in Ask your questions right here!
@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 Frequencyposted in Ask your questions right here!
@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: VOXL2 I2C access from FCposted in ROS
@ceu-gomez PX4 on VOXL2 is composed of two separate applications. One is on the applications processor (running Ubuntu) and the other is on the DSP (running Qurt RTOS). They use the muorb module to communicate topic data back and forth. The spare i2c on J19 is mapped to the DSP, not the applications processor, so Ubuntu has no access to it. To gain access to it on Ubuntu side with PX4 running would require some new code. This is something that is on our development roadmap but no definitive answer on when we will be able to get to it.
-
RE: Voxl 2 SDK 1.1.1posted in VOXL SDK
@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: ModalAI uORB topic file handle locationposted in VOXL 2
@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: Voxl Streamer implementation with rtmp or dash streaming protocolposted in VOXL
@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: voxl-streamer client repetitive connect/disconnectposted in Ask your questions right here!
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.
Latest posts made by Eric Katzfey
-
RE: Starling 2 Max Motor Catchesposted in Starling & Starling 2
@RyanH I'll let another of my associates comment on the purchase of a new motor. But can you also share a px4 log file from such a flight. It would be helpful for us to take a look at it.
-
RE: I2C reading of 12S batteryposted in Support Request Format for Best Results
@Nikos-Mavr You're welcome! And can you please start a new forum post for this new issue? Thanks!
-
RE: Voxl2 + M0041 RevB Battery Monitor on Arducopterposted in Ask your questions right here!
@Dan-Jennings I'd try our
voxl-inspect-mavlinkapplication. Checkvoxl-inspect-mavlink mavlink_onboardandvoxl-inspect-mavlink mavlink_to_gcsand see ifbattery_statusappears at all. I just loadedvoxl-ardupilot_ArduCopter_4.8.0-94b27fd3_arm64.debon my voxl2 with our standard APM and I see battery status in QGroundControl and withvoxl-inspect-mavlink mavlink_to_gcs. Also, can you upgrade to VOXL SDK 1.6.x? -
RE: Trigger Hadron camera with DO_SET_CAM_TRIGG_DISTposted in VOXL 2
@restore There are a few examples of code that listens for Mavlink messages in our SDK. For example, in voxl-mpa-tools, take a look at the source code for voxl-inspect-mavlink.c. https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/master/tools/voxl-inspect-mavlink.c?ref_type=heads
Probably would be a good idea to run voxl-inspect-mavlink on the mavlink_onboard and mavlink_to_gcs pipes to see which one has the desired Mavlink message in it. Then create your own application that listens for the Mavlink message on that pipe.
-
RE: I2C reading of 12S batteryposted in Support Request Format for Best Results
@Nikos-Mavr Can you reboot, try the command again, and send the entire output of PX4 so that I can see the entire startup process?
-
RE: Voxl2 + M0041 RevB Battery Monitor on Arducopterposted in Ask your questions right here!
@Dan-Jennings Rather than use voxl-inspect-battery have you tried QGC or Mission Planner or Mav Proxy?
-
RE: Voxl2 + M0041 RevB Battery Monitor on Arducopterposted in Ask your questions right here!
@Dan-Jennings Which arducopter build are you using?
-
RE: I2C reading of 12S batteryposted in Support Request Format for Best Results
@Nikos-Mavr I added the ina226 and ina228 drivers into the build. Updated build can be found here: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.136-202603180951_arm64.deb
To try it out use the command
qshell ina226 start -X -b 4orqshell ina228 start -X -b 4from the px4 command line to see if the driver sees your device. -
RE: I2C reading of 12S batteryposted in Support Request Format for Best Results
@Nikos-Mavr Okay, great, so the I2C is working then. But address 0x41 is an INA226, not an INA228. The PX4 driver indicates that an INA228 has an address of 0x45. And the Holybro data sheet for the PM02D indicates that the lower voltage one for up to 6S battery uses the INA226 while the higher voltage one for up to 12S. Am I reading that correctly? Regardless, it doesn't matter how you set POWER_MANAGER in voxl-px4.conf because that just determines whether it will start the voxlpm driver. But, probably best to set it to EXTERNAL for now. The bigger issue is that the drivers for INA226 and INA228 are not in the image. So they need to be added to the image and then started in the voxl-px4-start startup script located in /usr/bin.
-
RE: I2C reading of 12S batteryposted in Support Request Format for Best Results
@Nikos-Mavr Once you get the signals figured out I added i2cdetect to px4 so you can scan the buses and see if your device is detected. Some rudimentary instructions are here: https://docs.modalai.com/voxl-px4-dev-build-guide/#i2c-debugging. You will need the latest voxl-px4 which is here: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.135-202603171827_arm64.deb