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

FreeD Protocol support..? #3

Open
arjun-k-r opened this issue Oct 24, 2021 · 13 comments
Open

FreeD Protocol support..? #3

arjun-k-r opened this issue Oct 24, 2021 · 13 comments

Comments

@arjun-k-r
Copy link

arjun-k-r commented Oct 24, 2021

@bjarque , can we modify tracker.py so that it can broadcast data as per FreeD Protocol, so that we can add tracker in UE using Live Link Freed Source without enhanced plugin.

FYI.. Description of the FreeD protocol
http://docs.vizrt.com/tracking-hub-guide/1.0/description_of_the_freed_protocol.html
https://docs.unrealengine.com/4.27/en-US/AnimatingObjects/SkeletalMeshAnimation/LiveLinkPlugin/LiveLinkFreeD/

Awaiting for your reply, Thanks.

@arjun-k-r arjun-k-r changed the title FreeD Protocol support FreeD Protocol support..? Oct 24, 2021
@bjarque
Copy link
Owner

bjarque commented Oct 24, 2021

Thanks, ill look into it. Would make good sense

@bjarque
Copy link
Owner

bjarque commented Oct 25, 2021

Ok looked into it, and got FreeD protocol working sort of, but the issue with that protocol, is that it sends euler angles(Yaw/pitch/roll), which is prone to gimbal lock. That gives issues sometimes where the rotations aren't correct. It would require a blueprint or other custom code into the project, and then its a question about what "external" stuff we want for this to work. A plugin, or a blueprint with a custom workflow for Livelink?
The good thing about the enhanced plugin is that it already takes rotational parameters as Quaternions, which isn't susceptible to gimbal lock.

@arjun-k-r
Copy link
Author

@bjarque , can you please upload the FreedD Protocol working code , wanted to look into it and will see what best can be done with it.

@bjarque
Copy link
Owner

bjarque commented Oct 26, 2021

Sure, you can try, made a freed branch of this repo

@idoment
Copy link

idoment commented Nov 15, 2021

@bjarque , hi i am working same kind of , but using Pi-IMU 6050 6dof python instead of RealSense hardware . Your help is required in converting imu data to FreeD.

https://github.com/idoment/Pi-IMU-data-to-Freed ( mygithub link )

Thanks -

@bjarque
Copy link
Owner

bjarque commented Nov 19, 2021

Funny, i actually did that over a year ago, but I think I came to the conclusion that I needed the magnetometer as well for correct tracking, so i bought an MCU9250, which I didn't really get to test. Maybe ill get time to look at it later this year. Now i want to finish the apriltags zero point and ndisplay compability first. You can see how you make FreeD data and how to send it on the branch of this repo

@prasith77
Copy link

@bjarque hopefully you can release Free-D version.

@bjarque
Copy link
Owner

bjarque commented Jul 13, 2022

Did you see the freeD branch of this https://github.com/bjarque/t265_UE/blob/freed/README.md

@prasith77
Copy link

I just saw. sorry I came here by a direct link from google search so I didn't see the freeD branch. I will try to use it with VIZRT engine when I receive my T265. Thank you very much.

@prasith77
Copy link

@bjarque May you help me.
Everything works just fine in UE5 both JSON and Free-D. But Free-D is not work in VIZRT, I got this Error message "Error Checksum of the data is wrong! Packages timing instable!"

@bjarque
Copy link
Owner

bjarque commented Jul 20, 2022

I don’t have access to a viz system, but maybe there’s an error in calculating the checksum. I can’t test my fix until in a few weeks since I’m travelling…

@prasith77
Copy link

Thank you for prompted reply. Have a nice trip.

@bjarque
Copy link
Owner

bjarque commented Oct 11, 2022 via email

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

4 participants