29#include <SimoxUtility/json/json.h>
33#include <RobotAPI/interface/armem/mns/MemoryNameSystemInterface.h>
104 std::map<std::string, std::set<std::string>>
105 pollOnce(
const std::vector<MemoryValueID>& values);
118 static std::vector<std::pair<std::string, double>>
127 std::map<armem::MemoryID, armem::client::Reader> memoryReaders;
Brief description of class DebugObserverHelper.
The memory name system (MNS) client.
Reads data from a memory server.
static std::vector< std::pair< std::string, double > > decomposeNDArray(const aron::data::NDArray &array, int maxSize=16)
Decompose a numeric NDArray (vector, matrix, pose) into scalar datafields.
void pollOnce()
Query values from the memory and send them to the debug observer.
static std::string makeChannelName(const armem::MemoryID &memoryID)
static std::string makeDatafieldName(const aron::Path &path)
MemoryToDebugObserver(const Properties &properties, const Services &services)
Constructor.
bool operator<(const MemoryValueID &lhs, const MemoryValueID &rhs)
void from_json(const simox::json::json &j, MemoryValueID &id)
bool operator==(const MemoryValueID &lhs, const MemoryValueID &rhs)
void to_json(simox::json::json &j, const MemoryValueID &id)
A convenience header to include all aron files (full include, not forward declared)
std::vector< MemoryValueID > plottedValues
armarx::DebugObserverHelper & debugObserver
MemoryNameSystem & memoryNameSystem
ID of an ARON value in the memory.