Remove unsafe access to .data() and _data in Matrix

This commit is contained in:
Julian Kent
2019-09-18 22:01:36 -04:00
committed by Daniel Agar
parent 78bf12f0db
commit 2d4ecab3b0
8 changed files with 29 additions and 21 deletions
@@ -495,9 +495,9 @@ bool AttitudeEstimatorQ::init()
// Fill rotation matrix
Dcmf R;
R.setRow(0, i);
R.setRow(1, j);
R.setRow(2, k);
R.row(0) = i;
R.row(1) = j;
R.row(2) = k;
// Convert to quaternion
_q = R;