Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dtneverdie opened this issue Jan 7, 2021 · 1 comment

Comments

@dtneverdie
Copy link

dtneverdie commented Jan 7, 2021

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.

@dtneverdie
Copy link
Author

1609847716985
The pic behind shows the trajectory,74 and 175 means the orientation i measured at the start point of each straight line
20210105
This one shows the graph from the trajectory while x axis stands for timestamp and y axis stands for the result of getYaw(),which seems weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant