Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterMotionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMotionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MotionServiceClient) error
- func RegisterMotionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMotionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MotionServiceServer) error
- func RegisterMotionServiceServer(s grpc.ServiceRegistrar, srv MotionServiceServer)
- type CollisionSpecification
- func (*CollisionSpecification) Descriptor() ([]byte, []int)deprecated
- func (x *CollisionSpecification) GetAllows() []*CollisionSpecification_AllowedFrameCollisions
- func (*CollisionSpecification) ProtoMessage()
- func (x *CollisionSpecification) ProtoReflect() protoreflect.Message
- func (x *CollisionSpecification) Reset()
- func (x *CollisionSpecification) String() string
- type CollisionSpecification_AllowedFrameCollisions
- func (*CollisionSpecification_AllowedFrameCollisions) Descriptor() ([]byte, []int)deprecated
- func (x *CollisionSpecification_AllowedFrameCollisions) GetFrame1() string
- func (x *CollisionSpecification_AllowedFrameCollisions) GetFrame2() string
- func (*CollisionSpecification_AllowedFrameCollisions) ProtoMessage()
- func (x *CollisionSpecification_AllowedFrameCollisions) ProtoReflect() protoreflect.Message
- func (x *CollisionSpecification_AllowedFrameCollisions) Reset()
- func (x *CollisionSpecification_AllowedFrameCollisions) String() string
- type Constraints
- func (*Constraints) Descriptor() ([]byte, []int)deprecated
- func (x *Constraints) GetCollisionSpecification() []*CollisionSpecification
- func (x *Constraints) GetLinearConstraint() []*LinearConstraint
- func (x *Constraints) GetOrientationConstraint() []*OrientationConstraint
- func (*Constraints) ProtoMessage()
- func (x *Constraints) ProtoReflect() protoreflect.Message
- func (x *Constraints) Reset()
- func (x *Constraints) String() string
- type GetPoseRequest
- func (*GetPoseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPoseRequest) GetComponentName() *v1.ResourceName
- func (x *GetPoseRequest) GetDestinationFrame() string
- func (x *GetPoseRequest) GetExtra() *structpb.Struct
- func (x *GetPoseRequest) GetName() string
- func (x *GetPoseRequest) GetSupplementalTransforms() []*v1.Transform
- func (*GetPoseRequest) ProtoMessage()
- func (x *GetPoseRequest) ProtoReflect() protoreflect.Message
- func (x *GetPoseRequest) Reset()
- func (x *GetPoseRequest) String() string
- type GetPoseResponse
- type LinearConstraint
- func (*LinearConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *LinearConstraint) GetLineToleranceMm() float32
- func (x *LinearConstraint) GetOrientationToleranceDegs() float32
- func (*LinearConstraint) ProtoMessage()
- func (x *LinearConstraint) ProtoReflect() protoreflect.Message
- func (x *LinearConstraint) Reset()
- func (x *LinearConstraint) String() string
- type MotionServiceClient
- type MotionServiceServer
- type MoveOnGlobeRequest
- func (*MoveOnGlobeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveOnGlobeRequest) GetAngularDegPerSec() float32
- func (x *MoveOnGlobeRequest) GetComponentName() *v1.ResourceName
- func (x *MoveOnGlobeRequest) GetDestination() *v1.GeoPoint
- func (x *MoveOnGlobeRequest) GetExtra() *structpb.Struct
- func (x *MoveOnGlobeRequest) GetHeading() float64
- func (x *MoveOnGlobeRequest) GetLinearMetersPerSec() float32
- func (x *MoveOnGlobeRequest) GetMovementSensorName() *v1.ResourceName
- func (x *MoveOnGlobeRequest) GetName() string
- func (x *MoveOnGlobeRequest) GetObstacles() []*v1.GeoObstacle
- func (*MoveOnGlobeRequest) ProtoMessage()
- func (x *MoveOnGlobeRequest) ProtoReflect() protoreflect.Message
- func (x *MoveOnGlobeRequest) Reset()
- func (x *MoveOnGlobeRequest) String() string
- type MoveOnGlobeResponse
- func (*MoveOnGlobeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveOnGlobeResponse) GetSuccess() bool
- func (*MoveOnGlobeResponse) ProtoMessage()
- func (x *MoveOnGlobeResponse) ProtoReflect() protoreflect.Message
- func (x *MoveOnGlobeResponse) Reset()
- func (x *MoveOnGlobeResponse) String() string
- type MoveOnMapRequest
- func (*MoveOnMapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveOnMapRequest) GetComponentName() *v1.ResourceName
- func (x *MoveOnMapRequest) GetDestination() *v1.Pose
- func (x *MoveOnMapRequest) GetExtra() *structpb.Struct
- func (x *MoveOnMapRequest) GetName() string
- func (x *MoveOnMapRequest) GetSlamServiceName() *v1.ResourceName
- func (*MoveOnMapRequest) ProtoMessage()
- func (x *MoveOnMapRequest) ProtoReflect() protoreflect.Message
- func (x *MoveOnMapRequest) Reset()
- func (x *MoveOnMapRequest) String() string
- type MoveOnMapResponse
- type MoveRequest
- func (*MoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveRequest) GetComponentName() *v1.ResourceName
- func (x *MoveRequest) GetConstraints() *Constraints
- func (x *MoveRequest) GetDestination() *v1.PoseInFrame
- func (x *MoveRequest) GetExtra() *structpb.Struct
- func (x *MoveRequest) GetName() string
- func (x *MoveRequest) GetWorldState() *v1.WorldState
- func (*MoveRequest) ProtoMessage()
- func (x *MoveRequest) ProtoReflect() protoreflect.Message
- func (x *MoveRequest) Reset()
- func (x *MoveRequest) String() string
- type MoveResponse
- type MoveSingleComponentRequest
- func (*MoveSingleComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveSingleComponentRequest) GetComponentName() *v1.ResourceName
- func (x *MoveSingleComponentRequest) GetDestination() *v1.PoseInFrame
- func (x *MoveSingleComponentRequest) GetExtra() *structpb.Struct
- func (x *MoveSingleComponentRequest) GetName() string
- func (x *MoveSingleComponentRequest) GetWorldState() *v1.WorldState
- func (*MoveSingleComponentRequest) ProtoMessage()
- func (x *MoveSingleComponentRequest) ProtoReflect() protoreflect.Message
- func (x *MoveSingleComponentRequest) Reset()
- func (x *MoveSingleComponentRequest) String() string
- type MoveSingleComponentResponse
- func (*MoveSingleComponentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveSingleComponentResponse) GetSuccess() bool
- func (*MoveSingleComponentResponse) ProtoMessage()
- func (x *MoveSingleComponentResponse) ProtoReflect() protoreflect.Message
- func (x *MoveSingleComponentResponse) Reset()
- func (x *MoveSingleComponentResponse) String() string
- type OrientationConstraint
- func (*OrientationConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *OrientationConstraint) GetOrientationToleranceDegs() float32
- func (*OrientationConstraint) ProtoMessage()
- func (x *OrientationConstraint) ProtoReflect() protoreflect.Message
- func (x *OrientationConstraint) Reset()
- func (x *OrientationConstraint) String() string
- type UnimplementedMotionServiceServer
- func (UnimplementedMotionServiceServer) DoCommand(context.Context, *v1.DoCommandRequest) (*v1.DoCommandResponse, error)
- func (UnimplementedMotionServiceServer) GetPose(context.Context, *GetPoseRequest) (*GetPoseResponse, error)
- func (UnimplementedMotionServiceServer) Move(context.Context, *MoveRequest) (*MoveResponse, error)
- func (UnimplementedMotionServiceServer) MoveOnGlobe(context.Context, *MoveOnGlobeRequest) (*MoveOnGlobeResponse, error)
- func (UnimplementedMotionServiceServer) MoveOnMap(context.Context, *MoveOnMapRequest) (*MoveOnMapResponse, error)
- func (UnimplementedMotionServiceServer) MoveSingleComponent(context.Context, *MoveSingleComponentRequest) (*MoveSingleComponentResponse, error)
- type UnsafeMotionServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_service_motion_v1_motion_proto protoreflect.FileDescriptor
var MotionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "viam.service.motion.v1.MotionService", HandlerType: (*MotionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Move", Handler: _MotionService_Move_Handler, }, { MethodName: "MoveOnMap", Handler: _MotionService_MoveOnMap_Handler, }, { MethodName: "MoveOnGlobe", Handler: _MotionService_MoveOnGlobe_Handler, }, { MethodName: "MoveSingleComponent", Handler: _MotionService_MoveSingleComponent_Handler, }, { MethodName: "GetPose", Handler: _MotionService_GetPose_Handler, }, { MethodName: "DoCommand", Handler: _MotionService_DoCommand_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service/motion/v1/motion.proto", }
MotionService_ServiceDesc is the grpc.ServiceDesc for MotionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMotionServiceHandler ¶
func RegisterMotionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMotionServiceHandler registers the http handlers for service MotionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMotionServiceHandlerClient ¶
func RegisterMotionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MotionServiceClient) error
RegisterMotionServiceHandlerClient registers the http handlers for service MotionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MotionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MotionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MotionServiceClient" to call the correct interceptors.
func RegisterMotionServiceHandlerFromEndpoint ¶
func RegisterMotionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMotionServiceHandlerFromEndpoint is same as RegisterMotionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMotionServiceHandlerServer ¶
func RegisterMotionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MotionServiceServer) error
RegisterMotionServiceHandlerServer registers the http handlers for service MotionService to "mux". UnaryRPC :call MotionServiceServer 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 RegisterMotionServiceHandlerFromEndpoint instead.
func RegisterMotionServiceServer ¶
func RegisterMotionServiceServer(s grpc.ServiceRegistrar, srv MotionServiceServer)
Types ¶
type CollisionSpecification ¶ added in v0.1.83
type CollisionSpecification struct { // Pairs of frame which should be allowed to collide with one another Allows []*CollisionSpecification_AllowedFrameCollisions `protobuf:"bytes,1,rep,name=allows,proto3" json:"allows,omitempty"` // contains filtered or unexported fields }
CollisionSpecification is used to selectively apply obstacle avoidance to specific parts of the robot
func (*CollisionSpecification) Descriptor
deprecated
added in
v0.1.83
func (*CollisionSpecification) Descriptor() ([]byte, []int)
Deprecated: Use CollisionSpecification.ProtoReflect.Descriptor instead.
func (*CollisionSpecification) GetAllows ¶ added in v0.1.83
func (x *CollisionSpecification) GetAllows() []*CollisionSpecification_AllowedFrameCollisions
func (*CollisionSpecification) ProtoMessage ¶ added in v0.1.83
func (*CollisionSpecification) ProtoMessage()
func (*CollisionSpecification) ProtoReflect ¶ added in v0.1.83
func (x *CollisionSpecification) ProtoReflect() protoreflect.Message
func (*CollisionSpecification) Reset ¶ added in v0.1.83
func (x *CollisionSpecification) Reset()
func (*CollisionSpecification) String ¶ added in v0.1.83
func (x *CollisionSpecification) String() string
type CollisionSpecification_AllowedFrameCollisions ¶ added in v0.1.83
type CollisionSpecification_AllowedFrameCollisions struct { Frame1 string `protobuf:"bytes,1,opt,name=frame1,proto3" json:"frame1,omitempty"` Frame2 string `protobuf:"bytes,2,opt,name=frame2,proto3" json:"frame2,omitempty"` // contains filtered or unexported fields }
func (*CollisionSpecification_AllowedFrameCollisions) Descriptor
deprecated
added in
v0.1.83
func (*CollisionSpecification_AllowedFrameCollisions) Descriptor() ([]byte, []int)
Deprecated: Use CollisionSpecification_AllowedFrameCollisions.ProtoReflect.Descriptor instead.
func (*CollisionSpecification_AllowedFrameCollisions) GetFrame1 ¶ added in v0.1.83
func (x *CollisionSpecification_AllowedFrameCollisions) GetFrame1() string
func (*CollisionSpecification_AllowedFrameCollisions) GetFrame2 ¶ added in v0.1.83
func (x *CollisionSpecification_AllowedFrameCollisions) GetFrame2() string
func (*CollisionSpecification_AllowedFrameCollisions) ProtoMessage ¶ added in v0.1.83
func (*CollisionSpecification_AllowedFrameCollisions) ProtoMessage()
func (*CollisionSpecification_AllowedFrameCollisions) ProtoReflect ¶ added in v0.1.83
func (x *CollisionSpecification_AllowedFrameCollisions) ProtoReflect() protoreflect.Message
func (*CollisionSpecification_AllowedFrameCollisions) Reset ¶ added in v0.1.83
func (x *CollisionSpecification_AllowedFrameCollisions) Reset()
func (*CollisionSpecification_AllowedFrameCollisions) String ¶ added in v0.1.83
func (x *CollisionSpecification_AllowedFrameCollisions) String() string
type Constraints ¶ added in v0.1.83
type Constraints struct { // Typed message for a specific constraint LinearConstraint []*LinearConstraint `protobuf:"bytes,1,rep,name=linear_constraint,json=linearConstraint,proto3" json:"linear_constraint,omitempty"` OrientationConstraint []*OrientationConstraint `protobuf:"bytes,2,rep,name=orientation_constraint,json=orientationConstraint,proto3" json:"orientation_constraint,omitempty"` CollisionSpecification []*CollisionSpecification `` // Arc constraint, Time constraint, and others will be added here when they are supported /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Constraints specifies all enumerated constraints to be passed to Viam's motion planning, along with any optional parameters
func (*Constraints) Descriptor
deprecated
added in
v0.1.83
func (*Constraints) Descriptor() ([]byte, []int)
Deprecated: Use Constraints.ProtoReflect.Descriptor instead.
func (*Constraints) GetCollisionSpecification ¶ added in v0.1.83
func (x *Constraints) GetCollisionSpecification() []*CollisionSpecification
func (*Constraints) GetLinearConstraint ¶ added in v0.1.83
func (x *Constraints) GetLinearConstraint() []*LinearConstraint
func (*Constraints) GetOrientationConstraint ¶ added in v0.1.83
func (x *Constraints) GetOrientationConstraint() []*OrientationConstraint
func (*Constraints) ProtoMessage ¶ added in v0.1.83
func (*Constraints) ProtoMessage()
func (*Constraints) ProtoReflect ¶ added in v0.1.83
func (x *Constraints) ProtoReflect() protoreflect.Message
func (*Constraints) Reset ¶ added in v0.1.83
func (x *Constraints) Reset()
func (*Constraints) String ¶ added in v0.1.83
func (x *Constraints) String() string
type GetPoseRequest ¶
type GetPoseRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the component whose pose is being requested ComponentName *v1.ResourceName `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // the reference frame in which the component's pose // should be provided, if unset this defaults // to the "world" reference frame DestinationFrame string `protobuf:"bytes,3,opt,name=destination_frame,json=destinationFrame,proto3" json:"destination_frame,omitempty"` // pose information on any additional reference frames that are needed // to compute the component's pose SupplementalTransforms []*v1.Transform `` /* 127-byte string literal not displayed */ // Additional arguments to the method Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*GetPoseRequest) Descriptor
deprecated
func (*GetPoseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPoseRequest.ProtoReflect.Descriptor instead.
func (*GetPoseRequest) GetComponentName ¶
func (x *GetPoseRequest) GetComponentName() *v1.ResourceName
func (*GetPoseRequest) GetDestinationFrame ¶
func (x *GetPoseRequest) GetDestinationFrame() string
func (*GetPoseRequest) GetExtra ¶
func (x *GetPoseRequest) GetExtra() *structpb.Struct
func (*GetPoseRequest) GetName ¶
func (x *GetPoseRequest) GetName() string
func (*GetPoseRequest) GetSupplementalTransforms ¶
func (x *GetPoseRequest) GetSupplementalTransforms() []*v1.Transform
func (*GetPoseRequest) ProtoMessage ¶
func (*GetPoseRequest) ProtoMessage()
func (*GetPoseRequest) ProtoReflect ¶
func (x *GetPoseRequest) ProtoReflect() protoreflect.Message
func (*GetPoseRequest) Reset ¶
func (x *GetPoseRequest) Reset()
func (*GetPoseRequest) String ¶
func (x *GetPoseRequest) String() string
type GetPoseResponse ¶
type GetPoseResponse struct { Pose *v1.PoseInFrame `protobuf:"bytes,1,opt,name=pose,proto3" json:"pose,omitempty"` // contains filtered or unexported fields }
func (*GetPoseResponse) Descriptor
deprecated
func (*GetPoseResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPoseResponse.ProtoReflect.Descriptor instead.
func (*GetPoseResponse) GetPose ¶
func (x *GetPoseResponse) GetPose() *v1.PoseInFrame
func (*GetPoseResponse) ProtoMessage ¶
func (*GetPoseResponse) ProtoMessage()
func (*GetPoseResponse) ProtoReflect ¶
func (x *GetPoseResponse) ProtoReflect() protoreflect.Message
func (*GetPoseResponse) Reset ¶
func (x *GetPoseResponse) Reset()
func (*GetPoseResponse) String ¶
func (x *GetPoseResponse) String() string
type LinearConstraint ¶ added in v0.1.83
type LinearConstraint struct { LineToleranceMm *float32 `protobuf:"fixed32,1,opt,name=line_tolerance_mm,json=lineToleranceMm,proto3,oneof" json:"line_tolerance_mm,omitempty"` // Max linear deviation from straight-line between start and goal, in mm. OrientationToleranceDegs *float32 `` // Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
LinearConstraint specifies that the component being moved should move linearly relative to its goal. It does not constrain the motion of components other than the `component_name` specified in motion.Move
func (*LinearConstraint) Descriptor
deprecated
added in
v0.1.83
func (*LinearConstraint) Descriptor() ([]byte, []int)
Deprecated: Use LinearConstraint.ProtoReflect.Descriptor instead.
func (*LinearConstraint) GetLineToleranceMm ¶ added in v0.1.83
func (x *LinearConstraint) GetLineToleranceMm() float32
func (*LinearConstraint) GetOrientationToleranceDegs ¶ added in v0.1.83
func (x *LinearConstraint) GetOrientationToleranceDegs() float32
func (*LinearConstraint) ProtoMessage ¶ added in v0.1.83
func (*LinearConstraint) ProtoMessage()
func (*LinearConstraint) ProtoReflect ¶ added in v0.1.83
func (x *LinearConstraint) ProtoReflect() protoreflect.Message
func (*LinearConstraint) Reset ¶ added in v0.1.83
func (x *LinearConstraint) Reset()
func (*LinearConstraint) String ¶ added in v0.1.83
func (x *LinearConstraint) String() string
type MotionServiceClient ¶
type MotionServiceClient interface { Move(ctx context.Context, in *MoveRequest, opts ...grpc.CallOption) (*MoveResponse, error) MoveOnMap(ctx context.Context, in *MoveOnMapRequest, opts ...grpc.CallOption) (*MoveOnMapResponse, error) MoveOnGlobe(ctx context.Context, in *MoveOnGlobeRequest, opts ...grpc.CallOption) (*MoveOnGlobeResponse, error) MoveSingleComponent(ctx context.Context, in *MoveSingleComponentRequest, opts ...grpc.CallOption) (*MoveSingleComponentResponse, error) GetPose(ctx context.Context, in *GetPoseRequest, opts ...grpc.CallOption) (*GetPoseResponse, error) // DoCommand sends/receives arbitrary commands DoCommand(ctx context.Context, in *v1.DoCommandRequest, opts ...grpc.CallOption) (*v1.DoCommandResponse, error) }
MotionServiceClient is the client API for MotionService 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.
func NewMotionServiceClient ¶
func NewMotionServiceClient(cc grpc.ClientConnInterface) MotionServiceClient
type MotionServiceServer ¶
type MotionServiceServer interface { Move(context.Context, *MoveRequest) (*MoveResponse, error) MoveOnMap(context.Context, *MoveOnMapRequest) (*MoveOnMapResponse, error) MoveOnGlobe(context.Context, *MoveOnGlobeRequest) (*MoveOnGlobeResponse, error) MoveSingleComponent(context.Context, *MoveSingleComponentRequest) (*MoveSingleComponentResponse, error) GetPose(context.Context, *GetPoseRequest) (*GetPoseResponse, error) // DoCommand sends/receives arbitrary commands DoCommand(context.Context, *v1.DoCommandRequest) (*v1.DoCommandResponse, error) // contains filtered or unexported methods }
MotionServiceServer is the server API for MotionService service. All implementations must embed UnimplementedMotionServiceServer for forward compatibility
type MoveOnGlobeRequest ¶ added in v0.1.123
type MoveOnGlobeRequest struct { // Name of the motion service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Destination, encoded as a GeoPoint Destination *v1.GeoPoint `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // Optional compass heading to achieve at the destination, in degrees [0-360) Heading *float64 `protobuf:"fixed64,3,opt,name=heading,proto3,oneof" json:"heading,omitempty"` // Component on the robot to move to the specified destination ComponentName *v1.ResourceName `protobuf:"bytes,4,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // Name of the movement sensor which will be used to check robot location MovementSensorName *v1.ResourceName `protobuf:"bytes,5,opt,name=movement_sensor_name,json=movementSensorName,proto3" json:"movement_sensor_name,omitempty"` // Obstacles to be considered for motion planning Obstacles []*v1.GeoObstacle `protobuf:"bytes,6,rep,name=obstacles,proto3" json:"obstacles,omitempty"` // Optional linear velocity to target when moving LinearMetersPerSec *float32 `` /* 127-byte string literal not displayed */ // Optional angular velocity to target when turning AngularDegPerSec *float32 `protobuf:"fixed32,8,opt,name=angular_deg_per_sec,json=angularDegPerSec,proto3,oneof" json:"angular_deg_per_sec,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 (*MoveOnGlobeRequest) Descriptor
deprecated
added in
v0.1.123
func (*MoveOnGlobeRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveOnGlobeRequest.ProtoReflect.Descriptor instead.
func (*MoveOnGlobeRequest) GetAngularDegPerSec ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetAngularDegPerSec() float32
func (*MoveOnGlobeRequest) GetComponentName ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetComponentName() *v1.ResourceName
func (*MoveOnGlobeRequest) GetDestination ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetDestination() *v1.GeoPoint
func (*MoveOnGlobeRequest) GetExtra ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetExtra() *structpb.Struct
func (*MoveOnGlobeRequest) GetHeading ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetHeading() float64
func (*MoveOnGlobeRequest) GetLinearMetersPerSec ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetLinearMetersPerSec() float32
func (*MoveOnGlobeRequest) GetMovementSensorName ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetMovementSensorName() *v1.ResourceName
func (*MoveOnGlobeRequest) GetName ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetName() string
func (*MoveOnGlobeRequest) GetObstacles ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) GetObstacles() []*v1.GeoObstacle
func (*MoveOnGlobeRequest) ProtoMessage ¶ added in v0.1.123
func (*MoveOnGlobeRequest) ProtoMessage()
func (*MoveOnGlobeRequest) ProtoReflect ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) ProtoReflect() protoreflect.Message
func (*MoveOnGlobeRequest) Reset ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) Reset()
func (*MoveOnGlobeRequest) String ¶ added in v0.1.123
func (x *MoveOnGlobeRequest) String() string
type MoveOnGlobeResponse ¶ added in v0.1.123
type MoveOnGlobeResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*MoveOnGlobeResponse) Descriptor
deprecated
added in
v0.1.123
func (*MoveOnGlobeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveOnGlobeResponse.ProtoReflect.Descriptor instead.
func (*MoveOnGlobeResponse) GetSuccess ¶ added in v0.1.123
func (x *MoveOnGlobeResponse) GetSuccess() bool
func (*MoveOnGlobeResponse) ProtoMessage ¶ added in v0.1.123
func (*MoveOnGlobeResponse) ProtoMessage()
func (*MoveOnGlobeResponse) ProtoReflect ¶ added in v0.1.123
func (x *MoveOnGlobeResponse) ProtoReflect() protoreflect.Message
func (*MoveOnGlobeResponse) Reset ¶ added in v0.1.123
func (x *MoveOnGlobeResponse) Reset()
func (*MoveOnGlobeResponse) String ¶ added in v0.1.123
func (x *MoveOnGlobeResponse) String() string
type MoveOnMapRequest ¶ added in v0.1.104
type MoveOnMapRequest struct { // Name of the motion service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specify a destination to, which can be any pose with respect to the SLAM map's origin Destination *v1.Pose `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // Component on the robot to move to the specified destination ComponentName *v1.ResourceName `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // Name of the slam service from which the SLAM map is requested SlamServiceName *v1.ResourceName `protobuf:"bytes,4,opt,name=slam_service_name,json=slamServiceName,proto3" json:"slam_service_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 (*MoveOnMapRequest) Descriptor
deprecated
added in
v0.1.104
func (*MoveOnMapRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveOnMapRequest.ProtoReflect.Descriptor instead.
func (*MoveOnMapRequest) GetComponentName ¶ added in v0.1.104
func (x *MoveOnMapRequest) GetComponentName() *v1.ResourceName
func (*MoveOnMapRequest) GetDestination ¶ added in v0.1.104
func (x *MoveOnMapRequest) GetDestination() *v1.Pose
func (*MoveOnMapRequest) GetExtra ¶ added in v0.1.104
func (x *MoveOnMapRequest) GetExtra() *structpb.Struct
func (*MoveOnMapRequest) GetName ¶ added in v0.1.104
func (x *MoveOnMapRequest) GetName() string
func (*MoveOnMapRequest) GetSlamServiceName ¶ added in v0.1.104
func (x *MoveOnMapRequest) GetSlamServiceName() *v1.ResourceName
func (*MoveOnMapRequest) ProtoMessage ¶ added in v0.1.104
func (*MoveOnMapRequest) ProtoMessage()
func (*MoveOnMapRequest) ProtoReflect ¶ added in v0.1.104
func (x *MoveOnMapRequest) ProtoReflect() protoreflect.Message
func (*MoveOnMapRequest) Reset ¶ added in v0.1.104
func (x *MoveOnMapRequest) Reset()
func (*MoveOnMapRequest) String ¶ added in v0.1.104
func (x *MoveOnMapRequest) String() string
type MoveOnMapResponse ¶ added in v0.1.104
type MoveOnMapResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*MoveOnMapResponse) Descriptor
deprecated
added in
v0.1.104
func (*MoveOnMapResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveOnMapResponse.ProtoReflect.Descriptor instead.
func (*MoveOnMapResponse) GetSuccess ¶ added in v0.1.104
func (x *MoveOnMapResponse) GetSuccess() bool
func (*MoveOnMapResponse) ProtoMessage ¶ added in v0.1.104
func (*MoveOnMapResponse) ProtoMessage()
func (*MoveOnMapResponse) ProtoReflect ¶ added in v0.1.104
func (x *MoveOnMapResponse) ProtoReflect() protoreflect.Message
func (*MoveOnMapResponse) Reset ¶ added in v0.1.104
func (x *MoveOnMapResponse) Reset()
func (*MoveOnMapResponse) String ¶ added in v0.1.104
func (x *MoveOnMapResponse) String() string
type MoveRequest ¶
type MoveRequest struct { // Name of the motion service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system Destination *v1.PoseInFrame `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // Component on the robot to move to the specified destination ComponentName *v1.ResourceName `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // Avoid obstacles by specifying their geometries in the world state // Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move WorldState *v1.WorldState `protobuf:"bytes,4,opt,name=world_state,json=worldState,proto3,oneof" json:"world_state,omitempty"` // Constrain the way the robot will move Constraints *Constraints `protobuf:"bytes,5,opt,name=constraints,proto3,oneof" json:"constraints,omitempty"` // Additional arguments to the method Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
Moves any component on the robot to a specified destination which can be from the reference frame of any other component on the robot.
func (*MoveRequest) Descriptor
deprecated
func (*MoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveRequest.ProtoReflect.Descriptor instead.
func (*MoveRequest) GetComponentName ¶
func (x *MoveRequest) GetComponentName() *v1.ResourceName
func (*MoveRequest) GetConstraints ¶ added in v0.1.83
func (x *MoveRequest) GetConstraints() *Constraints
func (*MoveRequest) GetDestination ¶
func (x *MoveRequest) GetDestination() *v1.PoseInFrame
func (*MoveRequest) GetExtra ¶
func (x *MoveRequest) GetExtra() *structpb.Struct
func (*MoveRequest) GetName ¶
func (x *MoveRequest) GetName() string
func (*MoveRequest) GetWorldState ¶
func (x *MoveRequest) GetWorldState() *v1.WorldState
func (*MoveRequest) ProtoMessage ¶
func (*MoveRequest) ProtoMessage()
func (*MoveRequest) ProtoReflect ¶
func (x *MoveRequest) ProtoReflect() protoreflect.Message
func (*MoveRequest) Reset ¶
func (x *MoveRequest) Reset()
func (*MoveRequest) String ¶
func (x *MoveRequest) String() string
type MoveResponse ¶
type MoveResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*MoveResponse) Descriptor
deprecated
func (*MoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveResponse.ProtoReflect.Descriptor instead.
func (*MoveResponse) GetSuccess ¶
func (x *MoveResponse) GetSuccess() bool
func (*MoveResponse) ProtoMessage ¶
func (*MoveResponse) ProtoMessage()
func (*MoveResponse) ProtoReflect ¶
func (x *MoveResponse) ProtoReflect() protoreflect.Message
func (*MoveResponse) Reset ¶
func (x *MoveResponse) Reset()
func (*MoveResponse) String ¶
func (x *MoveResponse) String() string
type MoveSingleComponentRequest ¶
type MoveSingleComponentRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Destination *v1.PoseInFrame `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` ComponentName *v1.ResourceName `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` WorldState *v1.WorldState `protobuf:"bytes,4,opt,name=world_state,json=worldState,proto3,oneof" json:"world_state,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 (*MoveSingleComponentRequest) Descriptor
deprecated
func (*MoveSingleComponentRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveSingleComponentRequest.ProtoReflect.Descriptor instead.
func (*MoveSingleComponentRequest) GetComponentName ¶
func (x *MoveSingleComponentRequest) GetComponentName() *v1.ResourceName
func (*MoveSingleComponentRequest) GetDestination ¶
func (x *MoveSingleComponentRequest) GetDestination() *v1.PoseInFrame
func (*MoveSingleComponentRequest) GetExtra ¶
func (x *MoveSingleComponentRequest) GetExtra() *structpb.Struct
func (*MoveSingleComponentRequest) GetName ¶
func (x *MoveSingleComponentRequest) GetName() string
func (*MoveSingleComponentRequest) GetWorldState ¶
func (x *MoveSingleComponentRequest) GetWorldState() *v1.WorldState
func (*MoveSingleComponentRequest) ProtoMessage ¶
func (*MoveSingleComponentRequest) ProtoMessage()
func (*MoveSingleComponentRequest) ProtoReflect ¶
func (x *MoveSingleComponentRequest) ProtoReflect() protoreflect.Message
func (*MoveSingleComponentRequest) Reset ¶
func (x *MoveSingleComponentRequest) Reset()
func (*MoveSingleComponentRequest) String ¶
func (x *MoveSingleComponentRequest) String() string
type MoveSingleComponentResponse ¶
type MoveSingleComponentResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*MoveSingleComponentResponse) Descriptor
deprecated
func (*MoveSingleComponentResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveSingleComponentResponse.ProtoReflect.Descriptor instead.
func (*MoveSingleComponentResponse) GetSuccess ¶
func (x *MoveSingleComponentResponse) GetSuccess() bool
func (*MoveSingleComponentResponse) ProtoMessage ¶
func (*MoveSingleComponentResponse) ProtoMessage()
func (*MoveSingleComponentResponse) ProtoReflect ¶
func (x *MoveSingleComponentResponse) ProtoReflect() protoreflect.Message
func (*MoveSingleComponentResponse) Reset ¶
func (x *MoveSingleComponentResponse) Reset()
func (*MoveSingleComponentResponse) String ¶
func (x *MoveSingleComponentResponse) String() string
type OrientationConstraint ¶ added in v0.1.83
type OrientationConstraint struct { OrientationToleranceDegs *float32 `` // Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
OrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative to the goal. It does not constrain the motion of components other than the `component_name` specified in motion.Move
func (*OrientationConstraint) Descriptor
deprecated
added in
v0.1.83
func (*OrientationConstraint) Descriptor() ([]byte, []int)
Deprecated: Use OrientationConstraint.ProtoReflect.Descriptor instead.
func (*OrientationConstraint) GetOrientationToleranceDegs ¶ added in v0.1.83
func (x *OrientationConstraint) GetOrientationToleranceDegs() float32
func (*OrientationConstraint) ProtoMessage ¶ added in v0.1.83
func (*OrientationConstraint) ProtoMessage()
func (*OrientationConstraint) ProtoReflect ¶ added in v0.1.83
func (x *OrientationConstraint) ProtoReflect() protoreflect.Message
func (*OrientationConstraint) Reset ¶ added in v0.1.83
func (x *OrientationConstraint) Reset()
func (*OrientationConstraint) String ¶ added in v0.1.83
func (x *OrientationConstraint) String() string
type UnimplementedMotionServiceServer ¶
type UnimplementedMotionServiceServer struct { }
UnimplementedMotionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMotionServiceServer) DoCommand ¶ added in v0.1.80
func (UnimplementedMotionServiceServer) DoCommand(context.Context, *v1.DoCommandRequest) (*v1.DoCommandResponse, error)
func (UnimplementedMotionServiceServer) GetPose ¶
func (UnimplementedMotionServiceServer) GetPose(context.Context, *GetPoseRequest) (*GetPoseResponse, error)
func (UnimplementedMotionServiceServer) Move ¶
func (UnimplementedMotionServiceServer) Move(context.Context, *MoveRequest) (*MoveResponse, error)
func (UnimplementedMotionServiceServer) MoveOnGlobe ¶ added in v0.1.123
func (UnimplementedMotionServiceServer) MoveOnGlobe(context.Context, *MoveOnGlobeRequest) (*MoveOnGlobeResponse, error)
func (UnimplementedMotionServiceServer) MoveOnMap ¶ added in v0.1.104
func (UnimplementedMotionServiceServer) MoveOnMap(context.Context, *MoveOnMapRequest) (*MoveOnMapResponse, error)
func (UnimplementedMotionServiceServer) MoveSingleComponent ¶
func (UnimplementedMotionServiceServer) MoveSingleComponent(context.Context, *MoveSingleComponentRequest) (*MoveSingleComponentResponse, error)
type UnsafeMotionServiceServer ¶
type UnsafeMotionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMotionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MotionServiceServer will result in compilation errors.