ADXL error
Hello, I keep getting an error when im trying to messure belt tension.
echo: Belt tension graphs generated. You'll find them in the input_shaper folder in the machine tab!
10.10
Command {generate_belt_tension_graph} finished
10.10
datas = [parse_log(fn, opts) for fn in args]
File "/home/pi/klipper/scripts/graph_accelerometer.py", line 238, in
datas = [parse_log(fn, opts) for fn in args]
File "/home/pi/klipper/scripts/graph_accelerometer.py", line 30, in parse_log
freq_bins=data[:,0], psd_sum=data[:,4],
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
10.10
main()
File "/home/pi/klipper/scripts/graph_accelerometer.py", line 238, in main
10.10
Traceback (most recent call last):
File "/home/pi/klipper/scripts/graph_accelerometer.py", line 277, in
10.10
/home/pi/klipper/scripts/graph_accelerometer.py:28: UserWarning: loadtxt: Empty input file: "/tmp/raw_data_axis=1.000,-1.000_belt-tension-lower.csv"
data = np.loadtxt(logname, skiprows=1, comments='#', delimiter=',')
10.09
Running Command {generate_belt_tension_graph}...:
10.09
Writing raw accelerometer data to /tmp/raw_data_axis=1.000,-1.000_belt-tension-lower.csv file
When i run "ACCELEROMETER_QUERY" after i turned on the printer it can get a reading but efter i run the belt tension command i cant get a reading from it aigen then it just says:
No accelerometer measurements found
I have checked all the connections and solderede it aigen still the same problem.
0 Replies