Skip to content

rtr2421/EncoderTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EncoderTest

Very simple TimedRobot to test sensors on.

This was generated through the WPILib: Create a new project command in VSCode. All the smarts are in Robot.java.

Points of interest:

  • vendordeps/Phoenix.json brings in the third party dependencies for the SRX which are in the com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX package.
  • The robot just passes the position of the two joysticks straight to the differentialdrive.
  • Use the WPI_TalonSRX class to control a Talon. It implements SpeedController so can be used in a drive, and also inherits from TalonSRX so you get access to getSensorCollection

About

Very simple TimedRobot to test sensors on

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages