WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
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// THIS FILE WAS AUTO-GENERATED BY ./wpilibc/generate_pwm_motor_controllers.py. DO NOT MODIFY
6
7#pragma once
8
10
11namespace frc {
12
13/**
14 * Luminary Micro / Vex Robotics Jaguar Motor Controller with PWM control.
15 *
16 * Note that the Jaguar uses the following bounds for PWM values. These
17 * values should work reasonably well for most controllers, but if users
18 * experience issues such as asymmetric behavior around the deadband or
19 * inability to saturate the controller in either direction, calibration is
20 * recommended. The calibration procedure can be found in the Jaguar User
21 * Manual available from Luminary Micro / Vex Robotics.
22 *
23 * \li 2.310ms = full "forward"
24 * \li 1.550ms = the "high end" of the deadband range
25 * \li 1.507ms = center of the deadband range (off)
26 * \li 1.454ms = the "low end" of the deadband range
27 * \li 0.697ms = full "reverse"
28 */
29class Jaguar : public PWMMotorController {
30 public:
31 /**
32 * Constructor for a Jaguar connected via PWM.
33 *
34 * @param channel The PWM channel that the Jaguar is attached to. 0-9 are
35 * on-board, 10-19 are on the MXP port
36 */
37 explicit Jaguar(int channel);
38
39 Jaguar(Jaguar&&) = default;
40 Jaguar& operator=(Jaguar&&) = default;
41};
42
43} // namespace frc
Luminary Micro / Vex Robotics Jaguar Motor Controller with PWM control.
Definition Jaguar.h:29
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:35
Definition CAN.h:11