common
enum ResponseStatus
Response types for RPC functions.
Values 0-2 (OK, IN_PROGRESS, COMPLETED) are specific to the SteelEagle protocol.
They determine what phase an RPC call is in:
OK-> ackIN_PROGRESS-> in progressCOMPLETED-> completed
These intermediate phases are generally not exposed to user-facing code and are only used
for streaming methods. In contrast to normal gRPC procedure, a call is only considered complete
on a response of COMPLETED instead of OK. If an error occurs, SteelEagle defers to gRPC error
codes, 3-18. More details on these codes can be found here.
Note that the value of these codes is offset by 2 from their original form (e.g. CANCELLED = 3 vs = 1).
Therefore, for error codes, the transformation from gRPC to SteelEagle response code is to add
2 to the code. The only codes that differ from their gRPC meaning are codes 9 and 18.
Fields
field OK (0)
field IN_PROGRESS (1)
field COMPLETED (2)
field CANCELLED (3)
field UNKNOWN (4)
field INVALID_ARGUMENT (5)
field DEADLINE_EXCEEDED (6)
field NOT_FOUND (7)
field ALREADY_EXISTS (8)
field PERMISSION_DENIED (9)
field RESOURCE_EXHAUSTED (10)
field FAILED_PRECONDITION (11)
field ABORTED (12)
field OUT_OF_RANGE (13)
field UNIMPLEMENTED (14)
field INTERNAL (15)
field UNAVAILABLE (16)
field DATA_LOSS (17)
field UNAUTHENTICATED (18)
message Request
Request object for additional request info.
Fields
field timestamp (/google/protobuf/Timestamp)
message Response
Global response message returned by all core services.
Fields
field status (ResponseStatus)
field response_string (string)
field timestamp (/google/protobuf/Timestamp)
message Pose
Angular offsets or poses in 3 dimensions.
Fields
field pitch (double)
field roll (double)
field yaw (double)
message Velocity
Representation of velocity in 3-dimensions.
Fields
field x_vel (double)
field y_vel (double)
field z_vel (double)
field angular_vel (double)
message Position
Position offset relative to home or current location.
Fields
field x (double)
field y (double)
field z (double)
field angle (double)
message Location
Location in global coordinates.
Fields
field latitude (double)
field longitude (double)
field altitude (double)
field heading (double)