Author Topic: AI Question  (Read 1638 times)

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
AI Question
« 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.



Offline RedAce

  • Host of The Award Winning Deathmatch Series
  • *
  • Posts: 3964
  • Rep: 21
  • Yep, I'm that RedAce guy.
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: redaceofsp4des
  • Discord: ThatRedAceGuy#3618
Re: AI Question
« Reply #1 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.

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Question
« Reply #2 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?



Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI Question
« Reply #3 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.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Question
« Reply #4 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.



Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
Re: AI Question
« Reply #5 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.
I built that big robot on that TV show that time


Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Question
« Reply #6 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.



Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
Re: AI Question
« Reply #7 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!
I built that big robot on that TV show that time


Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7582
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: AI Question
« Reply #8 on: July 16, 2015, 04:34:06 AM »
Wow, sorry STC. Didn't realise my bot would cause issues like that.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Question
« Reply #9 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.