run shell command example?
How does one actually run a shell command in ratos?
3 Replies
I am trying to run
~/klipper/scripts/graph_accelerometer.py -c /tmp/raw_data_axis*.csv -o ~/klipper_config/input_shaper/resonances.png
but I can't even get a simple command like ls
to workLook at the shell-macros.cfg
You need to define the command before you can call it via gcode.
safety 🙂
also, it won't accept commands prefixed with sudo
Also for anyone looking in the future, there is already a built in macro
Measure Corexy Belt Tension
instead of running the suggested klipper commands in https://www.klipper3d.org/Measuring_Resonances.html#testing-custom-axes