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
[Question] RCGps frequency #31
Comments
Most of the callbacks are triggered when information changes and not by time. The only callback I am aware of is updateSystemStateCallback (which happens every 100ms). As for the RCGpsDataUpdateCallback, what aircraft are you testing with? The callback is only used for RC controllers that have GPS modules; I think only the Inspire and likely the Matrice units have them. None of the Phantom model’s RC units have GPS and will return 0. From: Andre Nguyen [mailto:notifications@github.com] Hi, after testing DJIRemoteController.RCGpsDataUpdateCallback I noticed that the update frequency varies a lot, sometimes even with 9 satellites it took a few seconds for the callback to be triggered, at its worst it took 20 seconds between two calls. Question: What is the criterion for the RCGps callback to be triggered, is it when there is significant motion? I also noticed that speed east and speed north was 0 while I was walking around. Do I need to move faster? Thanks, — |
I'm testing with the m100. The callback works and I get non-zero data for the data fields other than speed. I'm mostly trying to get a better understanding of what performance I can expect. |
I haven’t seen documentation at that level; you will need DJI people to answer that part. From: Andre Nguyen [mailto:notifications@github.com] I'm testing with the m100. The callback works and I get data. I'm mostly trying to get a better understanding of what performance I can expect. — |
@SilverChangjian any ideas? |
Hi thanks for your reporting. For all of the callbacks in the SDK, they will be fired only when the data they listened is changed. We will investigate the speed value as you mentioned. Will provide result when we get the result. |
Thanks, for the speed being 0 it might just be that I wasn't walking fast enough. Does the RC GPS calculate speed through differentiation or through doppler effect? |
Hi,
after testing DJIRemoteController.RCGpsDataUpdateCallback I noticed that the update frequency varies a lot, sometimes even with 9 satellites it took a few seconds for the callback to be triggered, at its worst it took 20 seconds between two calls.
Question: What is the criterion for the RCGps callback to be triggered, is it when there is significant motion? I also noticed that speed east and speed north was 0 while I was walking around. Do I need to move faster?
Thanks,
The text was updated successfully, but these errors were encountered: