Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/viam/components/movement_sensor/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def get_position(self, *, extra: Optional[Dict[str, Any]] = None, timeout:
extra = {}
request = GetPositionRequest(name=self.name, extra=dict_to_struct(extra))
response: GetPositionResponse = await self.client.GetPosition(request, timeout=timeout)
return response.coordinate, response.altitude_mm
return response.coordinate, response.altitude_m

async def get_linear_velocity(self, *, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None) -> Vector3:
if extra is None:
Expand Down Expand Up @@ -89,7 +89,7 @@ async def get_accuracy(self, *, extra: Optional[Dict[str, Any]] = None, timeout:
extra = {}
request = GetAccuracyRequest(name=self.name, extra=dict_to_struct(extra))
response: GetAccuracyResponse = await self.client.GetAccuracy(request, timeout=timeout)
return response.accuracy_mm
return response.accuracy

async def get_readings(self, *, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None) -> Mapping[str, Any]:
if extra is None:
Expand Down
4 changes: 2 additions & 2 deletions src/viam/components/movement_sensor/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async def GetPosition(self, stream: Stream[GetPositionRequest, GetPositionRespon
raise e.grpc_error
timeout = stream.deadline.time_remaining() if stream.deadline else None
point, alt = await sensor.get_position(extra=struct_to_dict(request.extra), timeout=timeout, metadata=stream.metadata)
response = GetPositionResponse(coordinate=point, altitude_mm=alt)
response = GetPositionResponse(coordinate=point, altitude_m=alt)
await stream.send_message(response)

async def GetProperties(self, stream: Stream[GetPropertiesRequest, GetPropertiesResponse]) -> None:
Expand All @@ -133,7 +133,7 @@ async def GetAccuracy(self, stream: Stream[GetAccuracyRequest, GetAccuracyRespon
raise e.grpc_error
timeout = stream.deadline.time_remaining() if stream.deadline else None
accuracy = await sensor.get_accuracy(extra=struct_to_dict(request.extra), timeout=timeout, metadata=stream.metadata)
response = GetAccuracyResponse(accuracy_mm=accuracy)
response = GetAccuracyResponse(accuracy=accuracy)
await stream.send_message(response)

async def DoCommand(self, stream: Stream[DoCommandRequest, DoCommandResponse]) -> None:
Expand Down
40 changes: 20 additions & 20 deletions src/viam/gen/component/movementsensor/v1/movementsensor_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0component/movementsensor/v1/movementsensor.proto\x12 viam.component.movementsensor.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"]\n\x18GetLinearVelocityRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"]\n\x19GetLinearVelocityResponse\x12@\n\x0flinear_velocity\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x0elinearVelocity"^\n\x19GetAngularVelocityRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"`\n\x1aGetAngularVelocityResponse\x12B\n\x10angular_velocity\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x0fangularVelocity"]\n\x18GetCompassHeadingRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"1\n\x19GetCompassHeadingResponse\x12\x14\n\x05value\x18\x01 \x01(\x01R\x05value"Z\n\x15GetOrientationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"W\n\x16GetOrientationResponse\x12=\n\x0borientation\x18\x01 \x01(\x0b2\x1b.viam.common.v1.OrientationR\x0borientation"W\n\x12GetPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"p\n\x13GetPositionResponse\x128\n\ncoordinate\x18\x01 \x01(\x0b2\x18.viam.common.v1.GeoPointR\ncoordinate\x12\x1f\n\x0baltitude_mm\x18\x02 \x01(\x02R\naltitudeMm"Y\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xf5\x02\n\x15GetPropertiesResponse\x12:\n\x19linear_velocity_supported\x18\x01 \x01(\x08R\x17linearVelocitySupported\x12<\n\x1aangular_velocity_supported\x18\x02 \x01(\x08R\x18angularVelocitySupported\x123\n\x15orientation_supported\x18\x03 \x01(\x08R\x14orientationSupported\x12-\n\x12position_supported\x18\x04 \x01(\x08R\x11positionSupported\x12:\n\x19compass_heading_supported\x18\x05 \x01(\x08R\x17compassHeadingSupported\x12B\n\x1dlinear_acceleration_supported\x18\x06 \x01(\x08R\x1blinearAccelerationSupported"W\n\x12GetAccuracyRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xbc\x01\n\x13GetAccuracyResponse\x12f\n\x0baccuracy_mm\x18\x01 \x03(\x0b2E.viam.component.movementsensor.v1.GetAccuracyResponse.AccuracyMmEntryR\naccuracyMm\x1a=\n\x0fAccuracyMmEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01"a\n\x1cGetLinearAccelerationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"i\n\x1dGetLinearAccelerationResponse\x12H\n\x13linear_acceleration\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x12linearAcceleration2\x97\x0e\n\x15MovementSensorService\x12\xd2\x01\n\x11GetLinearVelocity\x12:.viam.component.movementsensor.v1.GetLinearVelocityRequest\x1a;.viam.component.movementsensor.v1.GetLinearVelocityResponse"D\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/linear_velocity\x12\xd6\x01\n\x12GetAngularVelocity\x12;.viam.component.movementsensor.v1.GetAngularVelocityRequest\x1a<.viam.component.movementsensor.v1.GetAngularVelocityResponse"E\x82\xd3\xe4\x93\x02?\x12=/viam/api/v1/component/movementsensor/{name}/angular_velocity\x12\xd2\x01\n\x11GetCompassHeading\x12:.viam.component.movementsensor.v1.GetCompassHeadingRequest\x1a;.viam.component.movementsensor.v1.GetCompassHeadingResponse"D\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/compass_heading\x12\xc5\x01\n\x0eGetOrientation\x127.viam.component.movementsensor.v1.GetOrientationRequest\x1a8.viam.component.movementsensor.v1.GetOrientationResponse"@\x82\xd3\xe4\x93\x02:\x128/viam/api/v1/component/movementsensor/{name}/orientation\x12\xb9\x01\n\x0bGetPosition\x124.viam.component.movementsensor.v1.GetPositionRequest\x1a5.viam.component.movementsensor.v1.GetPositionResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/position\x12\xc1\x01\n\rGetProperties\x126.viam.component.movementsensor.v1.GetPropertiesRequest\x1a7.viam.component.movementsensor.v1.GetPropertiesResponse"?\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/properties\x12\xb9\x01\n\x0bGetAccuracy\x124.viam.component.movementsensor.v1.GetAccuracyRequest\x1a5.viam.component.movementsensor.v1.GetAccuracyResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/accuracy\x12\xe2\x01\n\x15GetLinearAcceleration\x12>.viam.component.movementsensor.v1.GetLinearAccelerationRequest\x1a?.viam.component.movementsensor.v1.GetLinearAccelerationResponse"H\x82\xd3\xe4\x93\x02B\x12@/viam/api/v1/component/movementsensor/{name}/linear_acceleration\x12\x91\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"?\x82\xd3\xe4\x93\x029"7/viam/api/v1/component/movementsensor/{name}/do_commandBS\n$com.viam.component.movementsensor.v1Z+go.viam.com/api/component/movementsensor/v1b\x06proto3')
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0component/movementsensor/v1/movementsensor.proto\x12 viam.component.movementsensor.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto"]\n\x18GetLinearVelocityRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"]\n\x19GetLinearVelocityResponse\x12@\n\x0flinear_velocity\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x0elinearVelocity"^\n\x19GetAngularVelocityRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"`\n\x1aGetAngularVelocityResponse\x12B\n\x10angular_velocity\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x0fangularVelocity"]\n\x18GetCompassHeadingRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"1\n\x19GetCompassHeadingResponse\x12\x14\n\x05value\x18\x01 \x01(\x01R\x05value"Z\n\x15GetOrientationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"W\n\x16GetOrientationResponse\x12=\n\x0borientation\x18\x01 \x01(\x0b2\x1b.viam.common.v1.OrientationR\x0borientation"W\n\x12GetPositionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"n\n\x13GetPositionResponse\x128\n\ncoordinate\x18\x01 \x01(\x0b2\x18.viam.common.v1.GeoPointR\ncoordinate\x12\x1d\n\naltitude_m\x18\x02 \x01(\x02R\taltitudeM"Y\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xf5\x02\n\x15GetPropertiesResponse\x12:\n\x19linear_velocity_supported\x18\x01 \x01(\x08R\x17linearVelocitySupported\x12<\n\x1aangular_velocity_supported\x18\x02 \x01(\x08R\x18angularVelocitySupported\x123\n\x15orientation_supported\x18\x03 \x01(\x08R\x14orientationSupported\x12-\n\x12position_supported\x18\x04 \x01(\x08R\x11positionSupported\x12:\n\x19compass_heading_supported\x18\x05 \x01(\x08R\x17compassHeadingSupported\x12B\n\x1dlinear_acceleration_supported\x18\x06 \x01(\x08R\x1blinearAccelerationSupported"W\n\x12GetAccuracyRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xb3\x01\n\x13GetAccuracyResponse\x12_\n\x08accuracy\x18\x01 \x03(\x0b2C.viam.component.movementsensor.v1.GetAccuracyResponse.AccuracyEntryR\x08accuracy\x1a;\n\rAccuracyEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01"a\n\x1cGetLinearAccelerationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"i\n\x1dGetLinearAccelerationResponse\x12H\n\x13linear_acceleration\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x12linearAcceleration2\x97\x0e\n\x15MovementSensorService\x12\xd2\x01\n\x11GetLinearVelocity\x12:.viam.component.movementsensor.v1.GetLinearVelocityRequest\x1a;.viam.component.movementsensor.v1.GetLinearVelocityResponse"D\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/linear_velocity\x12\xd6\x01\n\x12GetAngularVelocity\x12;.viam.component.movementsensor.v1.GetAngularVelocityRequest\x1a<.viam.component.movementsensor.v1.GetAngularVelocityResponse"E\x82\xd3\xe4\x93\x02?\x12=/viam/api/v1/component/movementsensor/{name}/angular_velocity\x12\xd2\x01\n\x11GetCompassHeading\x12:.viam.component.movementsensor.v1.GetCompassHeadingRequest\x1a;.viam.component.movementsensor.v1.GetCompassHeadingResponse"D\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/compass_heading\x12\xc5\x01\n\x0eGetOrientation\x127.viam.component.movementsensor.v1.GetOrientationRequest\x1a8.viam.component.movementsensor.v1.GetOrientationResponse"@\x82\xd3\xe4\x93\x02:\x128/viam/api/v1/component/movementsensor/{name}/orientation\x12\xb9\x01\n\x0bGetPosition\x124.viam.component.movementsensor.v1.GetPositionRequest\x1a5.viam.component.movementsensor.v1.GetPositionResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/position\x12\xc1\x01\n\rGetProperties\x126.viam.component.movementsensor.v1.GetPropertiesRequest\x1a7.viam.component.movementsensor.v1.GetPropertiesResponse"?\x82\xd3\xe4\x93\x029\x127/viam/api/v1/component/movementsensor/{name}/properties\x12\xb9\x01\n\x0bGetAccuracy\x124.viam.component.movementsensor.v1.GetAccuracyRequest\x1a5.viam.component.movementsensor.v1.GetAccuracyResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/component/movementsensor/{name}/accuracy\x12\xe2\x01\n\x15GetLinearAcceleration\x12>.viam.component.movementsensor.v1.GetLinearAccelerationRequest\x1a?.viam.component.movementsensor.v1.GetLinearAccelerationResponse"H\x82\xd3\xe4\x93\x02B\x12@/viam/api/v1/component/movementsensor/{name}/linear_acceleration\x12\x91\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"?\x82\xd3\xe4\x93\x029"7/viam/api/v1/component/movementsensor/{name}/do_commandBS\n$com.viam.component.movementsensor.v1Z+go.viam.com/api/component/movementsensor/v1b\x06proto3')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.movementsensor.v1.movementsensor_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n$com.viam.component.movementsensor.v1Z+go.viam.com/api/component/movementsensor/v1'
_GETACCURACYRESPONSE_ACCURACYMMENTRY._options = None
_GETACCURACYRESPONSE_ACCURACYMMENTRY._serialized_options = b'8\x01'
_GETACCURACYRESPONSE_ACCURACYENTRY._options = None
_GETACCURACYRESPONSE_ACCURACYENTRY._serialized_options = b'8\x01'
_MOVEMENTSENSORSERVICE.methods_by_name['GetLinearVelocity']._options = None
_MOVEMENTSENSORSERVICE.methods_by_name['GetLinearVelocity']._serialized_options = b'\x82\xd3\xe4\x93\x02>\x12</viam/api/v1/component/movementsensor/{name}/linear_velocity'
_MOVEMENTSENSORSERVICE.methods_by_name['GetAngularVelocity']._options = None
Expand Down Expand Up @@ -52,20 +52,20 @@
_GETPOSITIONREQUEST._serialized_start = 881
_GETPOSITIONREQUEST._serialized_end = 968
_GETPOSITIONRESPONSE._serialized_start = 970
_GETPOSITIONRESPONSE._serialized_end = 1082
_GETPROPERTIESREQUEST._serialized_start = 1084
_GETPROPERTIESREQUEST._serialized_end = 1173
_GETPROPERTIESRESPONSE._serialized_start = 1176
_GETPROPERTIESRESPONSE._serialized_end = 1549
_GETACCURACYREQUEST._serialized_start = 1551
_GETACCURACYREQUEST._serialized_end = 1638
_GETACCURACYRESPONSE._serialized_start = 1641
_GETACCURACYRESPONSE._serialized_end = 1829
_GETACCURACYRESPONSE_ACCURACYMMENTRY._serialized_start = 1768
_GETACCURACYRESPONSE_ACCURACYMMENTRY._serialized_end = 1829
_GETLINEARACCELERATIONREQUEST._serialized_start = 1831
_GETLINEARACCELERATIONREQUEST._serialized_end = 1928
_GETLINEARACCELERATIONRESPONSE._serialized_start = 1930
_GETLINEARACCELERATIONRESPONSE._serialized_end = 2035
_MOVEMENTSENSORSERVICE._serialized_start = 2038
_MOVEMENTSENSORSERVICE._serialized_end = 3853
_GETPOSITIONRESPONSE._serialized_end = 1080
_GETPROPERTIESREQUEST._serialized_start = 1082
_GETPROPERTIESREQUEST._serialized_end = 1171
_GETPROPERTIESRESPONSE._serialized_start = 1174
_GETPROPERTIESRESPONSE._serialized_end = 1547
_GETACCURACYREQUEST._serialized_start = 1549
_GETACCURACYREQUEST._serialized_end = 1636
_GETACCURACYRESPONSE._serialized_start = 1639
_GETACCURACYRESPONSE._serialized_end = 1818
_GETACCURACYRESPONSE_ACCURACYENTRY._serialized_start = 1759
_GETACCURACYRESPONSE_ACCURACYENTRY._serialized_end = 1818
_GETLINEARACCELERATIONREQUEST._serialized_start = 1820
_GETLINEARACCELERATIONREQUEST._serialized_end = 1917
_GETLINEARACCELERATIONRESPONSE._serialized_start = 1919
_GETLINEARACCELERATIONRESPONSE._serialized_end = 2024
_MOVEMENTSENSORSERVICE._serialized_start = 2027
_MOVEMENTSENSORSERVICE._serialized_end = 3842
24 changes: 12 additions & 12 deletions src/viam/gen/component/movementsensor/v1/movementsensor_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class GetLinearVelocityResponse(google.protobuf.message.Message):

@property
def linear_velocity(self) -> common.v1.common_pb2.Vector3:
"""linear velocity contains velocity in mm/s across x/y/z axes"""
"""Linear velocity in m/s across x/y/z axes"""

def __init__(self, *, linear_velocity: common.v1.common_pb2.Vector3 | None=...) -> None:
...
Expand Down Expand Up @@ -86,7 +86,7 @@ class GetAngularVelocityResponse(google.protobuf.message.Message):

@property
def angular_velocity(self) -> common.v1.common_pb2.Vector3:
"""angular velocity contains velocity in degrees/s across x/y/z axes"""
"""Angular velocity in degrees/s across x/y/z axes"""

def __init__(self, *, angular_velocity: common.v1.common_pb2.Vector3 | None=...) -> None:
...
Expand Down Expand Up @@ -201,20 +201,20 @@ global___GetPositionRequest = GetPositionRequest
class GetPositionResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
COORDINATE_FIELD_NUMBER: builtins.int
ALTITUDE_MM_FIELD_NUMBER: builtins.int
ALTITUDE_M_FIELD_NUMBER: builtins.int

@property
def coordinate(self) -> common.v1.common_pb2.GeoPoint:
...
altitude_mm: builtins.float
altitude_m: builtins.float

def __init__(self, *, coordinate: common.v1.common_pb2.GeoPoint | None=..., altitude_mm: builtins.float=...) -> None:
def __init__(self, *, coordinate: common.v1.common_pb2.GeoPoint | None=..., altitude_m: builtins.float=...) -> None:
...

def HasField(self, field_name: typing_extensions.Literal['coordinate', b'coordinate']) -> builtins.bool:
...

def ClearField(self, field_name: typing_extensions.Literal['altitude_mm', b'altitude_mm', 'coordinate', b'coordinate']) -> None:
def ClearField(self, field_name: typing_extensions.Literal['altitude_m', b'altitude_m', 'coordinate', b'coordinate']) -> None:
...
global___GetPositionResponse = GetPositionResponse

Expand Down Expand Up @@ -290,7 +290,7 @@ class GetAccuracyResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

@typing_extensions.final
class AccuracyMmEntry(google.protobuf.message.Message):
class AccuracyEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
Expand All @@ -302,16 +302,16 @@ class GetAccuracyResponse(google.protobuf.message.Message):

def ClearField(self, field_name: typing_extensions.Literal['key', b'key', 'value', b'value']) -> None:
...
ACCURACY_MM_FIELD_NUMBER: builtins.int
ACCURACY_FIELD_NUMBER: builtins.int

@property
def accuracy_mm(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.float]:
def accuracy(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.float]:
...

def __init__(self, *, accuracy_mm: collections.abc.Mapping[builtins.str, builtins.float] | None=...) -> None:
def __init__(self, *, accuracy: collections.abc.Mapping[builtins.str, builtins.float] | None=...) -> None:
...

def ClearField(self, field_name: typing_extensions.Literal['accuracy_mm', b'accuracy_mm']) -> None:
def ClearField(self, field_name: typing_extensions.Literal['accuracy', b'accuracy']) -> None:
...
global___GetAccuracyResponse = GetAccuracyResponse

Expand Down Expand Up @@ -344,7 +344,7 @@ class GetLinearAccelerationResponse(google.protobuf.message.Message):

@property
def linear_acceleration(self) -> common.v1.common_pb2.Vector3:
...
"""Linear acceleration in m/s across x/y/z axes"""

def __init__(self, *, linear_acceleration: common.v1.common_pb2.Vector3 | None=...) -> None:
...
Expand Down
Loading