9#include <units/angle.h>
10#include <units/angular_acceleration.h>
11#include <units/angular_velocity.h>
12#include <units/current.h>
13#include <units/dimensionless.h>
14#include <units/voltage.h>
19#define CTRE_PID_FF_UNIT_ADD(unit_name, output) \
20 using unit_name##_per_turn = units::compound_unit<output, units::inverse<units::turns>>; \
21 using unit_name##_per_turn_t = units::unit_t<unit_name##_per_turn>; \
22 using unit_name##_per_turn_second = units::compound_unit<output, units::inverse<units::compound_unit<units::turns, units::seconds>>>; \
23 using unit_name##_per_turn_second_t = units::unit_t<unit_name##_per_turn_second>; \
24 using unit_name##_per_turn_per_second = units::compound_unit<output, units::inverse<units::turns_per_second>>; \
25 using unit_name##_per_turn_per_second_t = units::unit_t<unit_name##_per_turn_per_second>; \
26 using unit_name##_per_turn_per_second_squared = units::compound_unit<output, units::inverse<units::turns_per_second_squared>>; \
27 using unit_name##_per_turn_per_second_squared_t = units::unit_t<unit_name##_per_turn_per_second_squared>;
Definition MotionMagicExpoTorqueCurrentFOC.hpp:18
#define CTRE_PID_FF_UNIT_ADD(unit_name, output)
Definition pid_ff.h:19