Hi ,
Here's some updates and news from FIRST® Tech Challenge.
In this week's blast:
📱 Tech Tip of the Week - Gamepad Calibration
👩🏫 FIRST® Certified Professional Development
Tech Tip of the Week
Over the past couple weeks we’ve received a number of questions regarding gamepad calibration, both at FIRST and at REV Robotics, though question submitters had no idea that gamepad calibration was the issue - so let’s cover the topic!
How does a joystick know where “center” is on a gamepad? On virtually all gamepads the analog joysticks have an electrical device (usually a potentiometer) that electrically measures the motion of the stick. If the electrical device’s value at “center” does not coincide with the value the gamepad thinks should be center, the stick will have a non-zero value at its center position; this is called drift. In a video game, drift is what causes your character to walk left (or right, etc) even though you’re not moving the joystick. For a robot, this can cause ghost turning or unwanted motor or servo motion. So how is this “center” value determined?
Some gamepads, like the Sony DualSense (PS5) gamepads, internally store the value of the resistive device at its “center” position so that it knows what value is considered “center” regardless of how the stick is oriented when powered on. In order to make the gamepad reset that value, there is a small hole on the underside of the gamepad hiding a reset button, which can be used to reset the controller and account for the drift. Other gamepads, like the Logitech F310 gamepads, simply read the value of the analog joystick when it’s first powered on and assumes the sticks are always “centered” at that time. If the analog stick is NOT centered when powered on, for example if it’s upside down or resting against something that is deflecting the analog stick, the “center” value will include some amount of drift. In order to correct this, ensure the gamepad analog sticks are centered and simply unplug and reinsert the joystick's USB connector into the Driver Station Device. When reinserted, the gamepad will again read the current analog stick value as “center” and correct the drift.
FIRST® Certified Professional Development
Sign up for one of our upcoming professional development sessions and grow your knowledge and skills by practicing student elements of the FIRST® Tech Challenge program. Register for a session or view the full schedule for upcoming dates listed through October 2024. If you have questions, email firsteducation@firstinspires.org.
Upcoming In-Person Two-Day Professional Development
April 15 - 16 | George R Brown Convention Center | Houston, Texas
June 12 - 13 | Forest Lake Academy | Orlando, Florida
July 31 - August 1 | Davis Middle School | Compton, California
August 26 - 27 | NASA STENNIS | Stennis, Mississippi
September 16 - 17 | FIRST Headquarters | Manchester, New Hampshire
FIRST Tech Challenge Academy
By the end of your five-day, 40-hour learning experience, you'll have a deep understanding of a FIRST Tech Challenge season and how to implement the program. Read the FIRST Tech Challenge Academy course description.
Upcoming In-person Academy Professional Development
June 10 - 14 | Forest Lake Academy | Orlando, Florida
July 29 - August 2 | Davis Middle School | Compton, California
Remote dates can be found on our FIRST Professional Development page.