90 likes | 186 Views
By: David Gitz, EE, Electrical/Programming Team Mentor FRC #1208. Input Methods. Audience:. Programming Team Members. Topics:. Joysticks Buttons/Switches Classmate. Joysticks. Axis’s are analog, buttons are digital Axis’s return a number from 0 to 255 (-1 to 1). Buttons/Switches.
E N D
By: David Gitz, EE, Electrical/Programming Team Mentor FRC #1208 Input Methods
Audience: • Programming Team Members
Topics: • Joysticks • Buttons/Switches • Classmate
Joysticks • Axis’s are analog, buttons are digital • Axis’s return a number from 0 to 255 (-1 to 1)
Buttons/Switches • Classmate Software has Buttons that can control Autonomous Mode and other things • Classmate Software Buttons are only read once it boots, so reading them continuously won’t do anything.
Classmate • 2 Accounts: Guest and Admin • Guest: Most common, when rebooted it will log into Guest automatically. Uses less system resources so this will run faster. • Admin: For developing LV Code and configuring network stuff
References • http://www.usfirst.org/roboticsprograms/frc/content.aspx?id=10934
Homework • 1. What are the range of values that LV will return from a Joystick Axis? • 2. Why is it irrelevant to read the Classmate Software Buttons continuously during a match? • 3. What account should the Classmate be logged in to if you want to develop LV Code?