mzahana / siyi_sdk

Python implementation of the SDK of SIYI camera-gimbal systems
MIT License
58 stars 32 forks source link

SDK support SiYi ZT 30 Camera. #19

Open Raviteja-T opened 3 weeks ago

Raviteja-T commented 3 weeks ago

Hi,

I am using the ZT30 camera and connecting it to an Ubuntu machine. I am searching for an SDK for this camera. This GitHub repository works for this camera.

Yesterday, I tried to test the code with the ZT30 in the test_gimbal_rotation.py file, but I don't think it is compatible with this camera. The code results in a 360-degree rotation in both clockwise and counterclockwise directions. Even after changing the rotation values, it still didn't work.

Please suggest any source code for the ZT30 camera.

Thanks!

mzahana commented 3 weeks ago

Can you please try test_set_angles.py ?

the test_gimbal_rotation.py script was an old implementation ( I should remove it) before the SDK offered an option to set angles. It only supported angular speed at that time. So, I implemented a proportional controller. Recent camera firmware should have support direct angle setpoints. So, please try the new script test_set_angles.py