Skip to content

Commit

Permalink
Customizing distance sensor to add orientation for multiple sensor su…
Browse files Browse the repository at this point in the history
…pport (#321)

* Customizing distance sensor to add orientaion for multiple sensor support

* Added orientation(Euler) parameter to telemetry.distance_sensor to take advantage of the mavlink orientation parameter and receive measurements for multiple distance sensors
  • Loading branch information
prokas-nikos authored Dec 17, 2023
1 parent 84d4529 commit 53cecad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protos/telemetry/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ message DistanceSensor {
float minimum_distance_m = 1 [(mavsdk.options.default_value)="NaN"]; // Minimum distance the sensor can measure, NaN if unknown.
float maximum_distance_m = 2 [(mavsdk.options.default_value)="NaN"]; // Maximum distance the sensor can measure, NaN if unknown.
float current_distance_m = 3 [(mavsdk.options.default_value)="NaN"]; // Current distance reading, NaN if unknown.
EulerAngle orientation = 4; // Sensor Orientation reading.
}

// Scaled Pressure message type.
Expand Down

0 comments on commit 53cecad

Please sign in to comment.