mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-25 23:51:35 +00:00
Adding back PID gains since they didn't survive the merge for some reason
This commit is contained in:
@@ -17,14 +17,19 @@ int main() {
|
||||
Vehicle State;
|
||||
Vehicle PrevState;
|
||||
|
||||
// PID Gains
|
||||
State.Kp = -6.8699;
|
||||
State.Ki = 0;
|
||||
State.Kd = -0.775;
|
||||
|
||||
// Initial Velocity
|
||||
State.vx = 0; // [m/s]
|
||||
State.vy = 0; // [m/s]
|
||||
State.vz = 0; // [m/s]
|
||||
|
||||
// Initial YPR
|
||||
State.yaw = 10 * M_PI / 180; // [rad]
|
||||
State.pitch = 5 * M_PI / 180; // [rad]
|
||||
State.yaw = 75 * M_PI / 180; // [rad]
|
||||
State.pitch = 35 * M_PI / 180; // [rad]
|
||||
State.roll = 0 * M_PI / 180; // [rad]
|
||||
|
||||
// Initial YPRdot
|
||||
|
Reference in New Issue
Block a user