GithubHelp home page GithubHelp logo

Comments (8)

muzhizhao avatar muzhizhao commented on May 24, 2024 2

Thanks, I will try it

from dogfight-sandbox-hg2.

ErkMkd avatar ErkMkd commented on May 24, 2024

Hi, the IA is very basic. When you have IA vs IA, the same algorithm flies both planes. The two planes try to go towards the enemy, and enter a loop: they turn. I haven't fixed this case yet, I need to add a support for this case.

from dogfight-sandbox-hg2.

muzhizhao avatar muzhizhao commented on May 24, 2024

Because the enemy aircraft has IA on and the Allies do not have IA on and are using reinforcement learning algorithms, what should I do to get the aircraft to fire in network mode, e.g. fire missiles when locked on enemy aircraft, fire, etc?

from dogfight-sandbox-hg2.

ErkMkd avatar ErkMkd commented on May 24, 2024

There is a "fire_missile" function in network mode:
https://github.com/harfang3d/dogfight-sandbox-hg2/blob/main/network_client_example/dogfight_client.py#L120

from dogfight-sandbox-hg2.

muzhizhao avatar muzhizhao commented on May 24, 2024

What should I do if I want to shoot with a gun?

from dogfight-sandbox-hg2.

ErkMkd avatar ErkMkd commented on May 24, 2024

You have the function activate / deactivate_machinegun:
https://github.com/harfang3d/dogfight-sandbox-hg2/blob/main/network_client_example/dogfight_client.py#L158

from dogfight-sandbox-hg2.

muzhizhao avatar muzhizhao commented on May 24, 2024

Thank you, I will try it again

from dogfight-sandbox-hg2.

muzhizhao avatar muzhizhao commented on May 24, 2024

Hi,
I am working on a reinforcement learning project using the Harfang platform and I would like to ask how to enable multiple dogfight-sandboxes in network mode to achieve parallel training?

from dogfight-sandbox-hg2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.