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

Questions about Downwash #15

Closed
yuchen-x opened this issue Jan 4, 2021 · 2 comments
Closed

Questions about Downwash #15

yuchen-x opened this issue Jan 4, 2021 · 2 comments
Labels
question Further information is requested

Comments

@yuchen-x
Copy link

yuchen-x commented Jan 4, 2021

Hi,

I am not a low-level control guy, according to my understanding, the _downwash() in BaseAviary.py is for automatically avoiding potential collisions with other drones.

But, it seems only working for the drones flying at different height. For example, if I set the initial z=1 for both two drones in your examples/downwash.py, the two drones will collide or one of the drone suddenly going somewhere.

I was wondering:

  1. Is it possible to achieve the downwash when the drones flying at same height, and how?
  2. How to set the downwash distance?
  3. I modified the downwash.py to be with 3 drones (with initial z = [0.99, 0.999, 1.0] in the following video, I didn't get how the mechanism decides which drone to downwash, could you explain it to me? It seems not always the lower one to perform downwash, right?
    dw

Thank you!

@JacopoPan
Copy link
Member

Hi @yuchen-x,

I think you misunderstood the intent of _downwash(). It is not a potential-based collision avoidance approach.
It is a physical phenomenon leading to reduced lift in the turbulent air generated by 2 drones crossing paths at different heights.

If you are interest in creating a repulsive force field around a drone, you could still exploit PyBullet's applyExternalForce() method and the information about the drones' relative distances. However, it wound't be very realistic nor within the scope of this simulation (for quadcopters).

@JacopoPan JacopoPan added the question Further information is requested label Jan 5, 2021
@yuchen-x
Copy link
Author

yuchen-x commented Jan 5, 2021

I see,thank you very much for the quick reply and the explanation!

@yuchen-x yuchen-x closed this as completed Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants