Skip to content

Commit

Permalink
remote_id: fixes for fields names and codespeel
Browse files Browse the repository at this point in the history
  • Loading branch information
persuader72 committed Jan 11, 2024
1 parent f4b2f03 commit 0fd7fee
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions protos/remote_id/remote_id.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ service RemoteIdService {
*/
rpc SetBasicId(SetBasicIdRequest) returns(SetBasicIdResponse) { option (mavsdk.options.async_type) = SYNC; }
/*
* Update the Location strucutre sent with the location packet
* Update the Location structure sent with the location packet
*/
rpc SetLocation(SetLocationRequest) returns(SetLocationResponse) { option (mavsdk.options.async_type) = SYNC; }
/*
* Update the System strucutre sent with the system packet
* Update the System structure sent with the system packet
*/
rpc SetSystem(SetSystemRequest) returns(SetSystemResponse) { option (mavsdk.options.async_type) = SYNC; }
/*
* Update the OperatorId strucutre sent with the operator_id packet
* Update the OperatorId structure sent with the operator_id packet
*/
rpc SetOperatorId(SetOperatorIdRequest) returns(SetOperatorIdResponse) { option (mavsdk.options.async_type) = SYNC; }
/*
* Update the SetSelfId strucutre sent with the self_id packet
* Update the SetSelfId structure sent with the self_id packet
*/
rpc SetSelfId(SetSelfIdRequest) returns(SetSelfIdResponse) { option (mavsdk.options.async_type) = SYNC; }
}
Expand Down Expand Up @@ -73,16 +73,16 @@ message BasicId {

message Location {
uint32 status= 1; // Indicates whether the unmanned aircraft is on the ground or in the air.
uint32 direction= 2; // Direction over ground measured clockwise from true North: 0 - 35999 cdeg.
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= 4; // The vertical speed. Up is positive. cm/s
int32 latitude= 5; // Current latitude of the unmanned aircraft
int32 longitude= 6; // Current longitude of the unmanned aircraft
float altitude_barometric= 7; // The altitude calculated from the barometric pressue.
float altitude_geodetic= 8; // The geodetic altitude as defined by WGS84.
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= 10; // The current height of the unmanned aircraft. As indicated by height_reference.
float timestamp= 11; // Seconds after the full hour with reference to UTC time.
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.
}

Expand Down

0 comments on commit 0fd7fee

Please sign in to comment.