Перейти к содержимому

Reading Joysticks and Binding Triggers | FRC Programming

LearnFRC

0:00 / 0:00

Reading Joysticks and Binding Triggers | FRC Programming

4 просмотра · 5 дн. назад
LearnFRC
27 подписчиков
4 просмотра · 5 дн. назад
This lesson covers how your code reads the driver's controller, and how a button press becomes a command. This is where your code meets the drive team, so getting it right means the robot does what the driver expects. Read the full lesson and take the quiz on LearnFRC: https://learnfrc.com/guides/programming-so... Chapters 0:00 Intro 0:16 Controllers 0:59 Stick values 1:27 Reading raw input 2:09 What a Trigger is 2:31 Binding buttons 3:12 Binding methods 4:08 Beyond buttons 4:33 Declare, don't poll 5:01 Putting it together 5:30 Deadbands 5:50 Recap 6:23 Your turn This is lesson 12 of 51 in LearnFRC's Programming, Controls & Sensors course. Next up: CTRE Phoenix 6: Talon FX, Kraken X60/X44, and Falcon 500. This video was made with AI tools from the LearnFRC lesson, and the narration is an AI voice. Spot a mistake? Tell us on the lesson page. LearnFRC is an independent, free resource. It isn't affiliated with or endorsed by FIRST. #FRC #FIRSTRobotics #LearnFRC