zen_api/lm/hardware/v2/focus_service.proto#
Version: 2026.5.1
Package: zen_api.lm.hardware.v2
Service FocusService#
The IFocusService interface.
GetAcceleration#
Gets the focus acceleration.
rpc GetAcceleration (zen_api.lm.hardware.v2.FocusServiceGetAccelerationRequest) returns (zen_api.lm.hardware.v2.FocusServiceGetAccelerationResponse);
Request: zen_api.lm.hardware.v2.FocusServiceGetAccelerationRequest
Response: zen_api.lm.hardware.v2.FocusServiceGetAccelerationResponse
GetPosition#
Gets the focus position.
rpc GetPosition (zen_api.lm.hardware.v2.FocusServiceGetPositionRequest) returns (zen_api.lm.hardware.v2.FocusServiceGetPositionResponse);
Request: zen_api.lm.hardware.v2.FocusServiceGetPositionRequest
Response: zen_api.lm.hardware.v2.FocusServiceGetPositionResponse
GetSpeed#
Gets the focus speed.
rpc GetSpeed (zen_api.lm.hardware.v2.FocusServiceGetSpeedRequest) returns (zen_api.lm.hardware.v2.FocusServiceGetSpeedResponse);
Request: zen_api.lm.hardware.v2.FocusServiceGetSpeedRequest
Response: zen_api.lm.hardware.v2.FocusServiceGetSpeedResponse
MoveTo#
Moves the focus to the given position in meters.
rpc MoveTo (zen_api.lm.hardware.v2.FocusServiceMoveToRequest) returns (zen_api.lm.hardware.v2.FocusServiceMoveToResponse);
Request: zen_api.lm.hardware.v2.FocusServiceMoveToRequest
Response: zen_api.lm.hardware.v2.FocusServiceMoveToResponse
SetAcceleration#
Sets the acceleration of the focus in percent.
rpc SetAcceleration (zen_api.lm.hardware.v2.FocusServiceSetAccelerationRequest) returns (zen_api.lm.hardware.v2.FocusServiceSetAccelerationResponse);
Request: zen_api.lm.hardware.v2.FocusServiceSetAccelerationRequest
Response: zen_api.lm.hardware.v2.FocusServiceSetAccelerationResponse
SetSpeed#
Sets the speed of the focus in percent.
rpc SetSpeed (zen_api.lm.hardware.v2.FocusServiceSetSpeedRequest) returns (zen_api.lm.hardware.v2.FocusServiceSetSpeedResponse);
Request: zen_api.lm.hardware.v2.FocusServiceSetSpeedRequest
Response: zen_api.lm.hardware.v2.FocusServiceSetSpeedResponse
Stop#
Stops the focus if it is moving.
rpc Stop (zen_api.lm.hardware.v2.FocusServiceStopRequest) returns (zen_api.lm.hardware.v2.FocusServiceStopResponse);
Request: zen_api.lm.hardware.v2.FocusServiceStopRequest
Response: zen_api.lm.hardware.v2.FocusServiceStopResponse
Message FocusServiceGetAccelerationRequest#
The FocusServiceGetAccelerationRequest class.
Message FocusServiceGetAccelerationResponse#
Acceleration of the focus in %.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | The acceleration in %. |
Message FocusServiceGetPositionRequest#
The FocusServiceGetPositionRequest class.
Message FocusServiceGetPositionResponse#
Position of the focus in meters.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | The position in meters. |
Message FocusServiceGetSpeedRequest#
The FocusServiceGetSpeedRequest class.
Message FocusServiceGetSpeedResponse#
Speed of the focus in %.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | The speed in %. |
Message FocusServiceMoveToRequest#
The FocusServiceMoveToRequest class.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
value |
1 | double |
singular | New position in meters. |
Message FocusServiceMoveToResponse#
Describes the result of a Focus.MoveTo request.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
position_changed |
1 | bool |
singular | A value indicating whether the position was changed. |
Message FocusServiceSetAccelerationRequest#
The FocusServiceSetAccelerationRequest class.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
acceleration |
1 | double |
singular | Acceleration in percent, i.e. values from range [0;100]. |
Message FocusServiceSetAccelerationResponse#
The FocusServiceSetAccelerationResponse class.
Message FocusServiceSetSpeedRequest#
The FocusServiceSetSpeedRequest class.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
speed |
1 | double |
singular | Speed in percent, i.e. values from range [0;100]. |
Message FocusServiceSetSpeedResponse#
The FocusServiceSetSpeedResponse class.
Message FocusServiceStopRequest#
The FocusServiceStopRequest class.
Message FocusServiceStopResponse#
The FocusServiceStopResponse class.