1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 15:17:23 +00:00

make sim output more interesting

This commit is contained in:
Anson Biggs 2021-09-17 13:20:54 -07:00
parent 4d5332a650
commit ea6045b0d1

View File

@ -20,16 +20,14 @@ int main() {
State.vz = 0; // [m/s]
// Initial YPR
State.yaw = 0 * M_PI / 180; // [rad]
State.pitch = 0 * M_PI / 180; // [rad]
State.yaw = 10 * M_PI / 180; // [rad]
State.pitch = 5 * M_PI / 180; // [rad]
State.roll = 0 * M_PI / 180; // [rad]
// Initial YPRdot
State.yawdot = 0 * M_PI / 180; // [rad/s]
State.pitchdot = 0 * M_PI / 180; // [rad/s]
State.rolldot =
0 * M_PI /
180; // [rad/s] std::vector <int> vec = std::vector<int>(10);
State.yawdot = 1 * M_PI / 180; // [rad/s]
State.pitchdot = -1 * M_PI / 180; // [rad/s]
State.rolldot = 0 * M_PI / 180; // [rad/s]
// Servo Limitation
State.maxServo = 15; // [degs]