Hello, I am pulling images from the voxl-camera-server of a ar0144 camera over the modal pipe and was wonder what was meant by " int64_t timestamp_ns; ///< timestamp in apps-proc clock-monotonic of beginning of exposure", if this is the case if I am looking for the "center of exposure time" does this mean I take the "exposure_ns" and add half of that to the timestamp_ns?
Posts made by mkriesel
-
Camera Timestamp From Camera Server Question
-
RE: Reflashing Voxl 2 Sentinel Drone
@Vinny I was able to get it in fastboot mode and flash it so things seem to be working now, switching to off and hitting the button solved it.
Thanks for all the help!
-
RE: Reflashing Voxl 2 Sentinel Drone
@Vinny It wasn't a power issue, I realized one of the boards in the stack wasn't connecting properly, so pretty simple to fix that.
I am still having the issue of actually getting it to work though, all of my attempts to get it into fastboot mode don't do anything and there doesn't seem to be a button on the board I can push and the switch doesn't seem to be helping. There is a button on the 5G Wireless board at the top, but this also does not seem to put it into fastboot mode. I also can't connect to it any other way, like just doing adb shell and no devices show for adb devices nor fastboot devices.
-
RE: Reflashing Voxl 2 Sentinel Drone
@mkriesel I got the green light now but there is still a problem, the 5G boaard has a button but the bottom 2 boards don't have any button, just the switch on the middle board, the one with the usb connector. I still cannot connect to it nor get fastboot working.
-
RE: Reflashing Voxl 2 Sentinel Drone
@tom Hello, I am picking up this problem now and have some questions about what I should do for next steps.
There are 2 boards in this stack and it seems slightly different than than the stock Voxl 2. On the top board there is a button labeled sw3. Pressing this button and power on does not seem to be enabling fastboot mode. the install.sh script just hangs and fastboot devices produces no results. There is a switch labled sw1 but this does not seem to do anything either and I can't seem to find what this does.
What do you mean by "light being red is not good", what does this indicate? Power to the board seems fine. I'm using the stock cable an wall power adapter and everything seems to turn on fine and is supplying the correct power.
Are there other things I can try or would this board need to be sent back for fixing
-
RE: RAW10 output for ov9782
@Alex-Kushleyev Hi again, I'm now testing similar capability for the OnSemi AR0144 https://docs.modalai.com/M0149/ but looking at the debug logs I see
DEBUG: setting thread affinity for cam hires preview
DEBUG: hires checking to see if it is raw8 or raw 10
DEBUG: Frame was actually 8 bit, sending as is
DEBUG: Value of standby_active is: 0so does this mean that I cannot get 10 bit imagery from this sensor? I see messages like <pre><font color="#839496"><b> </b></font>Allocated BO with width=1280 height=800 stride=1600 aligned_w=1600 aligned_h=800 size=1282048 flags=0x20900 format=GBM_FORMAT_RAW10
</pre> as well. I'm just trying to figure what options I have available for this sensor right now.Thanks!
-
RE: RAW10 output for ov9782
@Alex-Kushleyev Hi, I got the chance to test this over the past few days. It working and I haven't run into any issues so far. Thank you very much for helping out this this.
-
RE: lis3mdl magnetometer
@Vinny Thanks for the help on this I really appreciate it. I'll take a look.
-
RE: RAW10 output for ov9782
@Alex-Kushleyev Hi Alex, wondering if you have an update for me on this, thanks.
-
RE: lis3mdl magnetometer
@Eric-Katzfey I undertand you do not have any Voxl 2 mini schematics open to the public but is it possible for you to share with me the gpio pins that J19 are on for the QRB5165 board?
-
RE: lis3mdl magnetometer
@Eric-Katzfey Hi again, sorry for all the questions but for an update, I was able to get the compass working for my application by using the mavlink pipe and for now this is sufficient, however if I wanted to reconfigure the port to have it on the application processor instead could I do that? Again, it doesn't matter if I lose functionality in px4 because I don't plan to use it if I don't have to but if those GPIO pins are available I would like to explore that option.
Thanks for all the help so far.
-
RE: RAW10 output for ov9782
I do need the actual 10 bit RAW image .so I would appreciate your help in editing the camera server to get that working. Thanks.
-
RAW10 output for ov9782
Hello, I have a voxl 2 mini with 1 ov9782 on j7 on sdk 1.1.2 and I was wondering if is it possible to get RAW 10 bit image from the sensor over the modal pipe through the voxl-camera-server?
-
RE: lis3mdl magnetometer
@Eric-Katzfey Hello
I've looked through px4 and I'm alittle lost on how exactly this all works maybe you can give alittle more detail. I understand the the ports are configured to the spli proc to be used on the dsp but where extacly does this interface, In I2C.cpp you showed above it sets all the functions to null and then they get decalred on init but I can't find where they actually interface with the i2c registers.After that would I need to compile my program with Hexagon SDK or is it possible at all to interface with this i2c port in the normal Ubuntu environment at all?My understanding is that the uart on the same J19 is configured in the same way but I can access those through the libqrb5165-io and voxl-io.h so is there something similar available for i2c or could I implement my own in a similar way and if I could how would I go about doing this?
-
RE: lis3mdl magnetometer
@Eric-Katzfey is it possible for you to provide me the code that interfaces with the j19 i2c in px4 so I can look at if I wanted to write my own interface with that port?
-
RE: lis3mdl magnetometer
@Eric-Katzfey Hello again, question on accessing things plugged into the j19 i2c port, how would I access them outside of px4? I saw this https://forum.modalai.com/post/13604 so I'm guessing I can't use /dev/i2c-0 to acccess that port, however looking through the px4 for referenec it seems like it does use the app proc https://github.com/modalai/px4-firmware/blob/7fbbdc31e8a61525777d8edcf8f339a738abf138/src/lib/drivers/device/posix/I2C.cpp#L87 So is this the correct way to do it or is there something else I have to do?
-
RE: lis3mdl magnetometer
@Eric-Katzfey understood, I wanted to use px4 to do some testing and confirm it works but I plan on interfacing with it directly outside of px4, thanks for the help.
-
lis3mdl magnetometer
Hi, I'm trying to connect a LIS3MDL compass to the voxl 2 mini through the i2c ports on j19, I have it connected to pins 1,4,5,6 for power scl sda ground. Specifically https://www.amazon.com/gp/product/B084HL3R1Y/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
Is this magnetometer supported on the voxl 2 mini px4? I tried px4-listener sensor_mag and it gives never published.
I see in the px4-firmware on git it has stuff for the lis3mdl so is there something I need to do to enable it?
https://gitlab.com/voxl-public/flight-core-px4/px4-firmware-ci/-/tree/master/src/drivers/magnetometer/lis3mdl?ref_type=heads