gametechmods

Robot Arena => General Support => Topic started by: S.T.C. on July 15, 2015, 09:57:52 PM

Title: AI Question
Post by: S.T.C. on July 15, 2015, 09:57:52 PM
How do you AI a bot to drive backwards to self right? Like it drives backwards while firing the weapon and it self rights.
Title: Re: AI Question
Post by: RedAce on July 15, 2015, 10:03:07 PM
Try BountyHunter.py along with testing it's bot Bounty Hunter in BBEANS AI. I think that's what you are asking for.
Title: Re: AI Question
Post by: S.T.C. on July 15, 2015, 10:05:27 PM
Try BountyHunter.py along with testing it's bot Bounty Hunter in BBEANS AI. I think that's what you are asking for.
So it only works if you test the bot first?
Title: Re: AI Question
Post by: G.K. on July 15, 2015, 10:21:47 PM
I think he's just saying check out Bounty Hunter for how to wire it. But BountyHunter.py is the correct python here.
Title: Re: AI Question
Post by: S.T.C. on July 15, 2015, 10:30:44 PM
I think he's just saying check out Bounty Hunter for how to wire it. But BountyHunter.py is the correct python here.
I figured it out, had to add an extra control called "DriveBack" for it to drive backwards while inverted. Thanks for the help btw.
Title: Re: AI Question
Post by: Somebody on July 15, 2015, 10:33:59 PM
Another half-assed method I've used is to wire the drive motors to the srimech button as well.
Title: Re: AI Question
Post by: S.T.C. on July 15, 2015, 10:38:57 PM
Another half-assed method I've used is to wire the drive motors to the srimech button as well.
I've done that but, when it self-rights, it gets stuck driving forward. I kept changing the range and it still drives straight after righting itself.
Title: Re: AI Question
Post by: Somebody on July 15, 2015, 10:51:45 PM
Another half-assed method I've used is to wire the drive motors to the srimech button as well.
I've done that but, when it self-rights, it gets stuck driving forward. I kept changing the range and it still drives straight after righting itself.

Hmm, weird. Glad you found a solution though!
Title: Re: AI Question
Post by: Squirrel_Monkey on July 16, 2015, 04:34:06 AM
Wow, sorry STC. Didn't realise my bot would cause issues like that.
Title: Re: AI Question
Post by: S.T.C. on July 16, 2015, 09:12:30 AM
Wow, sorry STC. Didn't realise my bot would cause issues like that.
Its no big deal, all is working good now with BountyHunter.