Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
pdo_mapping.cc File Reference
#include "node/pdo_mapping.h"
#include <nlohmann/json.hpp>
Include dependency graph for pdo_mapping.cc:

Namespaces

namespace  mm
 
namespace  mm::node
 

Functions

void mm::node::to_json (nlohmann::json &j, const PdoMappingEntry &e)
 Serialises a single entry: index, subindex, bitLength, bitOffset.
 
void mm::node::to_json (nlohmann::json &j, const PdoMappingObject &o)
 Serialises one mapping object: pdoIndex and its ordered entries.
 
void mm::node::to_json (nlohmann::json &j, const PdoMapping &m)
 Serialises a device's grouped mapping: outputs / inputs object arrays. The response shape of the PDO-mapping routes (each entry carries its derived bitOffset).