ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange

# Revision history [back]

Hello !

The documentation for this message is here : http://docs.ros.org/api/geometry_msgs/html/msg/PoseWithCovariance.html

The Covariance is Row-Major order so you can access it with 2 methods :

CUSTOMIZED_MSG_NAME.covariance[0..35]

CUSTOMIZED_MSG_NAME.covariance[0..5][0..5]

Hello !

The documentation for this message is here : http://docs.ros.org/api/geometry_msgs/html/msg/PoseWithCovariance.html

The Covariance is Row-Major order so you can access it with 2 methods :

CUSTOMIZED_MSG_NAME.covariance[0..35]

CUSTOMIZED_MSG_NAME.covariance[0..5][0..5] CUSTOMIZED_MSG_NAME.covariance[06+0..56+5] (for 6*6 matrix only)

CUSTOMIZED_MSG_NAME.covariance[0..5][0..5]

 3 No.3 Revision gvdhoorn 86574 ●283 ●1432 ●1054 http://cor.tudelft.nl/

Hello !

The documentation for this message is here : http://docs.ros.org/api/geometry_msgs/html/msg/PoseWithCovariance.htmlhere:

# This represents a pose in free space with uncertainty.
Pose pose

# Row-major representation of the 6x6 covariance matrix
# The orientation parameters use a fixed-axis representation.
# In order, the parameters are:
float64[36] covariance


The Covariance So covariance is Row-Major order so you can access it with 2 methods :

CUSTOMIZED_MSG_NAME.covariance[0..35]


CUSTOMIZED_MSG_NAME.covariance[0..35] or

CUSTOMIZED_MSG_NAME.covariance[06+0..56+5]

CUSTOMIZED_MSG_NAME.covariance[0*6+0..5*6+5]  (for 6*6 matrix only)only)


CUSTOMIZED_MSG_NAME.covariance[0..5][0..5]

 4 No.4 Revision gvdhoorn 86574 ●283 ●1432 ●1054 http://cor.tudelft.nl/

Hello !

The documentation for this message is here:

# This represents a pose in free space with uncertainty.
Pose pose

# Row-major representation of the 6x6 covariance matrix
# The orientation parameters use a fixed-axis representation.
# In order, the parameters are:
float64[36] covariance


So covariance is Row-Major order so you can access it with 2 methods :

CUSTOMIZED_MSG_NAME.covariance[0..35]


or

CUSTOMIZED_MSG_NAME.covariance[0*6+0..5*6+5]  (for 6*6 matrix only)


CUSTOMIZED_MSG_NAME.covariance[0..5][0..5]