mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-06-16 15:17:23 +00:00
i hate counting zeros
This commit is contained in:
parent
3a2773891f
commit
166b8c5920
@ -29,8 +29,6 @@ unsigned long last, initTime;
|
||||
PWMServo yaw;
|
||||
PWMServo pitch;
|
||||
|
||||
int servoPos = 90; // variable to store the servo position;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
|
||||
@ -81,7 +79,7 @@ void loop() {
|
||||
|
||||
if ((State.z < 0.0) && (State.thrustFiring == 2)) {
|
||||
analogWrite(pin_igniter, 0);
|
||||
Serial.println("Run duration:" + String((micros() - initTime) / 1000000.0) +
|
||||
Serial.println("Run duration:" + String((micros() - initTime) / 1e6) +
|
||||
" seconds");
|
||||
printSimResults(State);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user