a
This commit is contained in:
parent
ef5cf7a4ea
commit
3c51b228ec
|
|
@ -846,8 +846,8 @@ void doTransform(const geometry_msgs::PoseStamped& t_in, geometry_msgs::PoseStam
|
|||
* \param transform The timestamped transform to apply, as a TransformStamped message.
|
||||
* \return The transformed covariance matrix.
|
||||
*/
|
||||
inline std::array<double, 36>
|
||||
transformCovariance(const std::array<double, 36>& cov_in, const Transform& transform)
|
||||
inline boost::array<double, 36>
|
||||
transformCovariance(const boost::array<double, 36>& cov_in, const Transform& transform)
|
||||
{
|
||||
/**
|
||||
* To transform a covariance matrix:
|
||||
|
|
@ -885,7 +885,7 @@ transformCovariance(const std::array<double, 36>& cov_in, const Transform& trans
|
|||
const tf3::Matrix3x3 result_22 = transform.getBasis()*cov_22*R_transpose;
|
||||
|
||||
// form the output
|
||||
std::array<double, 36> output;
|
||||
boost::array<double, 36> output;
|
||||
output[0] = result_11[0][0];
|
||||
output[1] = result_11[0][1];
|
||||
output[2] = result_11[0][2];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user