Forgive me if this has already been asked, I am new to Smoothie and this forum. I’m configuring a new setup and looking at where and how the parameters (found in the “config” file) are handled in the source code. While many are quickly found in module code (for example, “gamma_current” shows up in “CurrentControl.cpp”), there are plenty I can’t locate. For example, the “gamma_en_pin” and “alpha_dir_pin” parameters? I don’t see them in any of the source code—where are they used?
Thanks
Imported from wikidot
Ahh, makes sense; thanks!
So, if I wanted to change “alpha, beta, gamma” to “x, y, z” as those axis are commonly referred to in my particular lab environment, I could just change them in that file? Ie,
#define alpha_checksum CHECKSUM(“alpha”) becomes
#define x_checksum CHECKSUM(“x”)
and in every file that had used “alpha_checksum” I’d use “x_checksum”
Then, in the config, “alpha_current” becomes “x_current”
Yes that’s work.
Note that alpha, beta and gamma refer to actuators, while XYZ refer to axes … the distinction has a reason of being.