CTRE Phoenix C++
5.33.1
MotorCommutation.h
Go to the documentation of this file.
1
/* Copyright (C) Cross The Road Electronics 2024 */
2
#pragma once
3
4
#include <string>
5
namespace
ctre
{
6
namespace
phoenix {
7
namespace
motorcontrol {
8
/**
9
* Choose the type of motor commutation. This is for products that support selectable commutation strategies.
10
*
11
* @deprecated This device's Phoenix 5 API is deprecated for removal in the
12
* 2025 season. Users should update to Phoenix 6 firmware and migrate to the
13
* Phoenix 6 API. A migration guide is available at
14
* https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.
15
*
16
* If the Phoenix 5 API must be used for this device, the device must have 22.X
17
* firmware. This firmware is available in Tuner X after selecting Phoenix 5 in
18
* the firmware year dropdown.
19
*/
20
enum class
MotorCommutation
{
21
Trapezoidal
= 0,
//!< Trapezoidal Commutation
22
};
23
}
// namespace motorcontrol
24
}
// namespace phoenix
25
}
// namespace ctre
ctre::phoenix::motorcontrol::MotorCommutation
MotorCommutation
Choose the type of motor commutation.
Definition:
MotorCommutation.h:20
ctre::phoenix::motorcontrol::MotorCommutation::Trapezoidal
@ Trapezoidal
Trapezoidal Commutation.
ctre
namespace ctre
Definition:
paramEnum.h:5
ctre
phoenix
motorcontrol
MotorCommutation.h
Generated on Fri Feb 16 2024 22:57:39 for CTRE Phoenix C++ by
1.9.4