Skip to content

Commit

Permalink
fixed log
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed Feb 24, 2025
1 parent e93058f commit 2cf885b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shaketune/commands/excitate_axis_at_freq.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def excitate_axis_at_freq(gcmd, config, st_process: ShakeTuneProcess) -> None:
st_process.get_st_config().chunk_size, printer.get_reactor(), filename
)

ConsoleOutput.print(f'Excitating {axis.upper()} axis at {freq}Hz for {duration} seconds')
ConsoleOutput.print(f'Excitating {axis.upper()} axis at {freq:.1f}Hz for {duration} seconds')

printer = config.get_printer()
gcode = printer.lookup_object('gcode')
Expand Down
2 changes: 1 addition & 1 deletion shaketune/helpers/resonance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def _run_test_sequence(self, axis_direction, test_seq):
toolhead.move([nX, nY, nZ, E], max(abs_v, abs_last_v))

if math.floor(freq) > math.floor(last_freq):
ConsoleOutput.print(f'Testing frequency: {freq:.0f} Hz')
ConsoleOutput.print(f'Testing frequency: {freq:.1f} Hz')
reactor.pause(reactor.monotonic() + 0.01)

X, Y, Z = nX, nY, nZ
Expand Down

0 comments on commit 2cf885b

Please sign in to comment.