WPILibC++ 2023.4.3
Jaguar.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
8
9namespace frc {
10
11/**
12 * Luminary Micro / Vex Robotics Jaguar Motor %Controller with PWM control.
13 *
14 * Note that the Jaguar uses the following bounds for PWM values. These values
15 * should work reasonably well for most controllers, but if users experience
16 * issues such as asymmetric behavior around the deadband or inability to
17 * saturate the controller in either direction, calibration is recommended. The
18 * calibration procedure can be found in the Jaguar User Manual available from
19 * Vex.
20 *
21 * \li 2.310ms = full "forward"
22 * \li 1.550ms = the "high end" of the deadband range
23 * \li 1.507ms = center of the deadband range (off)
24 * \li 1.454ms = the "low end" of the deadband range
25 * \li 0.697ms = full "reverse"
26 */
27class Jaguar : public PWMMotorController {
28 public:
29 /**
30 * Constructor for a Jaguar connected via PWM.
31 *
32 * @param channel The PWM channel that the Jaguar is attached to. 0-9 are
33 * on-board, 10-19 are on the MXP port
34 */
35 explicit Jaguar(int channel);
36
37 Jaguar(Jaguar&&) = default;
38 Jaguar& operator=(Jaguar&&) = default;
39};
40
41} // namespace frc
Luminary Micro / Vex Robotics Jaguar Motor Controller with PWM control.
Definition: Jaguar.h:27
Jaguar & operator=(Jaguar &&)=default
Jaguar(int channel)
Constructor for a Jaguar connected via PWM.
Jaguar(Jaguar &&)=default
Common base class for all PWM Motor Controllers.
Definition: PWMMotorController.h:26
Definition: AprilTagFieldLayout.h:22