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

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #340 on: January 17, 2010, 03:29:25 PM »
During startup.

No warning at all.
Put this onto your signature if you were part of this crappy fad in '03.

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #341 on: January 17, 2010, 03:30:08 PM »
Post the bindings 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 somestrangeguy

  • *
  • Posts: 2068
  • Rep: 2
  • If you can read this, your monitor is turned on.
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #342 on: January 17, 2010, 03:32:15 PM »
You might have a false index number in teams.txt

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #343 on: January 17, 2010, 04:12:55 PM »
didn't even mouse over the teams TXT

Put this onto your signature if you were part of this crappy fad in '03.

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #344 on: January 17, 2010, 04:13:26 PM »
I see. Post the bindings anyway.
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 System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #345 on: January 17, 2010, 06:07:24 PM »
    list.append( ("Locktite","Poker",{'nose':math.pi\2,'topspeed':12.0,'throttle':110,'turn':80,'turnspeed':4.5,'weapons':(1,)}))
    list.append( ("Snow plow", "Rammer",{'nose':math.pi,'topspeed':20.0,'throttle':140,'turnspeed':6.0,'weapons':(1,)}))
    list.append( ("EMERGANCY 2", "Spinner", {'radius':0.4,'topspeed':20.0,'throttle':110,'weapons':(1,)}))

(Sparky...)
Put this onto your signature if you were part of this crappy fad in '03.

Offline Madiaba

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #346 on: January 17, 2010, 07:53:06 PM »
    list.append( ("Locktite","Poker",{'nose':math.pi\2,'topspeed':12.0,'throttle':110,'turn':80,'turnspeed':4.5,'weapons':(1,)}))
    list.append( ("Snow plow", "Rammer",{'nose':math.pi,'topspeed':20.0,'throttle':140,'turnspeed':6.0,'weapons':(1,)}))
    list.append( ("EMERGANCY 2", "Spinner", {'radius':0.4,'topspeed':20.0,'throttle':110,'weapons':(1,)}))

In this coding there's '\' that should be '/'. 
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #347 on: January 19, 2010, 02:37:26 AM »
Topspeed @ 20?!?! :O

Just put it at 99, even if it can't reach it, it can still run as fast as it could. :P
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #348 on: January 19, 2010, 02:52:48 AM »
reminds me of some of the stock AI going slow despite having fast drive

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #349 on: January 26, 2010, 12:08:24 PM »
I was AI'ing a bot with LaserGuidedV3 but whenever I test it, the servo spins away from the bot

Here's the bot:

And bindings:
Code: [Select]
    list.append(("Sowobot","LaserGuidedV3",{'servonose':-1,'range':80,'radius':1,'servospeed':60,'topspeed':99,'mayFire':True,'throttle':130,'weapons':(20,21,22,23)}))
I have also tried servonose:1, nothing really changes.

Help would be appreciated.
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 Reier

  • Rieir
  • *
  • Posts: 8569
  • Rep: 8
  • I GOT 3RD IN RAW1
    • https://www.youtube.com/c
  • Awards old BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #350 on: January 26, 2010, 05:23:51 PM »
I'm no expert...but maybe wire it the other way?
ALERT- Another WS coming up...
voted best bot builder two times and counting babayy. the best ra2 builder who has never won an actual tournament match
ReiAI pack for Ironforge
My drawings, and my webcomics
Why online PVP will save RA2
The problem with competitive IRL in RA2
I'm fine with hugging reier

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #351 on: January 27, 2010, 12:12:31 AM »
What do you mean? The servo?
Edit: I tried that and it still doesn't work.
« Last Edit: January 27, 2010, 12:46:31 AM by G.K. »
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 Madiaba

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #352 on: January 27, 2010, 06:33:23 AM »
SOW, cool.
Gk, the servos in stock and DSL actually point in start (default) at 3.14 radians from each other(they all points the opposite directions).

So that may be the issue, on your SOW bot..

Send me your Bot, AI.py and Bindings line, and I'll look it through...
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #353 on: January 27, 2010, 11:37:32 AM »
Thanks Mad. I'll do that.
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 philetbabe

  • *
  • Posts: 497
  • Rep: 2
  • Drop D
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #354 on: January 27, 2010, 12:38:50 PM »
I was AI'ing a bot with LaserGuidedV3 but whenever I test it, the servo spins away from the bot

Here's the bot:

And bindings:
Code: [Select]
    list.append(("Sowobot","LaserGuidedV3",{'servonose':-1,'range':80,'radius':1,'servospeed':60,'topspeed':99,'mayFire':True,'throttle':130,'weapons':(20,21,22,23)}))
I have also tried servonose:1, nothing really changes.

Help would be appreciated.

you may try with 'servonose':-0.5 or 0.5
another problem may be due to the fact that servo motor are very weak : they cannot support heavy weight and are quickly unable to move. Use the 'biggest' servo available.

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #355 on: January 27, 2010, 12:41:14 PM »
I'll try that, thanks Phil. It is using the largest Servo I can use.
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 G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #356 on: January 27, 2010, 01:10:31 PM »
DP. Unfortunately with both numbers it still rotates the piston away from the opposing bot.
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, R+D, and help)
« Reply #357 on: January 27, 2010, 01:11:42 PM »
Could you rotate the component attached 180degrees?
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: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #358 on: January 27, 2010, 01:12:34 PM »
I don't see how that would help.
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 philetbabe

  • *
  • Posts: 497
  • Rep: 2
  • Drop D
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #359 on: January 27, 2010, 01:34:50 PM »
you've got another parameter called delta; it is used to say that an angle is corerct even if does not really aim the good direction.
the higher, the more tolerance

here are sample use of delta :
Code: [Select]
   Line 973:     list.append( ("head on", "LaserGuidedV3",{ 'servonose':1, 'range':80, 'radius':2.5, 'servorange':2.8,'delta':0.25, 'servospeed':50, 'topspeed':99, 'mayFire':True, 'throttle':130,'weapons':(1,2,3,4,5,6,7,8,9)}))
   Line 974:     list.append( ("BJM servo", "LaserGuidedV3",{ 'nose':math.pi,'range':80, 'radius':3, 'servorange':2,'servonose':-1,'delta':0.15, 'servospeed':60, 'topspeed':99, 'mayFire':False, 'throttle':130,'weapons':(1,2,3,4,5,6,7,8,9)}))