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 implement sending external pose info into estimators? #1

Open
HaoChen1016 opened this issue Jun 15, 2021 · 5 comments
Open

How to implement sending external pose info into estimators? #1

HaoChen1016 opened this issue Jun 15, 2021 · 5 comments

Comments

@HaoChen1016
Copy link

Hi,

Thanks for sharing your code and glad to see this project works. I have looked through your code and haven't found which part is about sending external pose(from optitrack) to the EKF estimator. Could you give some hints?Thanks

@AliGriv
Copy link
Owner

AliGriv commented Jul 12, 2021

Sorry for the late reply. I just added a file named Main_Kalman.py. I hope it helps.

@HaoChen1016
Copy link
Author

Thank you for your reply and it's really helpful. When I use Optitrack Natnet SDK python sample to receive the pose information, if I set the frequency of data-streaming in Motive to 30Hz, the crazyflie2.1 fly well. However, if I change the frequency of data-streaming in Motive to 100Hz, the crazyflie 2.1 will become unstable. Have you faced the same issue?

@AliGriv
Copy link
Owner

AliGriv commented Jul 20, 2021

You are welcome. I have been using with the default frequency and have never changed it, and it works pretty well. I think the rate is 120 Hz, and it has never become unstable like what is happening in your case.

@HaoChen1016
Copy link
Author

Thanks for reply. Could I know what kind of version of Motive do you use? Also, do you use a virtual machine to run the code?

@AliGriv
Copy link
Owner

AliGriv commented Jul 22, 2021

Motive version: 1.9.0
No virtual machine is used.

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

2 participants