MovementSensorClient class

gRPC client for the MovementSensor component.

Inheritance
Implemented types

Constructors

MovementSensorClient(String name, ClientChannelBase channel)

Properties

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 accuracy of the various sensors
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/sec
override
compassHeading({Map<String, dynamic>? extra}) Future<double>
Get the current compass heading in degrees
override
doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
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