...
This commit is contained in:
parent
6bee40cf5a
commit
c390c741d2
1 changed files with 3 additions and 3 deletions
|
@ -119,8 +119,8 @@ void setup()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Serial.println(" Auf gehts ... ");
|
Serial.println(" Auf gehts ... ");
|
||||||
ESC.write(20);
|
ESC.write(50);
|
||||||
delay(1000);
|
delay(2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
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",
|
//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);
|
// 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",
|
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);
|
ESC.write(esc_output);
|
||||||
last_esc_write_ms = millis();
|
last_esc_write_ms = millis();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue