Skip to content

Commit

Permalink
Revert "Keep pid call uniform with update function"
Browse files Browse the repository at this point in the history
This reverts commit d7abb48.
  • Loading branch information
m-lundberg authored Jul 21, 2024
1 parent d7abb48 commit 7abf9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/water_boiler/water_boiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def update(self, boiler_power, dt):
current_time = time.time()
dt = current_time - last_time

power = pid(water_temp, dt)
power = pid(water_temp)
water_temp = boiler.update(power, dt)

x += [current_time - start_time]
Expand Down

0 comments on commit 7abf9b5

Please sign in to comment.