WPILibC++  2020.2.2-33-g65eab93
Talon.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #pragma once
9 
10 #include "frc/PWMSpeedController.h"
11 
12 namespace frc {
13 
30 class Talon : public PWMSpeedController {
31  public:
38  explicit Talon(int channel);
39 
40  Talon(Talon&&) = default;
41  Talon& operator=(Talon&&) = default;
42 };
43 
44 } // namespace frc
frc::PWMSpeedController
Common base class for all PWM Speed Controllers.
Definition: PWMSpeedController.h:18
frc::Talon::Talon
Talon(int channel)
Constructor for a Talon (original or Talon SR).
frc::Talon
Cross the Road Electronics (CTRE) Talon and Talon SR Speed Controller.
Definition: Talon.h:30
frc
WPILib FRC namespace.
Definition: AnalogOutSim.h:16