Skip to content

Commit

Permalink
clang tidy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas committed Sep 27, 2024
1 parent 57d8e0d commit ba0549c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
*
****************************************************************************/

// TODO: rename to KF_position and clean up comments

/**
* @file KF_position_moving.cpp
* @brief Filter to estimate the pose of moving targets. State: [pos_rel, vel_uav, bias, acc_target, vel_target]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
*
****************************************************************************/

// TODO: rename to KF_position and clean up comments

/**
* @file KF_position_moving.h
* @brief Filter to estimate the pose of moving targets. State: [r, vd, b, at, vt]
Expand Down Expand Up @@ -79,9 +81,8 @@ class KF_position_unified
_state_covariance = var_mat;
};

matrix::Vector<float, vtest::State::size> getAugmentedState() { return _state;}

matrix::Vector<float, vtest::State::size> getAugmentedStateVar()
matrix::Vector<float, vtest::State::size> getState() { return _state;}
matrix::Vector<float, vtest::State::size> getStateVar()
{
const matrix::SquareMatrix<float, vtest::State::size> var_mat = _state_covariance;
return var_mat.diag();
Expand Down

0 comments on commit ba0549c

Please sign in to comment.