Skip to content

Commit

Permalink
remote_id: Units on fields names and more code style
Browse files Browse the repository at this point in the history
  • Loading branch information
persuader72 committed Jan 11, 2024
1 parent 0fd7fee commit 3306526
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions protos/remote_id/remote_id.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,60 +66,60 @@ message SetSelfIdResponse {
}

message BasicId {
uint32 id_type = 1; // Indicates the format for the uas_id field of this message.
uint32 id_type = 1; // Indicates the format for the uas_id field of this message.
uint32 ua_type = 2; // Indicates the type of UA (Unmanned Aircraft).
string uas_id = 3; // UAS ID following the format specified by id_type.
string uas_id = 3; // UAS ID following the format specified by id_type.
}

message Location {
uint32 status= 1; // Indicates whether the unmanned aircraft is on the ground or in the air.
uint32 direction_deg= 2; // Direction over ground measured clockwise from true North: 0 - 359 deg.
uint32 speed_horizontal_cm_s= 3; // Ground speed. Positive only. cm/s
int32 speed_vertical_cm_s= 4; // The vertical speed. Up is positive. cm/s
int32 latitude_deg= 5; // Current latitude of the unmanned aircraft
int32 longitude_deg= 6; // Current longitude of the unmanned aircraft
float altitude_barometric_m= 7; // The altitude calculated from the barometric pressure.
float altitude_geodetic_m= 8; // The geodetic altitude as defined by WGS84.
uint32 height_reference= 9; // Indicates the reference point for the height field.
float height_m= 10; // The current height of the unmanned aircraft. As indicated by height_reference.
float timestamp_s= 11; // Seconds after the full hour with reference to UTC time.
uint32 timestamp_accuracy= 12;// The accuracy of the timestamps.
uint32 status = 1; // Indicates whether the unmanned aircraft is on the ground or in the air.
uint32 direction_deg = 2; // Direction over ground measured clockwise from true North: 0 - 359 deg.
uint32 speed_horizontal_cm_s = 3; // Ground speed. Positive only. cm/s
int32 speed_vertical_cm_s = 4; // The vertical speed. Up is positive. cm/s
int32 latitude_deg = 5; // Current latitude of the unmanned aircraft
int32 longitude_deg = 6; // Current longitude of the unmanned aircraft
float altitude_barometric_m = 7; // The altitude calculated from the barometric pressure.
float altitude_geodetic_m = 8; // The geodetic altitude as defined by WGS84.
uint32 height_reference = 9; // Indicates the reference point for the height field.
float height_m = 10; // The current height of the unmanned aircraft. As indicated by height_reference.
float timestamp_s = 11; // Seconds after the full hour with reference to UTC time.
uint32 timestamp_accuracy = 12; // The accuracy of the timestamps.
}

message SystemId {
uint32 operator_location_type= 1; // Specifies the operator location type.
uint32 classification_type= 2; // Specifies the classification type of the UA.
int32 operator_latitude= 3; // Latitude of the operator.
int32 operator_longitude= 4; // Longitude of the operator.
uint32 area_count= 5; // Number of aircraft in the area,
uint32 area_radius= 6; // Radius of the cylindrical area of the group or formation.
float area_ceiling= 7; // Area Operations Ceiling relative to WGS84.
float area_floor= 8; // Area Operations Floor relative to WGS84.
uint32 category_eu= 9; // When classification_type is MAV_ODID_CLASSIFICATION_TYPE_EU, specifies the category of the UA.
uint32 class_eu= 10; // When classification_type is MAV_ODID_CLASSIFICATION_TYPE_EU, specifies the class of the UA.
float operator_altitude_geo= 11; // Geodetic altitude of the operator relative to WGS84. If unknown: -1000 m.
uint32 timestamp= 12; // s32 bit Unix Timestamp in seconds since 00:00:00 01/01/2019.
uint32 operator_location_type = 1; // Specifies the operator location type.
uint32 classification_type = 2; // Specifies the classification type of the UA.
int32 operator_latitude_deg = 3; // Latitude of the operator.
int32 operator_longitude_deg = 4; // Longitude of the operator.
uint32 area_count = 5; // Number of aircraft in the area,
uint32 area_radius_m = 6; // Radius of the cylindrical area of the group or formation.
float area_ceiling_m = 7; // Area Operations Ceiling relative to WGS84.
float area_floor_m = 8; // Area Operations Floor relative to WGS84.
uint32 category_eu = 9; // When classification_type is MAV_ODID_CLASSIFICATION_TYPE_EU, specifies the category of the UA.
uint32 class_eu = 10; // When classification_type is MAV_ODID_CLASSIFICATION_TYPE_EU, specifies the class of the UA.
float operator_altitude_geo_m = 11; // Geodetic altitude of the operator relative to WGS84. If unknown: -1000 m.
uint32 timestamp_s = 12; // s32 bit Unix Timestamp in seconds since 00:00:00 01/01/2019.
}

message OperatorId {
uint32 operator_id_type= 1; // Indicates the type of the description field.
string operator_id= 2; // Text description or numeric value expressed as ASCII characters.
uint32 operator_id_type = 1; // Indicates the type of the description field.
string operator_id = 2; // Text description or numeric value expressed as ASCII characters.
}

message SelfId {
uint32 description_type= 1; // Indicates the type of the operator_id field.
string description= 2; // Text description or numeric value expressed as ASCII characters.
uint32 description_type = 1; // Indicates the type of the operator_id field.
string description = 2; // Text description or numeric value expressed as ASCII characters.
}

// Result type.
message RemoteIdResult {
// Possible results returned for camera commands
enum Result {
RESULT_UNKNOWN = 0; // Unknown result
RESULT_SUCCESS = 1; // Command executed successfully
RESULT_ERROR = 2; // An error has occurred while executing the command
RESULT_UNKNOWN = 0; // Unknown result
RESULT_SUCCESS = 1; // Command executed successfully
RESULT_ERROR = 2; // An error has occurred while executing the command
}

Result result = 1; // Result enum value
string result_str = 2; // Human-readable English string describing the result
Result result = 1; // Result enum value
string result_str = 2; // Human-readable English string describing the result
}

0 comments on commit 3306526

Please sign in to comment.