v1

package
v0.1.360 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_component_movementsensor_v1_movementsensor_proto protoreflect.FileDescriptor
View Source
var MovementSensorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "viam.component.movementsensor.v1.MovementSensorService",
	HandlerType: (*MovementSensorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLinearVelocity",
			Handler:    _MovementSensorService_GetLinearVelocity_Handler,
		},
		{
			MethodName: "GetAngularVelocity",
			Handler:    _MovementSensorService_GetAngularVelocity_Handler,
		},
		{
			MethodName: "GetCompassHeading",
			Handler:    _MovementSensorService_GetCompassHeading_Handler,
		},
		{
			MethodName: "GetOrientation",
			Handler:    _MovementSensorService_GetOrientation_Handler,
		},
		{
			MethodName: "GetPosition",
			Handler:    _MovementSensorService_GetPosition_Handler,
		},
		{
			MethodName: "GetProperties",
			Handler:    _MovementSensorService_GetProperties_Handler,
		},
		{
			MethodName: "GetAccuracy",
			Handler:    _MovementSensorService_GetAccuracy_Handler,
		},
		{
			MethodName: "GetLinearAcceleration",
			Handler:    _MovementSensorService_GetLinearAcceleration_Handler,
		},
		{
			MethodName: "DoCommand",
			Handler:    _MovementSensorService_DoCommand_Handler,
		},
		{
			MethodName: "GetGeometries",
			Handler:    _MovementSensorService_GetGeometries_Handler,
		},
		{
			MethodName: "GetReadings",
			Handler:    _MovementSensorService_GetReadings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "component/movementsensor/v1/movementsensor.proto",
}

MovementSensorService_ServiceDesc is the grpc.ServiceDesc for MovementSensorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMovementSensorServiceHandler

func RegisterMovementSensorServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMovementSensorServiceHandler registers the http handlers for service MovementSensorService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMovementSensorServiceHandlerClient

func RegisterMovementSensorServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MovementSensorServiceClient) error

RegisterMovementSensorServiceHandlerClient registers the http handlers for service MovementSensorService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MovementSensorServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MovementSensorServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MovementSensorServiceClient" to call the correct interceptors.

func RegisterMovementSensorServiceHandlerFromEndpoint

func RegisterMovementSensorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMovementSensorServiceHandlerFromEndpoint is same as RegisterMovementSensorServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMovementSensorServiceHandlerServer

func RegisterMovementSensorServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MovementSensorServiceServer) error

RegisterMovementSensorServiceHandlerServer registers the http handlers for service MovementSensorService to "mux". UnaryRPC :call MovementSensorServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMovementSensorServiceHandlerFromEndpoint instead.

func RegisterMovementSensorServiceServer

func RegisterMovementSensorServiceServer(s grpc.ServiceRegistrar, srv MovementSensorServiceServer)

Types

type GetAccuracyRequest

type GetAccuracyRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccuracyRequest) Descriptor deprecated

func (*GetAccuracyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAccuracyRequest.ProtoReflect.Descriptor instead.

func (*GetAccuracyRequest) GetExtra added in v0.1.6

func (x *GetAccuracyRequest) GetExtra() *structpb.Struct

func (*GetAccuracyRequest) GetName

func (x *GetAccuracyRequest) GetName() string

func (*GetAccuracyRequest) ProtoMessage

func (*GetAccuracyRequest) ProtoMessage()

func (*GetAccuracyRequest) ProtoReflect

func (x *GetAccuracyRequest) ProtoReflect() protoreflect.Message

func (*GetAccuracyRequest) Reset

func (x *GetAccuracyRequest) Reset()

func (*GetAccuracyRequest) String

func (x *GetAccuracyRequest) String() string

type GetAccuracyResponse

type GetAccuracyResponse struct {
	Accuracy            map[string]float32 `` /* 159-byte string literal not displayed */
	PositionHdop        *float32           `protobuf:"fixed32,2,opt,name=position_hdop,json=positionHdop,proto3,oneof" json:"position_hdop,omitempty"`
	PositionVdop        *float32           `protobuf:"fixed32,3,opt,name=position_vdop,json=positionVdop,proto3,oneof" json:"position_vdop,omitempty"`
	PositionNmeaGgaFix  *int32             `` /* 126-byte string literal not displayed */
	CompassDegreesError *float32           `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetAccuracyResponse) Descriptor deprecated

func (*GetAccuracyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAccuracyResponse.ProtoReflect.Descriptor instead.

func (*GetAccuracyResponse) GetAccuracy added in v0.1.116

func (x *GetAccuracyResponse) GetAccuracy() map[string]float32

func (*GetAccuracyResponse) GetCompassDegreesError added in v0.1.244

func (x *GetAccuracyResponse) GetCompassDegreesError() float32

func (*GetAccuracyResponse) GetPositionHdop added in v0.1.244

func (x *GetAccuracyResponse) GetPositionHdop() float32

func (*GetAccuracyResponse) GetPositionNmeaGgaFix added in v0.1.244

func (x *GetAccuracyResponse) GetPositionNmeaGgaFix() int32

func (*GetAccuracyResponse) GetPositionVdop added in v0.1.244

func (x *GetAccuracyResponse) GetPositionVdop() float32

func (*GetAccuracyResponse) ProtoMessage

func (*GetAccuracyResponse) ProtoMessage()

func (*GetAccuracyResponse) ProtoReflect

func (x *GetAccuracyResponse) ProtoReflect() protoreflect.Message

func (*GetAccuracyResponse) Reset

func (x *GetAccuracyResponse) Reset()

func (*GetAccuracyResponse) String

func (x *GetAccuracyResponse) String() string

type GetAngularVelocityRequest

type GetAngularVelocityRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAngularVelocityRequest) Descriptor deprecated

func (*GetAngularVelocityRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAngularVelocityRequest.ProtoReflect.Descriptor instead.

func (*GetAngularVelocityRequest) GetExtra added in v0.1.6

func (x *GetAngularVelocityRequest) GetExtra() *structpb.Struct

func (*GetAngularVelocityRequest) GetName

func (x *GetAngularVelocityRequest) GetName() string

func (*GetAngularVelocityRequest) ProtoMessage

func (*GetAngularVelocityRequest) ProtoMessage()

func (*GetAngularVelocityRequest) ProtoReflect

func (*GetAngularVelocityRequest) Reset

func (x *GetAngularVelocityRequest) Reset()

func (*GetAngularVelocityRequest) String

func (x *GetAngularVelocityRequest) String() string

type GetAngularVelocityResponse

type GetAngularVelocityResponse struct {

	// Angular velocity in degrees/s across x/y/z axes
	AngularVelocity *v1.Vector3 `protobuf:"bytes,1,opt,name=angular_velocity,json=angularVelocity,proto3" json:"angular_velocity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAngularVelocityResponse) Descriptor deprecated

func (*GetAngularVelocityResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAngularVelocityResponse.ProtoReflect.Descriptor instead.

func (*GetAngularVelocityResponse) GetAngularVelocity

func (x *GetAngularVelocityResponse) GetAngularVelocity() *v1.Vector3

func (*GetAngularVelocityResponse) ProtoMessage

func (*GetAngularVelocityResponse) ProtoMessage()

func (*GetAngularVelocityResponse) ProtoReflect

func (*GetAngularVelocityResponse) Reset

func (x *GetAngularVelocityResponse) Reset()

func (*GetAngularVelocityResponse) String

func (x *GetAngularVelocityResponse) String() string

type GetCompassHeadingRequest

type GetCompassHeadingRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompassHeadingRequest) Descriptor deprecated

func (*GetCompassHeadingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCompassHeadingRequest.ProtoReflect.Descriptor instead.

func (*GetCompassHeadingRequest) GetExtra added in v0.1.6

func (x *GetCompassHeadingRequest) GetExtra() *structpb.Struct

func (*GetCompassHeadingRequest) GetName

func (x *GetCompassHeadingRequest) GetName() string

func (*GetCompassHeadingRequest) ProtoMessage

func (*GetCompassHeadingRequest) ProtoMessage()

func (*GetCompassHeadingRequest) ProtoReflect

func (x *GetCompassHeadingRequest) ProtoReflect() protoreflect.Message

func (*GetCompassHeadingRequest) Reset

func (x *GetCompassHeadingRequest) Reset()

func (*GetCompassHeadingRequest) String

func (x *GetCompassHeadingRequest) String() string

type GetCompassHeadingResponse

type GetCompassHeadingResponse struct {

	// A number from 0-359 in degrees where
	// 0 is North, 90 is East, 180 is South, and 270 is   West
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompassHeadingResponse) Descriptor deprecated

func (*GetCompassHeadingResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCompassHeadingResponse.ProtoReflect.Descriptor instead.

func (*GetCompassHeadingResponse) GetValue

func (x *GetCompassHeadingResponse) GetValue() float64

func (*GetCompassHeadingResponse) ProtoMessage

func (*GetCompassHeadingResponse) ProtoMessage()

func (*GetCompassHeadingResponse) ProtoReflect

func (*GetCompassHeadingResponse) Reset

func (x *GetCompassHeadingResponse) Reset()

func (*GetCompassHeadingResponse) String

func (x *GetCompassHeadingResponse) String() string

type GetLinearAccelerationRequest added in v0.1.33

type GetLinearAccelerationRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinearAccelerationRequest) Descriptor deprecated added in v0.1.33

func (*GetLinearAccelerationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLinearAccelerationRequest.ProtoReflect.Descriptor instead.

func (*GetLinearAccelerationRequest) GetExtra added in v0.1.33

func (*GetLinearAccelerationRequest) GetName added in v0.1.33

func (x *GetLinearAccelerationRequest) GetName() string

func (*GetLinearAccelerationRequest) ProtoMessage added in v0.1.33

func (*GetLinearAccelerationRequest) ProtoMessage()

func (*GetLinearAccelerationRequest) ProtoReflect added in v0.1.33

func (*GetLinearAccelerationRequest) Reset added in v0.1.33

func (x *GetLinearAccelerationRequest) Reset()

func (*GetLinearAccelerationRequest) String added in v0.1.33

type GetLinearAccelerationResponse added in v0.1.33

type GetLinearAccelerationResponse struct {

	// Linear acceleration in m/s across x/y/z axes
	LinearAcceleration *v1.Vector3 `protobuf:"bytes,1,opt,name=linear_acceleration,json=linearAcceleration,proto3" json:"linear_acceleration,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinearAccelerationResponse) Descriptor deprecated added in v0.1.33

func (*GetLinearAccelerationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLinearAccelerationResponse.ProtoReflect.Descriptor instead.

func (*GetLinearAccelerationResponse) GetLinearAcceleration added in v0.1.33

func (x *GetLinearAccelerationResponse) GetLinearAcceleration() *v1.Vector3

func (*GetLinearAccelerationResponse) ProtoMessage added in v0.1.33

func (*GetLinearAccelerationResponse) ProtoMessage()

func (*GetLinearAccelerationResponse) ProtoReflect added in v0.1.33

func (*GetLinearAccelerationResponse) Reset added in v0.1.33

func (x *GetLinearAccelerationResponse) Reset()

func (*GetLinearAccelerationResponse) String added in v0.1.33

type GetLinearVelocityRequest

type GetLinearVelocityRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinearVelocityRequest) Descriptor deprecated

func (*GetLinearVelocityRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLinearVelocityRequest.ProtoReflect.Descriptor instead.

func (*GetLinearVelocityRequest) GetExtra added in v0.1.6

func (x *GetLinearVelocityRequest) GetExtra() *structpb.Struct

func (*GetLinearVelocityRequest) GetName

func (x *GetLinearVelocityRequest) GetName() string

func (*GetLinearVelocityRequest) ProtoMessage

func (*GetLinearVelocityRequest) ProtoMessage()

func (*GetLinearVelocityRequest) ProtoReflect

func (x *GetLinearVelocityRequest) ProtoReflect() protoreflect.Message

func (*GetLinearVelocityRequest) Reset

func (x *GetLinearVelocityRequest) Reset()

func (*GetLinearVelocityRequest) String

func (x *GetLinearVelocityRequest) String() string

type GetLinearVelocityResponse

type GetLinearVelocityResponse struct {

	// Linear velocity in m/s across x/y/z axes
	LinearVelocity *v1.Vector3 `protobuf:"bytes,1,opt,name=linear_velocity,json=linearVelocity,proto3" json:"linear_velocity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinearVelocityResponse) Descriptor deprecated

func (*GetLinearVelocityResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLinearVelocityResponse.ProtoReflect.Descriptor instead.

func (*GetLinearVelocityResponse) GetLinearVelocity

func (x *GetLinearVelocityResponse) GetLinearVelocity() *v1.Vector3

func (*GetLinearVelocityResponse) ProtoMessage

func (*GetLinearVelocityResponse) ProtoMessage()

func (*GetLinearVelocityResponse) ProtoReflect

func (*GetLinearVelocityResponse) Reset

func (x *GetLinearVelocityResponse) Reset()

func (*GetLinearVelocityResponse) String

func (x *GetLinearVelocityResponse) String() string

type GetOrientationRequest

type GetOrientationRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrientationRequest) Descriptor deprecated

func (*GetOrientationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrientationRequest.ProtoReflect.Descriptor instead.

func (*GetOrientationRequest) GetExtra added in v0.1.6

func (x *GetOrientationRequest) GetExtra() *structpb.Struct

func (*GetOrientationRequest) GetName

func (x *GetOrientationRequest) GetName() string

func (*GetOrientationRequest) ProtoMessage

func (*GetOrientationRequest) ProtoMessage()

func (*GetOrientationRequest) ProtoReflect

func (x *GetOrientationRequest) ProtoReflect() protoreflect.Message

func (*GetOrientationRequest) Reset

func (x *GetOrientationRequest) Reset()

func (*GetOrientationRequest) String

func (x *GetOrientationRequest) String() string

type GetOrientationResponse

type GetOrientationResponse struct {

	// Orientation is returned as an orientation message with
	// OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees
	Orientation *v1.Orientation `protobuf:"bytes,1,opt,name=orientation,proto3" json:"orientation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrientationResponse) Descriptor deprecated

func (*GetOrientationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrientationResponse.ProtoReflect.Descriptor instead.

func (*GetOrientationResponse) GetOrientation

func (x *GetOrientationResponse) GetOrientation() *v1.Orientation

func (*GetOrientationResponse) ProtoMessage

func (*GetOrientationResponse) ProtoMessage()

func (*GetOrientationResponse) ProtoReflect

func (x *GetOrientationResponse) ProtoReflect() protoreflect.Message

func (*GetOrientationResponse) Reset

func (x *GetOrientationResponse) Reset()

func (*GetOrientationResponse) String

func (x *GetOrientationResponse) String() string

type GetPositionRequest

type GetPositionRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPositionRequest) Descriptor deprecated

func (*GetPositionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPositionRequest.ProtoReflect.Descriptor instead.

func (*GetPositionRequest) GetExtra added in v0.1.6

func (x *GetPositionRequest) GetExtra() *structpb.Struct

func (*GetPositionRequest) GetName

func (x *GetPositionRequest) GetName() string

func (*GetPositionRequest) ProtoMessage

func (*GetPositionRequest) ProtoMessage()

func (*GetPositionRequest) ProtoReflect

func (x *GetPositionRequest) ProtoReflect() protoreflect.Message

func (*GetPositionRequest) Reset

func (x *GetPositionRequest) Reset()

func (*GetPositionRequest) String

func (x *GetPositionRequest) String() string

type GetPositionResponse

type GetPositionResponse struct {

	// Position is returned in a coordinate of latitute and longitude
	// and an altidue in meters
	Coordinate *v1.GeoPoint `protobuf:"bytes,1,opt,name=coordinate,proto3" json:"coordinate,omitempty"`
	AltitudeM  float32      `protobuf:"fixed32,2,opt,name=altitude_m,json=altitudeM,proto3" json:"altitude_m,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPositionResponse) Descriptor deprecated

func (*GetPositionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPositionResponse.ProtoReflect.Descriptor instead.

func (*GetPositionResponse) GetAltitudeM added in v0.1.116

func (x *GetPositionResponse) GetAltitudeM() float32

func (*GetPositionResponse) GetCoordinate

func (x *GetPositionResponse) GetCoordinate() *v1.GeoPoint

func (*GetPositionResponse) ProtoMessage

func (*GetPositionResponse) ProtoMessage()

func (*GetPositionResponse) ProtoReflect

func (x *GetPositionResponse) ProtoReflect() protoreflect.Message

func (*GetPositionResponse) Reset

func (x *GetPositionResponse) Reset()

func (*GetPositionResponse) String

func (x *GetPositionResponse) String() string

type GetPropertiesRequest

type GetPropertiesRequest struct {

	// Name of a movement sensor
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional arguments to the method
	Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPropertiesRequest) Descriptor deprecated

func (*GetPropertiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPropertiesRequest.ProtoReflect.Descriptor instead.

func (*GetPropertiesRequest) GetExtra added in v0.1.6

func (x *GetPropertiesRequest) GetExtra() *structpb.Struct

func (*GetPropertiesRequest) GetName

func (x *GetPropertiesRequest) GetName() string

func (*GetPropertiesRequest) ProtoMessage

func (*GetPropertiesRequest) ProtoMessage()

func (*GetPropertiesRequest) ProtoReflect

func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message

func (*GetPropertiesRequest) Reset

func (x *GetPropertiesRequest) Reset()

func (*GetPropertiesRequest) String

func (x *GetPropertiesRequest) String() string

type GetPropertiesResponse

type GetPropertiesResponse struct {
	LinearVelocitySupported     bool `` /* 133-byte string literal not displayed */
	AngularVelocitySupported    bool `` /* 136-byte string literal not displayed */
	OrientationSupported        bool `protobuf:"varint,3,opt,name=orientation_supported,json=orientationSupported,proto3" json:"orientation_supported,omitempty"`
	PositionSupported           bool `protobuf:"varint,4,opt,name=position_supported,json=positionSupported,proto3" json:"position_supported,omitempty"`
	CompassHeadingSupported     bool `` /* 133-byte string literal not displayed */
	LinearAccelerationSupported bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetPropertiesResponse) Descriptor deprecated

func (*GetPropertiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPropertiesResponse.ProtoReflect.Descriptor instead.

func (*GetPropertiesResponse) GetAngularVelocitySupported

func (x *GetPropertiesResponse) GetAngularVelocitySupported() bool

func (*GetPropertiesResponse) GetCompassHeadingSupported

func (x *GetPropertiesResponse) GetCompassHeadingSupported() bool

func (*GetPropertiesResponse) GetLinearAccelerationSupported added in v0.1.33

func (x *GetPropertiesResponse) GetLinearAccelerationSupported() bool

func (*GetPropertiesResponse) GetLinearVelocitySupported

func (x *GetPropertiesResponse) GetLinearVelocitySupported() bool

func (*GetPropertiesResponse) GetOrientationSupported

func (x *GetPropertiesResponse) GetOrientationSupported() bool

func (*GetPropertiesResponse) GetPositionSupported

func (x *GetPropertiesResponse) GetPositionSupported() bool

func (*GetPropertiesResponse) ProtoMessage

func (*GetPropertiesResponse) ProtoMessage()

func (*GetPropertiesResponse) ProtoReflect

func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message

func (*GetPropertiesResponse) Reset

func (x *GetPropertiesResponse) Reset()

func (*GetPropertiesResponse) String

func (x *GetPropertiesResponse) String() string

type MovementSensorServiceClient

type MovementSensorServiceClient interface {
	GetLinearVelocity(ctx context.Context, in *GetLinearVelocityRequest, opts ...grpc.CallOption) (*GetLinearVelocityResponse, error)
	GetAngularVelocity(ctx context.Context, in *GetAngularVelocityRequest, opts ...grpc.CallOption) (*GetAngularVelocityResponse, error)
	GetCompassHeading(ctx context.Context, in *GetCompassHeadingRequest, opts ...grpc.CallOption) (*GetCompassHeadingResponse, error)
	GetOrientation(ctx context.Context, in *GetOrientationRequest, opts ...grpc.CallOption) (*GetOrientationResponse, error)
	GetPosition(ctx context.Context, in *GetPositionRequest, opts ...grpc.CallOption) (*GetPositionResponse, error)
	GetProperties(ctx context.Context, in *GetPropertiesRequest, opts ...grpc.CallOption) (*GetPropertiesResponse, error)
	GetAccuracy(ctx context.Context, in *GetAccuracyRequest, opts ...grpc.CallOption) (*GetAccuracyResponse, error)
	GetLinearAcceleration(ctx context.Context, in *GetLinearAccelerationRequest, opts ...grpc.CallOption) (*GetLinearAccelerationResponse, error)
	DoCommand(ctx context.Context, in *v1.DoCommandRequest, opts ...grpc.CallOption) (*v1.DoCommandResponse, error)
	// GetGeometries returns the geometries of the component in their current configuration
	GetGeometries(ctx context.Context, in *v1.GetGeometriesRequest, opts ...grpc.CallOption) (*v1.GetGeometriesResponse, error)
	// GetReadings returns the readings of a sensor of the underlying robot.
	GetReadings(ctx context.Context, in *v1.GetReadingsRequest, opts ...grpc.CallOption) (*v1.GetReadingsResponse, error)
}

MovementSensorServiceClient is the client API for MovementSensorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MovementSensorServiceServer

type MovementSensorServiceServer interface {
	GetLinearVelocity(context.Context, *GetLinearVelocityRequest) (*GetLinearVelocityResponse, error)
	GetAngularVelocity(context.Context, *GetAngularVelocityRequest) (*GetAngularVelocityResponse, error)
	GetCompassHeading(context.Context, *GetCompassHeadingRequest) (*GetCompassHeadingResponse, error)
	GetOrientation(context.Context, *GetOrientationRequest) (*GetOrientationResponse, error)
	GetPosition(context.Context, *GetPositionRequest) (*GetPositionResponse, error)
	GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
	GetAccuracy(context.Context, *GetAccuracyRequest) (*GetAccuracyResponse, error)
	GetLinearAcceleration(context.Context, *GetLinearAccelerationRequest) (*GetLinearAccelerationResponse, error)
	DoCommand(context.Context, *v1.DoCommandRequest) (*v1.DoCommandResponse, error)
	// GetGeometries returns the geometries of the component in their current configuration
	GetGeometries(context.Context, *v1.GetGeometriesRequest) (*v1.GetGeometriesResponse, error)
	// GetReadings returns the readings of a sensor of the underlying robot.
	GetReadings(context.Context, *v1.GetReadingsRequest) (*v1.GetReadingsResponse, error)
	// contains filtered or unexported methods
}

MovementSensorServiceServer is the server API for MovementSensorService service. All implementations must embed UnimplementedMovementSensorServiceServer for forward compatibility

type UnimplementedMovementSensorServiceServer

type UnimplementedMovementSensorServiceServer struct {
}

UnimplementedMovementSensorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMovementSensorServiceServer) DoCommand added in v0.1.79

func (UnimplementedMovementSensorServiceServer) GetAccuracy

func (UnimplementedMovementSensorServiceServer) GetAngularVelocity

func (UnimplementedMovementSensorServiceServer) GetCompassHeading

func (UnimplementedMovementSensorServiceServer) GetGeometries added in v0.1.129

func (UnimplementedMovementSensorServiceServer) GetLinearAcceleration added in v0.1.33

func (UnimplementedMovementSensorServiceServer) GetLinearVelocity

func (UnimplementedMovementSensorServiceServer) GetOrientation

func (UnimplementedMovementSensorServiceServer) GetPosition

func (UnimplementedMovementSensorServiceServer) GetProperties

func (UnimplementedMovementSensorServiceServer) GetReadings added in v0.1.217

type UnsafeMovementSensorServiceServer

type UnsafeMovementSensorServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMovementSensorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MovementSensorServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL