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

How to calculate calibrationTransform? #3

Open
Vincy-Ying opened this issue Aug 8, 2020 · 7 comments
Open

How to calculate calibrationTransform? #3

Vincy-Ying opened this issue Aug 8, 2020 · 7 comments

Comments

@Vincy-Ying
Copy link

Hello, I have some questions about CalculateCalibrationTransform() in SensorBoneLink.cs? First, "source " has been converted into "source.Transposed", and then, when getting "CalibrationTransform", "source" has been converted into "source.Transposed" again, so, its value is the initial value. Why do you make two transposed transforms? Why do you use "target" to multiply it?

@herzig
Copy link
Owner

herzig commented Aug 9, 2020

Hi Vincy-Ying, Thanks for pointing that out.
I agree, all the calculations in CalculateCalibrationTransform seem to be completely unnecessary. It's been a long time since I wrote that Code and I have to admit I didn't understand fully what I was doing. That whole calibration transform part seems really sketchy looking at it now and it may very well be that it doesn't work properly. When I used the system, I always tried to align IMU axes with body axes as nicely as possible, thus not requiring the calibration, as it is quite tedious to do the way it is implemented now even if the code would work properly.

So please feel free to fix that section and let me know if you come up with a better solution. For me the project is on-hold for the time being, and I most likely won't be able to work on this in a foreseeable future.

@Vincy-Ying
Copy link
Author

Vincy-Ying commented Sep 13, 2020

Hi Vincy-Ying, Thanks for pointing that out.
I agree, all the calculations in CalculateCalibrationTransform seem to be completely unnecessary. It's been a long time since I wrote that Code and I have to admit I didn't understand fully what I was doing. That whole calibration transform part seems really sketchy looking at it now and it may very well be that it doesn't work properly. When I used the system, I always tried to align IMU axes with body axes as nicely as possible, thus not requiring the calibration, as it is quite tedious to do the way it is implemented now even if the code would work properly.
So please feel free to fix that section and let me know if you come up with a better solution. For me the project is on-hold for the time being, and I most likely won't be able to work on this in a foreseeable future.

Thank you for your reply. I have tried to run the Bewegungsfelder.exe and loaded bvh file into it, the application always failed and exited. I donnot know the reason, can you help me with it? Do I need to load the bvh file recorded by your sensors, not any other bvh files?
Can you share any referenced materials or similar programs about how to construct the motion capture application? (Email: 2468258590@qq.com)
Looking forward to your reply,thanks!

@herzig
Copy link
Owner

herzig commented Sep 13, 2020

Yes, it should work with third-party bvh files, it's tested with a couple files I found online. If you can provide the file, I can try and have a look.

@Vincy-Ying
Copy link
Author

Yes, it should work with third-party bvh files, it's tested with a couple files I found online. If you can provide the file, I can try and have a look.

Thanks, I have sent email to you and the bvh file has been attached.

@herzig
Copy link
Owner

herzig commented Oct 9, 2020

Thanks, I have sent email to you and the bvh file has been attached.

Hi, sorry for not getting back to you earlier.I have not seen any BVH file in my emails.
If this is still an issue, can you attach it here or upload it somewhere else?

@Vincy-Ying
Copy link
Author

Vincy-Ying commented Oct 19, 2020 via email

@BestPolarBear
Copy link

@Vincy-Ying hello,我也在做动作捕捉,mpu6050+esp8266,在unity环境中,我已经给你发了邮件,遇到一些问题。方便时候交流一下。

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

3 participants