Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
dji_motor_aliases.hpp
Go to the documentation of this file.
1
#ifndef FANG_ROBOTICS_MCB_TRAP_DJI_MOTOR_ALIASES_HPP
2
#define FANG_ROBOTICS_MCB_TRAP_DJI_MOTOR_ALIASES_HPP
3
#include "
rail/motor/ioutput_motor.hpp
"
4
#include "
wrap/trap/algorithms/smooth_pid.hpp
"
5
#include "
wrap/units/units_alias.hpp
"
6
7
#include <cstdint>
8
9
namespace
trap
10
{
11
namespace
motor
12
{
13
using
DjiMotorOutput
= int16_t;
14
using
DjiSpeedPid
=
trap::algorithms::SmoothPid<RPM, DjiMotorOutput, Seconds>
;
15
using
DjiPositionPid
=
trap::algorithms::SmoothPid<Radians, DjiMotorOutput, Seconds>
;
16
using
IDjiOutputMotor
= rail::motor::IOutputMotor<DjiMotorOutput>;
17
}
//namespace motor
18
}
//namespace trap
19
#endif
trap::algorithms::SmoothPid< RPM, DjiMotorOutput, Seconds >
ioutput_motor.hpp
motor
Definition
brushlessutils.cpp:4
trap::motor::DjiMotorOutput
int16_t DjiMotorOutput
Definition
dji_motor_aliases.hpp:13
trap::motor::IDjiOutputMotor
rail::motor::IOutputMotor< DjiMotorOutput > IDjiOutputMotor
Definition
dji_motor_aliases.hpp:16
trap
Definition
dimensional_smooth_pid.hpp:8
smooth_pid.hpp
units_alias.hpp
fang-mcb-project
src
wrap
trap
motor
dji_motor_aliases.hpp
Generated by
1.9.8