Skip to content

Commit

Permalink
allow float frequency in static freq excitation
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed Feb 24, 2025
1 parent 689dd80 commit e93058f
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -21,7 +21,7 @@ def excitate_axis_at_freq(gcmd, config, st_process: ShakeTuneProcess) -> None:
date = datetime.now().strftime('%Y%m%d_%H%M%S')

create_graph = gcmd.get_int('CREATE_GRAPH', default=0, minval=0, maxval=1) == 1
freq = gcmd.get_int('FREQUENCY', default=25, minval=1)
freq = gcmd.get_float('FREQUENCY', default=25, minval=1)
duration = gcmd.get_int('DURATION', default=30, minval=1)
accel_per_hz = gcmd.get_float('ACCEL_PER_HZ', default=None)
axis = gcmd.get('AXIS', default='x').lower()
Expand Down

0 comments on commit e93058f

Please sign in to comment.