Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
feeder_config.hpp
Go to the documentation of this file.
1#ifndef FANG_ROBOTICS_MCB_FEEDER_CONFIG_HPP
2#define FANG_ROBOTICS_MCB_FEEDER_CONFIG_HPP
6
7namespace fang::robot
8{
9using namespace units::literals;
10static const trap::motor::DjiSpeedPid::Config kFeederMotorPidConfig
11{
12 20,
13 0,
14 0,
15 100,
17};
18
19static const trap::motor::DjiM2006Old::Config kFeederMotorConfig
20{
23 "Feeder Motor",
24 false,
25 10,
26 kFeederMotorPidConfig
27};
28
29
30
31static const turret::SimpleFeeder::HeatLimiter::Config kFeederHeatLimiterConfig
32{
33 .criticalHeatLimit = 220,
35
36};
37
38static const turret::SimpleFeeder::Config kFeederSystemConfig
39{
41 .feedRate = 5_Hz,
42 .unjamSpeed = 30_rpm,
43 .heatLimiterConfig = kFeederHeatLimiterConfig
44};
45
46static const turret::M2006SimpleFeeder::Config kFeederMakerConfig
47{
48 .feedMotorConfig = kFeederMotorConfig,
49 .feederConfig = kFeederSystemConfig
50};
51}
52#endif
static constexpr DjiMotorOutput k_maxOutput
Maximum output for C610 controller.
Definition dji_m2006_old.hpp:91
Definition base_robot.cpp:4
@ MOTOR3
Definition dji_motor_ids.hpp:41
HeatType criticalHeatLimit
Definition heat_limiter.hpp:18
FeedMotor::Config feedMotorConfig
Definition m2006_simple_feeder.hpp:18
int roundsPerRevolution
Definition simple_feeder.hpp:27
Definition smooth_pid.hpp:36
Definition dji_m2006_old.hpp:24