7using namespace units::literals;
14 .maxICumulative = 0.0,
16 .tQDerivativeKalman = 1.0,
17 .tRDerivativeKalman = 0.0,
18 .tQProportionalKalman = 1.0,
19 .tRProportionalKalman = 500.0,
30 .tQDerivativeKalman = 1.0,
31 .tRDerivativeKalman = 0.0,
32 .tQProportionalKalman = 1,
33 .tRProportionalKalman = 150'000.0,
42 .currentControl =
false
48 .mainPidConfig = kPitchPositionPid,
49 .intermediatePidConfig = kPitchVelocityPid,
50 .mainPidInitialValue = 0.0_rad,
51 .intermediatePidInitialValue = 0.0_rpm,
61 .maxICumulative = 0.0,
63 .tQDerivativeKalman = 1.0,
64 .tRDerivativeKalman = 0.0,
65 .tQProportionalKalman = 1,
66 .tRProportionalKalman = 100.0,
76 .tQDerivativeKalman = 1.0,
77 .tRDerivativeKalman = 0.0,
78 .tQProportionalKalman = 1.0,
79 .tRProportionalKalman = 200.0,
80 .errorDerivativeFloor = 0
83static const turret::SliceFieldGimbal::YawSystem::Gm6020CounterChassisFieldYaw::ModdedCascadeMotor::Config kYawMotorPidConfig
85 .mainPidConfig = kYawPositionPid,
86 .intermediatePidConfig = kYawVelocityPid
95 .currentControl =
false
98static const motor::DualCascadeGm6020::Config kDualCascadePitchMotorConfig
101 .pidMotorConfig = kPitchMotorPidConfig
104static const turret::BasicFieldPitchSystem::Config kBasicFieldPitchConfig
113static const turret::SliceFieldGimbal::PitchSystem::Config kPitchSystemConfig
116 .pitchSystemConfig = kBasicFieldPitchConfig
119static const turret::SliceFieldGimbal::YawSystem::Config kYawSystemConfig
124 .chassisFieldYawConfig = {.yawError = -37_deg},
125 .counterYawConfig = {.correctionScale = 1.0},
126 .moddedCascadeConfig = kYawMotorPidConfig
130static const turret::SliceFieldGimbal::Config kGimbalSubsystemConfig
133 .yawSystemConfig = kYawSystemConfig
CascadeMotor::Config Config
Definition dual_cascade_position.hpp:39
static constexpr DjiMotorOutput kMaxOutput
Definition dji_gm6020.hpp:30
Definition base_robot.cpp:4
@ MOTOR1
Definition dji_motor_ids.hpp:39
@ MOTOR2
Definition dji_motor_ids.hpp:40
Motor::Config motorConfig
Definition dual_cascade_gm6020.hpp:28
Radians pitchError
Definition basic_field_pitch_system.hpp:30
Motor::Config motorConfig
Definition gm6020_cascade_field_pitch.hpp:15
Motor::Config motorConfig
Definition gm6020_counter_chassis_field_yaw.hpp:22
PitchSystem::Config pitchSystemConfig
Definition slice_field_gimbal.hpp:19
Definition smooth_pid.hpp:36
float kp
Definition smooth_pid.hpp:37
Definition dji_motor.hpp:28
tap::motor::MotorId motorId
Definition dji_motor.hpp:29