Author Topic: AI-ing (.py files, coding, nose-orienting R+D, and help)  (Read 160720 times)

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #860 on: August 17, 2011, 03:18:21 PM »
I think you need a new python for this. I would go and take a look at SpinupOmni.py (Heaven's Windmill's .py file) if i were you Badnik.

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #861 on: August 17, 2011, 03:34:48 PM »
I think you need a new python [sic] for this. I would go and take a look at SpinupOmni.py (Heaven's Windmill's .py file) if i were you Badnik.

I think you need a new Python script for this.

Offline freeziez

  • Ultra Heavyweight
  • Posts: 4720
  • Rep: 2
  • He's Mr. White Christmas, he's Mr. Snow...
    • youtube.com/freeziezGTM
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #862 on: August 17, 2011, 03:38:40 PM »
Other.py (LittleMetalFriend) is the way to go.
obligatory battlebots 5 comment

GTM Awards 2011

Best Tournament: B4ttlebots (freeziez)
Best New Tournament Host: freeziez
Most Suprising Tournament: B4ttlebots (freeziez)

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #863 on: August 17, 2011, 03:45:28 PM »
Other.py (LittleMetalFriend) is the way to go.

Do you even know what are you talking about ? I don't think so. Lemme check...

*goes to see Other.py*

No you don't. Other.py activates two analog controls when the enemy bot is in a smartzone, and has an additional spin motor support.

*goes to see SpinupOmni.py*

And this one has a function you might be interested in Badnik. It's called getTimeElapsed. The whole py sends a null throttle value to the bot until a certain time is elapsed, and at that time the null value goes away, leaving place to normal driving. I bet you can mod the py a little so it gives negative throttle for a few seconds.


Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #864 on: August 17, 2011, 04:08:57 PM »
OK, I see this and I edited it. I'm going to try it out.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #865 on: August 17, 2011, 04:22:26 PM »
Believe it or not, it worked first try!

I dunno if it was the binding or the bot though. Gonna test it out.

edit: Yep, it's the binding! :D I think maybe SpinUpOmni itself would have worked though, and I didn't have to edit the .py. But IDC.

Offline freeziez

  • Ultra Heavyweight
  • Posts: 4720
  • Rep: 2
  • He's Mr. White Christmas, he's Mr. Snow...
    • youtube.com/freeziezGTM
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #866 on: August 17, 2011, 04:49:51 PM »
Other.py (LittleMetalFriend) is the way to go.

Do you even know what are you talking about ? I don't think so. Lemme check...

*goes to see Other.py*

No you don't. Other.py activates two analog controls when the enemy bot is in a smartzone, and has an additional spin motor support.

*goes to see SpinupOmni.py*

And this one has a function you might be interested in Badnik. It's called getTimeElapsed. The whole py sends a null throttle value to the bot until a certain time is elapsed, and at that time the null value goes away, leaving place to normal driving. I bet you can mod the py a little so it gives negative throttle for a few seconds.



Excuse me, but I used LittleMetalFriend in BB2, and it worked fine.


obligatory battlebots 5 comment

GTM Awards 2011

Best Tournament: B4ttlebots (freeziez)
Best New Tournament Host: freeziez
Most Suprising Tournament: B4ttlebots (freeziez)

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #867 on: August 17, 2011, 04:56:40 PM »
Yes, it worked for that bot, but not for the thing Badnik's trying to AI.
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 Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #868 on: August 17, 2011, 05:00:21 PM »
It works, everything is settled.

Offline freeziez

  • Ultra Heavyweight
  • Posts: 4720
  • Rep: 2
  • He's Mr. White Christmas, he's Mr. Snow...
    • youtube.com/freeziezGTM
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #869 on: August 17, 2011, 05:14:22 PM »
Yes, it worked for that bot, but not for the thing Badnik's trying to AI.

He's trying to AI the exact same bot. :P

But I'll stop complaining and eat my bacon.
obligatory battlebots 5 comment

GTM Awards 2011

Best Tournament: B4ttlebots (freeziez)
Best New Tournament Host: freeziez
Most Suprising Tournament: B4ttlebots (freeziez)

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #870 on: August 17, 2011, 05:17:46 PM »
No, I'm AIing another bot now, derp. I fixed the the clamper with Kheper.py

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #871 on: August 17, 2011, 05:33:36 PM »
Yes, it worked for that bot, but not for the thing Badnik's trying to AI.

He's trying to AI the exact same bot. :P

He isn't.
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 freeziez

  • Ultra Heavyweight
  • Posts: 4720
  • Rep: 2
  • He's Mr. White Christmas, he's Mr. Snow...
    • youtube.com/freeziezGTM
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #872 on: August 17, 2011, 05:36:42 PM »
sh**sh**sh**sh**

i really apologize.
obligatory battlebots 5 comment

GTM Awards 2011

Best Tournament: B4ttlebots (freeziez)
Best New Tournament Host: freeziez
Most Suprising Tournament: B4ttlebots (freeziez)

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #873 on: August 18, 2011, 10:53:25 AM »
Is there a spinner AI that could tell the bot to retreat when the motor stops spinning? Or even just a rammer AI with a spinning weapon?  It would really help thanks.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #874 on: August 18, 2011, 11:01:13 AM »
Try to hybrid it yourself.
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 Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #875 on: August 18, 2011, 11:01:50 AM »
I literally know nothing of what to do.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #876 on: August 18, 2011, 11:26:20 AM »
DP: Something weird happening. I just AI'd a spinner and it won't spin! The control is named"Spin", it's a button, it works under human control. The bot uses Spinner.py and has a ranfe of 99. Yet the weapon doesn't spin under AI. I must be missing something obvious here.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline Wolfsbane

  • Heavyweight
  • Posts: 583
  • Rep: -5
  • Pokemens.
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: suicideladder
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #877 on: August 20, 2011, 10:28:27 PM »
i ai-ed a pushy bot with a snowplow that fails. it's wired correctly, it faces the right way, but this is what it does.

it drives toward me, backs up, then drives staright into a corner. help?
Man this needed an update. Anyways, Your local autistic idiot signing out.

Offline Preytor_4

  • Ultra Heavyweight
  • Posts: 3089
  • Rep: 1
  • The estranged cousin of Click and FB.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #878 on: August 21, 2011, 12:40:45 AM »
Question: I AI-d a spinner and when it drives it turns left and right while moving forward. Any way to solve this?

Offline JoeBlo

Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #879 on: August 21, 2011, 01:13:15 AM »
Lower your turn speed, you probably have it too high..

What is it?