Get desktop application:
View/edit binary Protocol Buffers messages
The DockingService provides an interface to dock and undock the robot from Spot Docks, as well as get feedback on command status, and get the current docked status of the robot.
Starts a docking command on the robot.
Message to command the robot to dock. \ Note: If the robot is docked, you can undock the robot by issuing a command with `prep_pose_behavior=PREP_POSE_UNDOCK`. If undocking, `docking_station_id` is not required.
Common request header.
The Lease to show ownership of the robot.
ID of docking station to dock at. This is ignored if undocking the robot, the current dock is used.
Identifier provided by the time sync service to verify time sync between robot and client.
The timestamp (in robot time) at which a command will stop executing. This can be updated by other RPCs This is a required field and used to prevent runaway commands.
[Optional] Specify the prep pose behavior
Require the detection of the dock's fiducial
Response to a DockingCommandRequest
Common response header.
Details about how the lease was used.
Result of issued command.
Unique identifier for the command (if accepted, `status=STATUS_OK`).
Check the status of a docking command.
Message to get the status of a previously issued DockingCommand
Common request header.
Unique identifier of the command to get feedback for.
[optional] Update parameters relating to the specified command ID
Response to a DockingCommandFeedbackRequest for a particular docking command ID
Common response header.
Details about how the lease was used (unset if unknown).
Current feedback of specified command ID.
Get the configured dock ID ranges.
Common request header.
Common response header.
A series of `ConfigRange` specifying details for dock ID numbers.
Get the robot's docking state
Message to get the overall docking state
Common request header.
Response of a GetDockingStateRequest
Common response header.
The configuration of a range of dock ID's
Used in:
Starting ID
Ending ID
Type of dock for this range
Message describing the overall dock state of the robot, including power & comms connections. \ Not tied to any particular DockingCommand ID. \ Note: [*] indicates fields which are only valid if the status is DOCK_STATUS_DOCKED or DOCK_STATUS_DOCKING \ or DOCK_STATUS_UNDOCKING. \ Note: [^] indicates fields which are only valid if the status is DOCK_STATUS_DOCKED. \
Used in:
Status of if the robot is on dock
[*] Type of the dock
[*] ID of the dock
[^] Status of power detection from the dock
Used in:
Unknown
Robot is detected as on a dock
Robot is currently running a docking command
Robot is not detected as on dock
Robot is currently running an undocking command
Used in:
Unknown or Not applicable
The link status is being detected
The link is detected as connected
The link could not be detected
Type of dock
Used in:
, ,Unknown type of dock
Prototype version SpotDock
Production version SpotDock
Production version SpotDock located in the dog house.
Used in:
Status is not specified.
Docking command is executing.
Docking command succeeded, the robot is docked.
Final success state for `PREP_POSE_ONLY_POSE` or `PREP_POSE_UNDOCK`.
Misaligned was detected between the robot and the dock. The docking command was aborted to save an ending up in an unrecoverable state, please try again.
This DockingCommand overridden by new docking command.
ERROR: The sensed dock has been lost and is no longer found.
ERROR: Lease rejected.
ERROR: End time has been reached.
ERROR: No Timesync with system.
ERROR: Provided end time too far in the future.
ERROR: The dock is not available for docking.
ERROR: The prior could not be confirmed as a real dock
ERROR: The robot could not make progress towards docking. For example, there may be an obstacle in the way.
ERROR: Internal system error during execution This error cannot be resolved by issuing a new DockingCommand Check the returned message for details
Used in:
Status is not specified.
Docking command accepted
ERROR: Lease rejected
ERROR: Dock fiducial not found.
ERROR: Trying to undock while not docked
ERROR: Trying to dock when the arm is holding an object.
ERROR: The dock is not available for docking.
ERROR: Internal system error during execution This error cannot be resolved by issuing a new DockingCommand Check the returned message for details
Defines how and whether we use the "pre-docking" pose.
Used in:
,Default behavior, equivalent to PREP_POSE_USE_POSE.
Goes to the pre-docking pose before docking.
Docks before going to the pre-docking pose.
Goes to the pre-docking pose, and then returns SUCCESS without docking.
Use this enum to undock a currently docked robot.
Used in:
The new timestamp (in robot time) at which a command will stop executing.