WPILibC++
2020.3.2
PWMTalonFX.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) 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
31
class
PWMTalonFX
:
public
PWMSpeedController
{
32
public
:
39
explicit
PWMTalonFX
(
int
channel);
40
41
PWMTalonFX
(
PWMTalonFX
&&) =
default
;
42
PWMTalonFX
& operator=(
PWMTalonFX
&&) =
default
;
43
};
44
45
}
// namespace frc
frc::PWMTalonFX
Cross the Road Electronics (CTRE) Talon FX Speed Controller with PWM control.
Definition:
PWMTalonFX.h:31
frc::PWMTalonFX::PWMTalonFX
PWMTalonFX(int channel)
Construct a Talon FX connected via PWM.
frc::PWMSpeedController
Common base class for all PWM Speed Controllers.
Definition:
PWMSpeedController.h:18
frc
A class that enforces constraints on the differential drive kinematics.
Definition:
SPIAccelerometerSim.h:16
wpilibc
src
main
native
include
frc
PWMTalonFX.h
Generated on Fri Feb 21 2020 08:50:36 for WPILibC++ by
1.8.16