MovementSensorClient class Components

gRPC client for the MovementSensor component.

Inheritance
Implemented types
Mixed-in types

Constructors

MovementSensorClient(String name, ClientChannelBase channel)

Properties

callOptions CallOptions
no setterinherited
channel ClientChannelBase
getter/setter pairoverride
client MovementSensorServiceClient
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accuracy({Map<String, dynamic>? extra}) Future<Accuracy>
Get the reliability metrics of the movement sensor, including various parameters to assess the sensor’s accuracy and precision in different dimensions.
override
angularVelocity({Map<String, dynamic>? extra}) Future<Vector3>
Get the current angular velocity as a Vector3 with x, y, and z axes represented in radians per second.
override
compassHeading({Map<String, dynamic>? extra}) Future<double>
Get the current compass heading in degrees.
override
disableDebugLogging() → void
Disable debug logging for gRPC calls by removing the trace key from the metadata.
inherited
doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
enableDebugLogging({String? traceKey}) → void
Enable debug logging for gRPC calls by setting a trace key in the metadata. If no trace key is provided, a random one will be generated.
inherited
linearAcceleration({Map<String, dynamic>? extra}) Future<Vector3>
Get the current linear acceleration as a Vector3 with x, y, and z axes represented in mm/sec^2.
override
linearVelocity({Map<String, dynamic>? extra}) Future<Vector3>
Get the current linear velocity as a Vector3 with x, y, and z axes represented in mm/sec.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orientation({Map<String, dynamic>? extra}) Future<Orientation>
Get the current orientation as an Orientation.
override
position({Map<String, dynamic>? extra}) Future<Position>
Get the current GeoPoint (latitude, longitude) and altitude (mm).
override
properties({Map<String, dynamic>? extra}) Future<Properties>
Get the supported properties of this sensor.
override
readings({Map<String, dynamic>? extra}) Future<Map<String, dynamic>>
Obtain the measurements/data specific to this MovementSensor If a sensor is not configured to have a measurement or fails to read a piece of data, it will not appear in the readings dictionary.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited