Skip to content

Magnetometer initial values aren't normalized? #66

Open
@danielschonfeld

Description

@danielschonfeld

Admittedly i'm a newbie that's trying to wrap my head around this paper, but I think that there were two assumptions made about using the magnetometer data in the initial quaternion correction.

  1. The magnetometer vector was normalized (page 7, 2nd paragraph)
  2. transposition of q0 and q3 depending on lx >= or < 0 (page 11, eq 35)

I couldn't find neither of those applied in:

https://github.com/ccny-ros-pkg/imu_tools/blob/kinetic/imu_complementary_filter/src/complementary_filter.cpp#L349

What am I getting wrong or is this a bug?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions