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{
9
10 using namespace units::literals;
11 static const trap::motor::DjiSpeedPid::Config kFeederMotorPidConfig
12 {
13 20,
14 0,
15 0,
16 100,
18 };
19
20 static const trap::motor::DjiM2006Old::Config kFeederMotorConfig
21 {
24 "Feeder Motor",
25 false,
26 10,
27 kFeederMotorPidConfig
28 };
29
30
31
32 static const turret::SimpleFeeder::HeatLimiter::Config kFeederHeatLimiterConfig
33 {
34 .criticalHeatLimit = 220,
36
37 };
38
39 static const turret::SimpleFeeder::Config kFeederSystemConfig
40 {
42 .feedRate = 5_Hz,
43 .unjamSpeed = 30_rpm,
44 .heatLimiterConfig = kFeederHeatLimiterConfig
45 };
46
47 static const turret::M2006SimpleFeeder::Config kFeederMakerConfig
48 {
49 .feedMotorConfig = kFeederMotorConfig,
50 .feederConfig = kFeederSystemConfig
51 };
52}
53#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