Few things I've been wondering.- Is there an AI file that uses drive for a srimech? I've tried just wiring the drive as "Srimech", but once the bot is upright, it's drive stays stuck as if it were still upside-down. Somewhat. BountyHunter.py combines driving and fires whatever weapon (typically popup) to self-right. Probably the closest thing you might get.- Is there an AI that uses smartzones to spin a weapon motor? I believe EcoOmni does this, and it saves battery life.- Is InvertOmni.py the AI that flips the robot, then fights? If so, is there a specific way to wire it? Yep, and the I believe the button for the inverter needs to wired as "Invert."
- Is InvertOmni.py the AI that flips the robot, then fights? If so, is there a specific way to wire it?
#Set variable 'RunUpsideDown' to 1 for bots that flip over at the beginning of the match and fight upside down. Such bots must be invertible as well.# UPDATE 7/4/11: Added support for upside down bots, conditional invertibility, and made AI fire srimech if the bot is stuck on its rear.
I'm trying to AI an SnS, but I want it to spin in the opposite direction from normally. What portion of the AI line in FBSPlus.py or FBSInvertDir.py determines the direction of the spin?
I need a different AI for one of the robots for Pot Luck 2 (Guess which). What I need is other.py (Littlemetalfriend) but for it to raise a linear actuator up to its max when nothing is in the smartzone.Any ideas?
def Tick(self): targets = [x for x in self.sensors.itervalues() if x.contacts > 0] if len(targets) > 0: # TODO: squeeze and push? or whip? self.Input("Lefthook", 0, -100) self.Input("Righthook", 0, -100) else: # TODO: open arms back up? self.Input("Lefthook", 0, 0) self.Input("Righthook", 0, 0) return AI.SuperAI.Tick(self)
def Tick(self): targets = [x for x in self.sensors.itervalues() if x.contacts > 0] if len(targets) > 0: #When stuff in smartzone. Push Kill trigger self.Input("Kill", 0, 1) else: #When smartzone empty, Fully raise lineal acutator self.Input("RaiseLinAcu", 0, 100) return AI.SuperAI.Tick(self)
Anyone know where I can find DirectionalSpinner.py?
IIRC, DirectionalSpinner is at the bottom of Spinner.py
Quote from: Lightning S. on November 14, 2015, 01:34:16 PMAnyone know where I can find DirectionalSpinner.py?Quote from: Trovaner on June 27, 2014, 12:28:11 PMIIRC, DirectionalSpinner is at the bottom of Spinner.py
also lol at most toxic guy around calling others out on this sh**
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything