bewegungsfelder icon indicating copy to clipboard operation
bewegungsfelder copied to clipboard

How to calculate calibrationTransform?

Open Vincy-Ying opened this issue 4 years ago • 7 comments

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?

Vincy-Ying avatar Aug 08 '20 06:08 Vincy-Ying

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.

herzig avatar Aug 09 '20 16:08 herzig

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: [email protected]) Looking forward to your reply,thanks!

Vincy-Ying avatar Sep 13 '20 14:09 Vincy-Ying

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.

herzig avatar Sep 13 '20 15:09 herzig

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.

Vincy-Ying avatar Sep 14 '20 01:09 Vincy-Ying

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?

herzig avatar Oct 09 '20 09:10 herzig

Thank you for your reply. I has solved that issue. Is your research direction about wearable system or motion capture, there are some key points I want to discuss with you, thanks!

------------------ 原始邮件 ------------------ 发件人: "herzig/bewegungsfelder" <[email protected]>; 发送时间: 2020年10月9日(星期五) 下午5:01 收件人: "herzig/bewegungsfelder"<[email protected]>; 抄送: "是初"<[email protected]>;"Author"<[email protected]>; 主题: Re: [herzig/bewegungsfelder] How to calculate calibrationTransform? (#3)

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?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Vincy-Ying avatar Oct 19 '20 01:10 Vincy-Ying

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

BestPolarBear avatar Nov 30 '21 03:11 BestPolarBear