mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Changes TalonSRX to PWMTalonSRX in wpilibj and wpilibc. (#656)
Also brings the java kResourceType list up-to-date with the cpp list.
This commit is contained in:
committed by
Peter Johnson
parent
79919a5f1c
commit
ba3a85d0cc
@@ -14,10 +14,10 @@ namespace frc {
|
||||
/**
|
||||
* Cross the Road Electronics (CTRE) Talon SRX Speed Controller with PWM control
|
||||
*/
|
||||
class TalonSRX : public PWMSpeedController {
|
||||
class PWMTalonSRX : public PWMSpeedController {
|
||||
public:
|
||||
explicit TalonSRX(int channel);
|
||||
virtual ~TalonSRX() = default;
|
||||
explicit PWMTalonSRX(int channel);
|
||||
virtual ~PWMTalonSRX() = default;
|
||||
};
|
||||
|
||||
} // namespace frc
|
||||
@@ -61,6 +61,7 @@
|
||||
#include "PIDSource.h"
|
||||
#include "PWM.h"
|
||||
#include "PWMSpeedController.h"
|
||||
#include "PWMTalonSRX.h"
|
||||
#include "PowerDistributionPanel.h"
|
||||
#include "Preferences.h"
|
||||
#include "Relay.h"
|
||||
@@ -78,7 +79,6 @@
|
||||
#include "Spark.h"
|
||||
#include "SpeedController.h"
|
||||
#include "Talon.h"
|
||||
#include "TalonSRX.h"
|
||||
#include "Threads.h"
|
||||
#include "TimedRobot.h"
|
||||
#include "Timer.h"
|
||||
|
||||
Reference in New Issue
Block a user