IMX412 for camera configuration 11 on SDK 1.1.2
-
I am trying to get the VOXL2 running SDK 1.1.2 and camera configuration 11 to use the IMX412 instead of the IMX214. I had this functioning in SDK 1.0, however when I try to run the command
voxl-configure-cameras 11 --imx412like I did in SDK 1.0 it tells me that it is and invalid command. I can runvoxl-configure-cameras 11with no issues.When I pull up
voxl-portalin my web browser it does not show the option to view the hires camera. I have the modified thevoxl-camera-server.confto set the resolution of the IMX412 to 1920x1080 and I also tried to change imx214 to imx412 and that yielded the same results.When running
voxl-camera-serverI see a error that say failure to find hires stream at 1920x1080. -
I am trying to get the VOXL2 running SDK 1.1.2 and camera configuration 11 to use the IMX412 instead of the IMX214. I had this functioning in SDK 1.0, however when I try to run the command
voxl-configure-cameras 11 --imx412like I did in SDK 1.0 it tells me that it is and invalid command. I can runvoxl-configure-cameras 11with no issues.When I pull up
voxl-portalin my web browser it does not show the option to view the hires camera. I have the modified thevoxl-camera-server.confto set the resolution of the IMX412 to 1920x1080 and I also tried to change imx214 to imx412 and that yielded the same results.When running
voxl-camera-serverI see a error that say failure to find hires stream at 1920x1080.@Chase-Riley, how are you connecting IMX412 to VOXL 2?
- which camera port on VOXL2
- what flex / adapter are you using
- which part of flex are you connecting IMX412 to (if it is a dual flex)
Does your configuration look like this ? https://docs.modalai.com/voxl2-camera-configs/#c-17-tof-tracking-stereo0v9782-and-hiresimx412 (you can ignore other cameras, mainly asking about imx412 location)
-
@Chase-Riley, how are you connecting IMX412 to VOXL 2?
- which camera port on VOXL2
- what flex / adapter are you using
- which part of flex are you connecting IMX412 to (if it is a dual flex)
Does your configuration look like this ? https://docs.modalai.com/voxl2-camera-configs/#c-17-tof-tracking-stereo0v9782-and-hiresimx412 (you can ignore other cameras, mainly asking about imx412 location)
@Alex-Kushleyev I followed the connection diagram for C-11. Which shows a different configuration than the C-17 you sent here. I am connecting the longest part of the dual flex to the hires camera. This configuration worked in SDK 1.0.
-
@Alex-Kushleyev I followed the connection diagram for C-11. Which shows a different configuration than the C-17 you sent here. I am connecting the longest part of the dual flex to the hires camera. This configuration worked in SDK 1.0.
@Chase-Riley , C11 uses a different camera (IMX214), so you did this setup and instead of 214 connected imx412? just wanted to confirm : https://docs.modalai.com/voxl2-camera-configs/#c-11-front-stereo-rear-stereo-hires-and-tracking-d0006-sentinel
-
@Chase-Riley , C11 uses a different camera (IMX214), so you did this setup and instead of 214 connected imx412? just wanted to confirm : https://docs.modalai.com/voxl2-camera-configs/#c-11-front-stereo-rear-stereo-hires-and-tracking-d0006-sentinel
@Alex-Kushleyev yes. Exactly. My configuration is c11 just with s 412 instead of the 214.
-
@Chase-Riley , C11 uses a different camera (IMX214), so you did this setup and instead of 214 connected imx412? just wanted to confirm : https://docs.modalai.com/voxl2-camera-configs/#c-11-front-stereo-rear-stereo-hires-and-tracking-d0006-sentinel
OK, here is a trick..
i connected tracking cam and IMX412 as shown in C11 (IMX412 instead of IMX214).
Then,
voxl-configure-cameras (select 11)Then you see the following:
copying required camera drivers in place /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_0.bin /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_1.bin /usr/share/modalai/chi-cdk/ov7251/com.qti.sensormodule.ov7251_2.bin /usr/share/modalai/chi-cdk/imx214/com.qti.sensormodule.imx214_3.bin /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_4.bin /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_5.binThis means that the original C11 configuration is expecting IMX214 in slot
3. Now, since we don't have imx214, go too/usr/lib/camera, removecom.qti.sensormodule.imx214_3.binand copy IMX412 sensormodule:cp /usr/share/modalai/chi-cdk/imx412/com.qti.sensormodule.imx412_3.bin /usr/lib/camera/then...
voxl-camera-server -l DEBUG: Attempting to open the hal module DEBUG: SUCCESS: Camera module opened on attempt 0 DEBUG: ----------- Number of cameras: 2 DEBUG: Cam idx: 0, Cam slot: 2, Slave Address: 0x00E2, Sensor Id: 0x7750 DEBUG: Cam idx: 1, Cam slot: 3, Slave Address: 0x0034, Sensor Id: 0x0577Remember, i only have two cameras plugged in.. tracking and imx412
sensor ID
0x0577is for IMX412, also you will see supported resolutions.Then you have to go to
/etc/modalai/voxl-camera-server.confand change the hires camera resolution. IMX412 does not support the same max resolution as IMX412. IMX214 : 4208x3120, IMX412 : 4056x3040. However you can choose a standard resolution4k (3840x2160)or1080p (1920x1080)which are supported by all hires camssave the config and start
voxl-camera-serverin foreground to see the ouput / debug printsvoila!
-
OK, here is a trick..
i connected tracking cam and IMX412 as shown in C11 (IMX412 instead of IMX214).
Then,
voxl-configure-cameras (select 11)Then you see the following:
copying required camera drivers in place /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_0.bin /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_1.bin /usr/share/modalai/chi-cdk/ov7251/com.qti.sensormodule.ov7251_2.bin /usr/share/modalai/chi-cdk/imx214/com.qti.sensormodule.imx214_3.bin /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_4.bin /usr/share/modalai/chi-cdk/ov7251-combo/com.qti.sensormodule.ov7251_combo_5.binThis means that the original C11 configuration is expecting IMX214 in slot
3. Now, since we don't have imx214, go too/usr/lib/camera, removecom.qti.sensormodule.imx214_3.binand copy IMX412 sensormodule:cp /usr/share/modalai/chi-cdk/imx412/com.qti.sensormodule.imx412_3.bin /usr/lib/camera/then...
voxl-camera-server -l DEBUG: Attempting to open the hal module DEBUG: SUCCESS: Camera module opened on attempt 0 DEBUG: ----------- Number of cameras: 2 DEBUG: Cam idx: 0, Cam slot: 2, Slave Address: 0x00E2, Sensor Id: 0x7750 DEBUG: Cam idx: 1, Cam slot: 3, Slave Address: 0x0034, Sensor Id: 0x0577Remember, i only have two cameras plugged in.. tracking and imx412
sensor ID
0x0577is for IMX412, also you will see supported resolutions.Then you have to go to
/etc/modalai/voxl-camera-server.confand change the hires camera resolution. IMX412 does not support the same max resolution as IMX412. IMX214 : 4208x3120, IMX412 : 4056x3040. However you can choose a standard resolution4k (3840x2160)or1080p (1920x1080)which are supported by all hires camssave the config and start
voxl-camera-serverin foreground to see the ouput / debug printsvoila!
@Alex-Kushleyev Awesome! That got it working. Now one last thing on this. How can I flip the image of the imx412? Would it still be a driver that said
flipafter it? -
@Alex-Kushleyev Awesome! That got it working. Now one last thing on this. How can I flip the image of the imx412? Would it still be a driver that said
flipafter it?@Chase-Riley, i think so! You would need to delete the sensormodule for the non flipped one from /usr/lib/camera
-
A Alex Kushleyev referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login