|
| std::optional< HrdData > | mm::node::somanet::parseHrdData (std::string_view token) |
| | Parses an HRD data token ("encoder-raw" / "system-identification") — the inverse of toString. Returns std::nullopt for any other token.
|
| |
| std::optional< ChirpSignalType > | mm::node::somanet::parseChirpSignalType (std::string_view token) |
| | Parses a signal-type token ("logarithmic" / "linear"). std::nullopt for any other.
|
| |
| std::optional< SystemIdentificationStart > | mm::node::somanet::parseSystemIdentificationStart (std::string_view token) |
| | Parses a start token ("none" / "immediately" / "after-hrd-stream-start").
|
| |
| std::optional< VelocitySource > | mm::node::somanet::parseVelocitySource (std::string_view token) |
| | Parses a velocity source token ("firmware" / "encoder"). std::nullopt otherwise.
|
| |
| std::optional< FirmwareLatency > | mm::node::somanet::parseFirmwareLatency (std::string_view token) |
| | Parses a firmware latency token ("setpoint" / "feedback"). std::nullopt otherwise.
|
| |
| std::optional< FirmwareErrorType > | mm::node::somanet::parseFirmwareErrorType (std::string_view token) |
| | Parses a firmware error type token — the inverse of toString.
|
| |
| std::optional< FirmwareService > | mm::node::somanet::parseFirmwareService (std::string_view token) |
| | Parses a service token ("drive-control" / "motion-control") — the inverse of toString. Returns std::nullopt for any other token.
|
| |
| std::optional< IcMuCalibrationMode > | mm::node::somanet::parseIcMuCalibrationMode (std::string_view token) |
| | Parses a mode token ("configuration" / "raw" / "standard") — the inverse of toString. Returns std::nullopt for any other token.
|
| |
| std::optional< FsBufferTransfer > | mm::node::parseFsBufferTransfer (std::string_view token) |
| | Reads an fs-buffer direction back from its name. std::nullopt if token names none.
|
| |
| std::optional< std::string_view > | mm::node::osCommandErrorName (uint8_t code) |
| | Names a general OS error code, or std::nullopt when code is command-specific.
|
| |
| void | mm::node::to_json (nlohmann::json &j, const ObjectDictionaryValue &entry) |
| |
| void | mm::node::to_json (nlohmann::json &j, const ObjectDictionaryValues &values) |
| |
| std::expected< ObjectDictionaryValues, std::string > | mm::node::decodeObjectDictionaryValues (std::span< const uint8_t > data, const std::vector< DeviceParameter > &definitions) |
| | Splits what OS command 21 sent into one value per entry of definitions.
|
| |
| void | mm::node::to_json (nlohmann::json &j, const BrakeState &state) |
| |
| std::vector< DeviceFile > | mm::node::parseDeviceFileList (std::string_view text) |
| | Parses the body of a fs-getlist read into one entry per line.
|
| |
| void | mm::node::to_json (nlohmann::json &j, const DeviceFile &file) |
| |
| std::vector< std::string_view > | mm::node::hrdColumns (somanet::HrdData data) |
| | The column names of one decoded sample of data, in the order a row carries them.
|
| |
| void | mm::node::to_json (nlohmann::json &j, const HrdRecording &recording) |
| |
| std::string | mm::node::toCsv (const HrdRecording &recording) |
| | Renders a recording as CSV: one header row of column names, then one row per sample.
|
| |
| HrdSamples | mm::node::decodeHrdSamples (std::span< const uint8_t > bytes, somanet::HrdData data) |
| | Decodes the concatenated contents of a recording's files into samples.
|
| |
| std::expected< void, std::string > | mm::node::removeDeviceFile (Device &device, const std::string &filename) |
| | Deletes a file from a SOMANET drive's flash (FoE read of "fs-remove=<filename>").
|
| |
| void | mm::node::to_json (nlohmann::json &j, const EncoderRegisterResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const OpenPhaseResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const MotorPhaseOrderResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const CommutationOffsetResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const PolePairResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const PhaseResistanceResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const PhaseInductanceResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const TorqueConstantResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const SkippedCyclesResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const TriggerErrorResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const KueblerRegisterResult &result) |
| |
| void | mm::node::to_json (nlohmann::json &j, const FirmwareLatencyResult &result) |
| |
| std::expected< SomanetDrive, std::string > | mm::node::createSomanetDrive (Device &device) |
| | Validates that device is a SOMANET drive, then binds a view to it.
|
| |