run shell command example?

How does one actually run a shell command in ratos?
No description
3 Replies
blacksmithforlife
blacksmithforlifeOP•2y ago
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 work
miklschmidt
miklschmidt•2y ago
Look 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
blacksmithforlife
blacksmithforlifeOP•2y ago
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
Want results from more Discord servers?
Add your server