Author Topic: Spinner AI Query  (Read 1023 times)

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Spinner AI Query
« on: October 28, 2014, 04:12:31 PM »
When AI-ing a robot as Spinner.py or DirectionalSpinner.py is there a way to permanently keep the weapon spinning like it does when player controlled, instead of it turning on and off rapidly?

Edit: VertSpinner.py is permanently on, could I use part of that code?

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Spinner AI Query
« Reply #1 on: October 28, 2014, 05:05:27 PM »
What is the "range" value set to?  If it's 99 the spinner should never stop

Offline Jaydee99

  • Waltuhweight
  • *
  • Posts: 1939
  • Rep: -23
  • :/
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Spinner AI Query
« Reply #2 on: October 28, 2014, 05:08:29 PM »
I put the control for the spinner as a toggle. Never stops for me. However, Sonny may be right.

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Spinner AI Query
« Reply #3 on: October 28, 2014, 05:19:33 PM »
No I mean the motor turns on and off and on and off really quickly instead of staying on. Listen to the sound it makes.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: Spinner AI Query
« Reply #4 on: October 28, 2014, 05:38:40 PM »
Is the spinner wired to a switch? it needs to be wired to a button

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Spinner AI Query
« Reply #5 on: October 29, 2014, 03:25:24 PM »
it needs to be wired to a button
thank you based squeak

Offline Shield

  • The question isn't who will let me.
  • Ultra Heavyweight
  • Posts: 2196
  • Rep: 8
  • It's who will stop me.
    • View Profile
    • Awards
Re: Spinner AI Query
« Reply #6 on: October 29, 2014, 06:43:32 PM »
I put the control for the spinner as a toggle. Never stops for me. However, Sonny may be right.

Fun fact: wiring the spinner to a button makes the motor spin faster
beep beep

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Spinner AI Query
« Reply #7 on: October 30, 2014, 04:26:30 AM »
wow people are still wiring spinners using switches instead of buttons ?