You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented, but the endstops have no labels. So it returns, e.g., Ok triggered open triggered (I lowercased TRIGGERED for compatibility with Teacup).
There are a few ways to fix this:
Add a std::string field to the Endstop object to create a label for it upon instantiation.
Require that endstops are only owned by the CoordMap & query the CoordMap for both the endstop objects and names.
(1) has the downside of being less inline-able.
(2) makes implementation slightly easier.
I'll probably go with (1) because putting the Endstops in the ioDrivers tuple is more consistent with the rest of Printipi, although that paradigm might eventually change.
J.S. sent me the following code for his M119 implementation (in state.h):
It shouldn't be too difficult to get this to compile with the current devel version / machines.
The text was updated successfully, but these errors were encountered: