Skip to content

Issues on how to use ur code to process data from cell phone's inner sensors #26

@dtneverdie

Description

@dtneverdie

I m now working on heading estimation and trying to use madgwick algo in ur project processing cell phone's acceleration ,magnetometer and gyroscope data to get heading information. I tried inputing raw data into update() function and the result of ypr angle seems pretty strange. I m not sure if i use the
ax = convertRawAcceleration(aix); ay = convertRawAcceleration(aiy); az = convertRawAcceleration(aiz); gx = convertRawGyro(gix); gy = convertRawGyro(giy); gz = convertRawGyro(giz); code after getting my raw data, and i also wanna know how to transfer the ypr angle result to pedestrian‘s heading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions