bombnomad.blogg.se

Frc wpilib smartdashboard
Frc wpilib smartdashboard












frc wpilib smartdashboard

GyroMecanum ( Java, C++): Demonstrates field-oriented control of a mecanum robot through the MecanumDrive class in conjunction with a gyro. Sensors may be present, but are not the emphasized concept of these examples.ĭifferentialDriveBot ( Java, C++): Demonstrates an advanced differential drive implementation, including encoder-and-gyro odometry through the DifferentialDriveOdometry class, and composition with PID velocity control through the DifferentialDriveKinematics and PIDController classes.ĮlevatorProfiledPID ( Java, C++): Demonstrates the use of the ProfiledPIDController class to control the position of an elevator mechanism.ĮlevatorTrapezoidProfile ( Java, C++): Demonstrates the use of the TrapezoidProfile class in conjunction with a “smart motor controller” to control the position of an elevator mechanism. These examples demonstrate WPILib implementations of common robot controls. TankDriveXboxController ( Java, C++): Demonstrates the same functionality seen in the previous example, except using an XboxController instead of an ordinary joystick. TankDrive ( Java): Demonstrates a simple differential drive implementation using “tank”-style controls through the DifferentialDrive class. Solenoid ( Java, C++): Demonstrates the use of the Solenoid and DoubleSolenoid classes to control solenoid outputs with a set of joystick buttons.

frc wpilib smartdashboard

Relay ( Java, C++): Demonstrates the use of the Relay class to control a relay output with a set of joystick buttons.

#FRC WPILIB SMARTDASHBOARD HOW TO#

QuickVision ( Java, C++): Demonstrates how to stream video from a USB camera to the dashboard. MotorControlEncoder ( Java, C++): Identical to the above example, except with the addition of an encoder to read the motor position. MotorControl ( Java, C++): Demonstrates how to control the output of a motor with a joystick. MecanumDrive ( Java, C++): Demonstrates a simple mecanum drive implementation using the MecanumDrive class. GettingStarted ( Java, C++): Demonstrates a simple autonomous routine that drives forwards for two seconds at half speed. They are useful for beginning teams who are gaining initial familiarity with robot programming, but are highly limited in functionality.ĪrcadeDrive ( Java, C++): Demonstrates a simple differential drive implementation using “arcade”-style controls through the DifferentialDrive class.ĪrcadeDriveXboxController ( Java, C++): Demonstrates the same functionality seen in the previous example, except using an XboxController instead of an ordinary joystick. These examples demonstrate basic/minimal robot functionality.














Frc wpilib smartdashboard