ekf2: change delta angle and delta velocity bias states to accel and gyro bias (#21901)

* ekf2-test: remove outdated codegen comparison

The definition of states changed so the comparison with the old
derivation cannot work anymore.

---------

Co-authored-by: bresch <brescianimathieu@gmail.com>
This commit is contained in:
Daniel Agar
2023-07-28 09:31:44 -04:00
committed by GitHub
parent 444e5d2d4a
commit 84b6b472b4
27 changed files with 1452 additions and 2374 deletions
+1 -3
View File
@@ -42,8 +42,6 @@
#include <vector>
#include <mathlib/mathlib.h>
#include "EKF/utils.hpp"
TEST(eclPowfTest, compareToStandardImplementation)
{
std::vector<int> exponents = {-3, -2, -1, -0, 0, 1, 2, 3};
@@ -51,7 +49,7 @@ TEST(eclPowfTest, compareToStandardImplementation)
for (auto const exponent : exponents) {
for (auto const basis : bases) {
EXPECT_EQ(ecl::powf(basis, exponent),
EXPECT_EQ(powf(basis, exponent),
std::pow(basis, static_cast<float>(exponent)));
}
}