imaginevision / Z-Camera-Doc

Document for Z Camera
149 stars 46 forks source link

get lens_focus_pos key value #61

Closed adahbingee closed 2 years ago

adahbingee commented 2 years ago

Please add the key value.

GET /ctrl/get?lens_focus_pos
GET /ctrl/get?lens_zoom_pos

image

costavale commented 2 years ago

Did you manage to understand what are supposed to be the values? and if the values are the same as mf_drive? I am trying to write a small controller in java, but some of the commands are not really clear.

adahbingee commented 2 years ago

It' works

command to get focus position

/ctrl/get?k=lens_focus_pos

for setting focus command

/ctrl/set?lens_focus_pos=100
costavale commented 2 years ago

Thank you! I have seen that this is working, but what does the number "100" in /ctrl/set?lens_focus_pos=100 means? and what is the difference to /ctrl/set?mf_drive=100?

adahbingee commented 2 years ago

sorry, that's just an experienced value

costavale commented 2 years ago

Ok, and what is the difference with mf_drive?

adahbingee commented 2 years ago

I did not use this command yet. sorry

costavale commented 2 years ago

Ok, thank you!