Onboard-SDK-ROS icon indicating copy to clipboard operation
Onboard-SDK-ROS copied to clipboard

Setting a repeatable focal length

Open rebellojason7 opened this issue 4 years ago • 1 comments

Hi,

I have a Matrice V2 with RTK and a X5S gimbal. The lens seems to have a MF and AF switch. I would like to know what settings to use in hardware and software such that I am able to get a reliable and repeatable focal length (such that it does not change). Can you provide me with details on how to achieve the same.

Thanks, Jason

rebellojason7 avatar Nov 06 '20 05:11 rebellojason7

Agent comment from kyle.cai in Zendesk ticket #40816:

Dear developer ,

Thank you for contacting DJI.

Do you want to use OSDK to set AF/MF mode? The OSDK provides camera manager API about the focus mode: setFocusMode* ROS:https://github.com/dji-sdk/Onboard-SDK-ROS/blob/3d22a4e19f08f56448f22662c86030b2cfec7501/src/dji_osdk_ros/modules/vehicle_wrapper.cpp#L418

And you can also use the DJI Pilot APP to set the focus mode.

Thank you for your understanding and support, hope you have a nice day.

Best Regards, DJI SDK Support Team

dji-dev avatar Nov 06 '20 11:11 dji-dev