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

Refuel not working correctly #20

Open
TekuSP opened this issue May 8, 2019 · 7 comments
Open

Refuel not working correctly #20

TekuSP opened this issue May 8, 2019 · 7 comments

Comments

@TekuSP
Copy link

TekuSP commented May 8, 2019

It did not even try to refuel, it just stopped, turned around ship and then located target.

@skai2
Copy link
Owner

skai2 commented May 8, 2019

Hey there, for me to be able to help you I'm going to need some more details about what happened. Also, please attach your autopilot.log.

@TekuSP
Copy link
Author

TekuSP commented May 22, 2019

@hbzxc
Copy link

hbzxc commented May 30, 2019

I thought I was having a similar issue with it skipping the refuel step. However it was working I just wasn't comfortable with how low it got before it triggered.

You can change the refuel threshold from 33% to 100% to check and see if its triggering.
That is located in the dev_autopilot.py and is part of the Refuel function.

If that still does not fix the issue check the star class. I think the refuel step only triggers when scoopable_stars = ['F', 'O', 'G', 'K', 'B', 'A', 'M']

@ScreaminSteve
Copy link

An easy thing to do for exploration would be to filter your route by the KGB-FOAM (scoopable star classes) at least that's what I did and it worked just fine, since then any star on the route would be scoopable.

@TekuSP
Copy link
Author

TekuSP commented Jun 3, 2019

No no, It was trying to refuel, but it did loop too soon. Not around star but before it. Not sure why.

@TekuSP
Copy link
Author

TekuSP commented Jun 3, 2019

Or is loop before star normal procedure before aligning to target?

@skai2
Copy link
Owner

skai2 commented Aug 14, 2019

Hey there, this project has been on a hiatus for a while so please forgive my late reply. The autopilot assumes fuel has been checked before it is started, so if you had low fuel and turned on the autopilot expecting it would try to refuel immediately, that is not the case. The procedure it follows is to only attempt refueling after a jump, and as @hbzxc stated, it will only refuel on scoopable stars, so the ideal is to set your route filter to said stars as recommended by @ScreaminSteve. I hope this answers your question.

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

No branches or pull requests

4 participants