Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SimulatorManager setWindSpeed interface not working #434

Open
brien-crean opened this issue Oct 17, 2024 · 5 comments
Open

SimulatorManager setWindSpeed interface not working #434

brien-crean opened this issue Oct 17, 2024 · 5 comments

Comments

@brien-crean
Copy link

I noticed that there is an undocumented setWindSpeed interface in the SimulatorManager class. However it does not appear to work.

Do I just need to set it once like this after initializing the Simulator? This would be extremely useful for simulation!

SimulatorManager.getInstance().enableSimulator(initSettings, object : CommonCallbacks.CompletionCallback {
  override fun onSuccess() {
    SimulatorManager.getInstance().setWindSpeed(SimulatorWindInfo(10, 3, 0))
  }

  override fun onFailure(error: IDJIError) {}
})
@dji-dev
Copy link
Contributor

dji-dev commented Oct 18, 2024

Agent comment from yating.liao in Zendesk ticket #119714:

The MSDK currently does not have the feature to set wind speed. Are you looking to test it on the Mini 3 series drones?

°°°

@brien-crean
Copy link
Author

@dji-dev thanks for the reply! Yes I am using a Mini 3 and a Mini 3 Pro. In the screenshot below you can see that there is an interface in the ISimulatorManager class to set the wind speed for the simulator. I'm currently running SDK version 5.11.0-a1. Is it possible to use this to simulate wind?

Screenshot 2024-10-18 at 10 25 30 AM

Decompiled Class
Screenshot 2024-10-18 at 10 26 54 AM

@dji-dev
Copy link
Contributor

dji-dev commented Oct 21, 2024

Agent comment from yating.liao in Zendesk ticket #119714:

The current version is unable to simulate wind speed. The interface you see does exist, but it is actually non-functional.

°°°

@brien-crean
Copy link
Author

@dji-dev thanks for letting me know! Is it possible to make it functional in a future version of SDK5? It would be extremely useful for simulation testing before real flight!

@dji-dev
Copy link
Contributor

dji-dev commented Oct 22, 2024

Agent comment from yating.liao in Zendesk ticket #119714:

I will forward your request to the team. However, there likely won't be a version that simulates wind speed released in the near future. I hope you can understand.

°°°

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants