Hires camera rotation
-
Having issues with Hires camera. Is there a way to rotate the camera similar to the rotate_tracking and rotate_stereo? I also assumed the default seeker_voxlcam would have hires as well but it only has TOF/Stereo/Tracking (ID #7).


-
Hello @JustinDev23 ,
Rotating Hires camera is not an option in the configuration menu, however you can still do this pretty easily.
When you run
voxl-configure-cameras, based on your use case, the script writes an appropriate configuration file to/system/etc/camera/camera_config.xml. In that file, you will see entries for all the cameras expected for the particular use case.Since you have already enabled the hires camera (IMX214), you already have an entry for it in
camera_config.xml, so if you find it, you should see something like this<SensorName>imx214_rot180</SensorName>. What this does it tells the camera framework to load a dynamic library/usr/lib/libmmcamera_imx214_rot180.so- our default is the rotated version. To remove the rotation, you simply change the entry to<SensorName>imx214</SensorName>, which will in turn use/usr/lib/libmmcamera_imx214.solibrary after you reboot and the image should be right side up.Please remember that running
voxl-configure-camerasagain will overwrite the camera_config.xml that you may edit.Hope this helps!
Alex
-
H hmlow referenced this topic on
-
H hmlow 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