viam.components.movement_sensor

Submodules

Classes

GeoPoint

Abstract base class for protocol messages.

Orientation

Abstract base class for protocol messages.

Vector3

Abstract base class for protocol messages.

Package Contents

class viam.components.movement_sensor.GeoPoint(*, latitude: float = ..., longitude: float = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

latitude: float
longitude: float
class viam.components.movement_sensor.Orientation(*, o_x: float = ..., o_y: float = ..., o_z: float = ..., theta: float = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

o_x: float

x component of a vector defining axis of rotation

o_y: float

y component of a vector defining axis of rotation

o_z: float

z component of a vector defining axis of rotation

theta: float

degrees

class viam.components.movement_sensor.Vector3(*, x: float = ..., y: float = ..., z: float = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

x: float
y: float
z: float