Skip to content

Commit

Permalink
Tuned estimator process noise to better match sim truth.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandareid committed May 2, 2024
1 parent bd4a7cc commit f8b0174
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rosplane/src/estimator_example.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "estimator_example.hpp"
#include "estimator_base.hpp"
#include <rclcpp/logging.hpp>

namespace rosplane
{
Expand Down Expand Up @@ -30,8 +31,8 @@ estimator_example::estimator_example()
{
P_a_ *= powf(radians(5.0f), 2);

Q_a_(0, 0) = 0.01;
Q_a_(1, 1) = 0.01;
Q_a_(0, 0) = 0.0001;
Q_a_(1, 1) = 0.0000001;

Q_g_ *= pow(M_PI * .13 / 180.0, 2); // TODO connect this to the actual params.

Expand Down

0 comments on commit f8b0174

Please sign in to comment.