@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?
Posts made by mkriesel
-
RE: lis3mdl magnetometer
-
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.
-
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. -
J19 uart
I am trying to access the uart port QUP7 on pin 10/11 on J19 on my voxl2 mini as specified is available in
https://docs.modalai.com/voxl2-linux-user-guide/#slpi-prochowever I'm not sure I understand exactly how to do that, I know I'm supposed to use libqrb5165-io but I don't really know how. I tried using it and I keep getting this as the output and I was hoping for some clarification on how to enable uart on the port
I'm on sdk 1.1.1
-
RE: Cameras only work in certain ports
@Moderator ok, is this the most up to date list for the voxl2-mini? I'm on SDK 1.1.0 and that page only has up to 1.0.0. Is it possible to have 2 imx678 working off of port J6? I can only get one working on the lower connection but not the one on the upper connection.
-
Cameras only work in certain ports
Hello,
I've been testing various camera setups for the Voxl 2 mini and have run into problems with certain cameras not working in certain ports and was hoping I could get some clarification if I am missing a setting or if the cameras just aren't compatible with certain ports.First setup: 2 hires IMX678 cameras plugged into the M0084 dual camera adapter with a M0135 interface board. (SDK 1.0.0)
With this setup I was only able to get the cameras to show up when connected to port J7, but my understanding from this (https://docs.modalai.com/voxl2-mini-image-sensors/#hires) is they should work in either J6 or J7 but when plugged in to J6 they don't show up at all under voxl-camera-server -l.Second setup: 1 OV9782 plugged into M0008 with a M0076 (SDK 1.1.0)
This setup only work with the camera plugged into port J6 and was not recognized plugged into port J7.
Third setup: 1 tracking OV7251 (M0014) into a M0076 (SDK 1.1.0)
This camera only work in port J7 with 0 cameras recognized on port J6
If possible I would like to be able to use either port for the cameras so anything you can point me to or any info is appreciated.
-
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? -
IMX 678 Camera Color Problem
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?