Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed UpperTriangularCovariance message #138

Open
wants to merge 1 commit into
base: jade-devel
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions geometry_msgs/msg/UpperTriangularCovariance.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Row-major representation of 6x6 velocity cross-covariance matrix in an upper right triangular
# Order: vx, vy, vz, rotation rate about X axis, rotation rate about Y axis, rotation rate about Z axis

# If linear velocity covariance invalid/unknown, first cell is NaN
# If angular velocity covariance invalid/unknown, 16th cell is NaN

# Covariance matrix index constants
uint8 MATRIX_LINEAR_X_VARIANCE=0
uint8 MATRIX_LINEAR_Y_VARIANCE=6
uint8 MATRIX_LINEAR_Z_VARIANCE=11
uint8 MATRIX_ANGULAR_X_VARIANCE=15
uint8 MATRIX_ANGULAR_Y_VARIANCE=18
uint8 MATRIX_ANGULAR_Z_VARIANCE=20

# Convenient aliases for common names.
uint8 MATRIX_ROLL_VARIANCE=15
uint8 MATRIX_PITCH_VARIANCE=18
uint8 MATRIX_YAW_VARIANCE=20

# Constants to index to cells to check for invalid/unknown data
uint8 MATRIX_LINEAR_VALID_CELL=0
uint8 MATRIX_ANGULAR_VALID_CELL=15

# Raw Storage
float32[21] covariance