Matrixchung / EDAutopilot-v2

An autopilot bot for Elite: Dangerous based on computer vision
MIT License
49 stars 12 forks source link

Align just working with Python ship? #21

Open DLAcoding opened 2 years ago

DLAcoding commented 2 years ago

I am testing your game api with an Aliance Chieftain but when doing the aling it goes crazy as it moves more faster than a Python. How could I adjust the function so it moves slower? I was messing with the KEY_DEFAULT_DELAY value to make the key hold shorter but keeps skiping the center

Matrixchung commented 2 years ago

See if lower the ALIGN_KEY_DELAY works? Havent tested in smaller ship, so what you say might be a problem.

DLAcoding commented 2 years ago

That made little improvement but at least I didn't get it working yet. Also tried modifiying ALIGN_TRIMM_DELAY

Matrixchung commented 2 years ago

The align() in ScriptSession is what you looking for. But it doesnt make sense if stuffs still get crazy since you have already lowered the align key delay.

DLAcoding commented 2 years ago

Finally I was able to make it work, but not as smooth as with your python config.  Apparently I was also having some light issues that were interfering with the aling function, making it sometimes lossing the nav centerEl 29 may. 2022 17:32, "Matr1x." @.***> escribió: The align() in ScriptSession is what you looking for. But it doesnt make sense if stuffs still get crazy since you have already lowered the align key delay.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Matrixchung commented 2 years ago

I'm currently working on implementing a complex navigation assist and PIP controller to ScriptSession, remaking the loading method of templates, improving image recognition, providing capability to multi-resolution and so on. Since now the early v2 version is under heavy development and reconstructure (and API is changeable), you can expect more functions on the formal release of EDAutopilot v2.