master
jenoack 2023-03-24 15:37:42 +01:00
parent 6bee40cf5a
commit c390c741d2
1 changed files with 3 additions and 3 deletions

View File

@ -119,8 +119,8 @@ void setup()
#endif
Serial.println(" Auf gehts ... ");
ESC.write(20);
delay(1000);
ESC.write(50);
delay(2000);
}
void loop()
@ -287,7 +287,7 @@ void speed_set()
//Serial.printf(">periodticks0:%d\n>ticks0turntime_ms:%d\n>goal:%06.3f\n>current:%06.3f\n>err:%06.3f\n>integ:%06.3f\n>derive:%06.3f\n>output:%06.3f\n>esc_output:%06.3f\n",
// HallData[0].period_ticks, time_per_round_ms[time_per_round_pointer], goal_speed, current_speed, err, integ, derivative, output, esc_output);
Serial.printf(">period_ticks:%d\n>time_per_round_last_updated_ms:%d\n>goal_speed:%06.3f\n>current:%06.3f\n>err:%06.3f\n",
HallData[0].period_ticks,HallData[0].act_updated_ms, goal_speed, current_speed, err);
HallData[0].period_ticks,HallData[0].act_update_ms, goal_speed, current_speed, err);
ESC.write(esc_output);
last_esc_write_ms = millis();
}