24 #include <ccut/yml.hpp>
26 #include "MGrblPlatform.hpp"
29 using namespace smc::internal;
30 namespace yml = ccut::yml;
32 inline static std::string getDeviceId(
const ccut::yml::NodeRef &ref)
35 yml::get(ref,
"id") >> yml::default_to(
id,
"0");
39 MGrblPlatform::Context::Context(
const std::string &prefix,
40 const ccut::yml::NodeRef &ref) :
45 void MGrblPlatform::Context::checkReply(grbl::ErrorCode rc)
Exception thrown by MotionController in case of issues with command.
const std::string & to_string(Axis::State state)
convert State to string
main motion-lib namespace