I have a 2 imx678 hires cameras attached to a voxl 2 mini the stream video using the voxl-camera-server without any problems, however there is a weird color tint on the cameras. Is there any way to adjust to color calibration for the voxl-camera-server? If not is there a way to access the raw8 or raw10 grey video without any image processing done to them?
Best posts made by mkriesel
-
IMX 678 Camera Color Problem
-
RE: J19 uart
@tom I thought I did but it wasn't in properly I tested it again and I got sucess.
so this confirms that uart is working correct? and then for using it in my own program I could use the same things I see in the test program with #include <voxl_io.h> and then all the same voxl_uart functions used in the program yeah?
Thanks. -
RE: IMX 678 Camera Color Problem
@Moderator Any update on accessing the RAW8 for the hires image sensors?
Also, is there a way to change the exposure and gain manually. In the voxl-camera-server config I have been able to change the setting of ae_mode to off and I've tried using the "voxl-send-command hires0_small_color set_exp_gain 100 200" for example but nothing changes. I also tried setting the ae_mode to lme_msv but changing the settings in the config had no effect of the exposure or gain either, it was acting the same as the off mode. Are these settings available to the hires imx678? If not, is there any way for me to adjust the exposure and gain settings?
Latest posts made by mkriesel
-
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 -
RE: Can't get data from second imu
@Eric-Katzfey I don't see anything being published in ros and it doesn't seem like anything is being sent on the /run/mpa/imu_px4 pipe. I would like to be able to use both imus in a program I'm writing so is there a way to get the data out like imu_apps and outside of px4 or is px4 the only thing that can use that imu?
-
Can't get data from second imu
Hi, I have a voxl 2 mini on sdk version 1.1.2 and I want to be able to read data off of both imus however I can only get data off of one of the imus, imu_apps. According to the documentation https://docs.modalai.com/voxl2-mini-onboard-sensors/#imus the other imu is imu_px4 but it shows up blank in voxl-inspect-imu imu_px4. I've tried starting px4 and px4-imu-server to fix this but it didn't seem to help. What am I missing to access the second imu. Thanks.
-
RE: Imu temp calibration
@Alex-Kushleyev
it runs for about a minute and it seems to be stressing the cpu but not enough to raise the temp significantly, in my setup the voxl is sitting in a metal housing so does it just not get hot enough for it to run the calibration properly?
-
Imu temp calibration
Hello, I have a voxl2 mini that I'm doing development on and I'm running in to issues with the temperature calibration on the imu, mostly that I can't get it to work. When I try to run the calibration it doesn't complete and says "not enough samples, need at least 3" It feels like I'm missing something obvious but I've tried it a few times to the same result. Any help or guidance is appreciated.