Skip to content

Commit c5a12c4

Browse files
authored
Merge pull request #188 from BluEye-Robotics/av/gyro-or-compass-mode
Add support gyro or compass mode in dead reckoning and Blueye GNSS
2 parents 2546aed + 0765a24 commit c5a12c4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

protobuf_definitions/message_formats.proto

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,24 +411,33 @@ message PositionEstimate {
411411
// Heading source used during reset of the position estimate.
412412
enum HeadingSource {
413413
HEADING_SOURCE_UNSPECIFIED = 0; // Unspecified.
414-
HEADING_SOURCE_DRONE_COMPASS = 1; // Uses the drone compass to set the heading.
414+
HEADING_SOURCE_DRONE_COMPASS = 1; // Uses the drone magnetic compass to set the heading.
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)