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

Decide the ideal configuration for the vehicle #9

Open
Diapolo10 opened this issue Apr 4, 2022 · 9 comments
Open

Decide the ideal configuration for the vehicle #9

Diapolo10 opened this issue Apr 4, 2022 · 9 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Diapolo10
Copy link
Owner

The config file has a lot of parameters that could be adjusted, the current ones are more like placeholders. Someone should play around with the values until a combination is found that would enable "natural"-looking driving while not making the track impossible.

This should be done before the neural network training process begins.

@Diapolo10 Diapolo10 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Apr 4, 2022
@kearkyle
Copy link
Contributor

kearkyle commented Apr 5, 2022

Hi @Diapolo10, can I get assigned for this issue ?

@Diapolo10
Copy link
Owner Author

Hi @Diapolo10, can I get assigned for this issue ?

So, here's the thing; this is kind of supposed to be a team project for one of my university courses - I just made it public so that I don't have to separately invite everyone as I saw no value in keeping the project private anyway. I don't mind if you want to help, but the majority of the work will likely be done by my team members.

I'll assign you because I see no harm in doing it, but you choose for yourself if you want to help or not.

@kearkyle
Copy link
Contributor

kearkyle commented Apr 6, 2022

Thanks for letting me know, since it's a school project I don't want to affect your grades or anything, I'll just work on this issue if that's ok with you or if you guys are working on this issue yourselves then please let me know.

@Diapolo10
Copy link
Owner Author

Thanks for letting me know, since it's a school project I don't want to affect your grades or anything, I'll just work on this issue if that's ok with you or if you guys are working on this issue yourselves then please let me know.

Honestly I don't think our grades are really an issue, the one in charge is pretty lenient, so don't worry about that. You could say that my main concern is that the team is fairly small (two people right now, we may get a third) and I would like to see everyone have something to do. Personally I've been doing most of the heavy lifting.

@kearkyle
Copy link
Contributor

kearkyle commented Apr 7, 2022

So I did multiple attempts and this is what I changed to make it move more natural. I only changed the configs under #Game, the bottom configs are intended for the AI is that correct? When I open the game there's only 1 red car, so am I missing anything? Is there like a button to start the game or something or this is all we have so far?
Here's the changes I did: kearkyle@19a6171

@Diapolo10
Copy link
Owner Author

the bottom configs are intended for the AI is that correct?

Yes, that's correct. Well, more accurately they're placeholders from another project and may end up going even entirely unused, but that's my problem. :p

When I open the game there's only 1 red car, so am I missing anything?

No, I've focused on debugging the vision system so I haven't put forth much effort to set the simulation up for multiple agents yet. Though there is an issue set up for that feature.

Is there like a button to start the game or something or this is all we have so far?

I saw no value in adding anything like that, because this isn't something intended to be played by a human. The "game" exists as a simulation for the neural network to learn how to navigate it while accumulating rewards, with the end goal of having it try and race across the track as quickly as it can.

This project is fairly simple in that I don't currently care about overfitting the neural net, as the scope isn't large enough to implement multiple randomised tracks at this point. That could be a future feature if we decide to continue this on some other course, or on our free time, but right now the main goal is to just have something that works.

Here's the changes I did: kearkyle@19a6171

I'll look at those changes in more detail this weekend, though at first glance I'm a bit sceptical about changing the sprite scaling right now.

Diapolo10 added a commit that referenced this issue Apr 9, 2022
[PATCH] #9 Changes to config file to make car move more naturally
@kearkyle
Copy link
Contributor

kearkyle commented Apr 9, 2022

My bad with the sprite scaling, if you want I can do tests on the original size or adjust it to your preferences. Also for the multiplayer issue is your team working on it? I can give it a try if you want.

@Diapolo10
Copy link
Owner Author

My bad with the sprite scaling, if you want I can do tests on the original size or adjust it to your preferences.

It's fine, I approved it and already made and merged a pull request from your fork. Thanks btw.

Also for the multiplayer issue is your team working on it? I can give it a try if you want.

I just assigned my partner to work on a small part of it (the issue I linked above), but I came to realise that actually letting multiple agents to control vehicles means an extra step is needed; something to bypass the keyboard key requirement and instead pass "button presses" directly. Since I just thought of that I haven't even written an additional issue yet, but that one is probably going to be more difficult.

If you want, you can go to the other thread and discuss the current issue with my partner. We don't have any set schedules for working on this, only a deadline.

That said I don't think "multiplayer" is the right word for it considering this is basically going to be a neural net boot camp and none of the individual agents can affect each other. Plus it's kind of just a "nice to have" feature that would speed up teaching the network.

@Diapolo10
Copy link
Owner Author

Oh, and I didn't close this issue yet because I'm not sure if this is the best configuration yet. Though I do think it beats the previous one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants