Skip to content

Commit 0765a24

Browse files
committed
Add HeadingMode to reset ResetPositionSettings
1 parent efc9f61 commit 0765a24

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

protobuf_definitions/message_formats.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,20 +415,29 @@ enum HeadingSource {
415415
HEADING_SOURCE_MANUAL_INPUT = 2; // Used when the user sets the heading manually.
416416
}
417417

418+
// Heading mode used during dead reckoning with a DVL.
419+
enum HeadingMode {
420+
HEADING_MODE_UNSPECIFIED = 0; // Unspecified.
421+
HEADING_MODE_MAGNETIC_COMPASS = 1; // Uses the best available magnetic compass heading.
422+
HEADING_MODE_GYRO_ONLY = 2; // Uses the best available gyro based heading.
423+
}
424+
418425
// Settings used when resetting the position estimate.
419426
message ResetPositionSettings {
420427
// Option to use the drone compass or due North as heading during reset.
421428
HeadingSource heading_source_during_reset = 1;
422429
float manual_heading = 2; // Heading in degrees (0-359).
423430
ResetCoordinateSource reset_coordinate_source = 3; // Option to use the device GPS or a manual coordinate.
424431
LatLongPosition reset_coordinate = 4; // Reset coordinate in decimal degrees.
432+
HeadingMode heading_mode = 5; // Heading mode used in dead reckoning.
425433
}
426434

427435
// The coordinate source to use when resetting the position estimate.
428436
enum ResetCoordinateSource {
429437
RESET_COORDINATE_SOURCE_UNSPECIFIED = 0; // Unspecified, fallback to device GPS
430438
RESET_COORDINATE_SOURCE_DEVICE_GPS = 1; // Uses the device GPS to set the reset point
431439
RESET_COORDINATE_SOURCE_MANUAL = 2; // Uses a coordinate in decimal degrees to set the reset point
440+
RESET_COORDINATE_SOURCE_BLUEYE_GNSS = 3; // Uses the Blueye GNSS to set the reset point
432441
}
433442

434443
// DVL raw transducer data.

0 commit comments

Comments
 (0)