|
|
Namespaces | |
| namespace | actions |
| namespace | arondto |
| namespace | articulated_object |
| namespace | attachment |
| namespace | base |
| namespace | clazz |
| namespace | client |
| This file is part of ArmarX. | |
| namespace | data |
| namespace | detail |
| namespace | dto |
| namespace | error |
| namespace | exteroception |
| namespace | grasping |
| namespace | gui |
| namespace | human |
| namespace | id_graph |
| namespace | index |
| namespace | laser_scans |
| namespace | locations |
| namespace | marker |
| namespace | mns |
| namespace | motions |
| namespace | obj |
| namespace | objects |
| namespace | prop |
| namespace | query |
| namespace | robot_state |
| namespace | server |
| namespace | skills |
| namespace | task_outcome |
| namespace | tf_round_trip_live_test |
| namespace | vision |
| namespace | wm |
Classes | |
| struct | Commit |
| A bundle of updates to be sent to the memory. More... | |
| struct | CommitResult |
Result of a Commit. More... | |
| struct | EntityUpdate |
| An update of an entity for a specific point in time. More... | |
| struct | EntityUpdateResult |
Result of an EntityUpdate. More... | |
| class | GraspCandidateReader |
| class | GraspCandidateWriter |
| class | InstanceData |
| The payload of one entity instance, in either ARON representation. More... | |
| class | LegacyRobotStateMemoryAdapter |
| class | MemoryID |
| A memory ID. More... | |
| class | MemoryNameSystem |
| Brief description of class MemoryNameSystem. More... | |
| class | MemoryRemoteGui |
| Utility for memory Remote Guis. More... | |
| struct | ObjectInstance |
| struct | PredictionEngine |
| struct | PredictionRequest |
| struct | PredictionResult |
| struct | PredictionSettings |
| struct | SnapshotRangeInfo |
| Holds info on snapshot data extracted from a time range. More... | |
Typedefs | |
| using | ClientPlugin = client::plugins::Plugin |
| using | ClientPluginUser = client::plugins::PluginUser |
| using | ClientQueryBuilder = client::query::Builder |
| using | ClientQueryInput = client::QueryInput |
| using | ClientQueryResult = client::QueryResult |
| using | ClientReader = client::Reader |
| using | ClientWriter = client::Writer |
| using | Duration = armarx::core::time::Duration |
| using | ListeningClientPluginUser = client::plugins::ListeningPluginUser |
| using | ReadOnlyServerPluginUser = server::ReadOnlyPluginUser |
| using | ReadWriteServerPluginUser = server::ReadWritePluginUser |
| using | ServerComponentPluginUser = server::ComponentPluginUser |
| using | ServerPlugin = server::Plugin |
| using | Time = armarx::core::time::DateTime |
Enumerations | |
| enum class | UpdateType { UpdatedExisting , InsertedNew } |
| The type of an update. More... | |
Functions | |
| template<typename ValueT> | |
| std::vector< ValueT > | accumulateEntriesContainingID (const std::map< MemoryID, std::vector< ValueT > > &idMap, const MemoryID &key) |
| Return all values of keys containing the given ID in a flattened vector. | |
| template<typename ValueT> | |
| std::vector< ValueT > | accumulateEntriesContainingID (const std::map< MemoryID, ValueT > &idMap, const MemoryID &id) |
| Return all values of keys containing the given ID. | |
| template<typename AronClass> | |
| std::vector< AronClass > | allOfType (const std::map< std::string, wm::Entity > &entities) |
| Returns all entities that can be cast to AronClass. | |
| armarx::grasping::BimanualGraspCandidate | asBimanualGraspCandidate (const armem::wm::EntityInstance &instance) |
| armarx::grasping::GraspCandidate | asGraspCandidate (const armem::wm::EntityInstance &instance) |
| bool | compareTimestamp (const MemoryID &lhs, const MemoryID &rhs) |
| lhs.timestamp < rhs.timstamp | |
| bool | compareTimestampDecreasing (const MemoryID &lhs, const MemoryID &rhs) |
| lhs.timestamp > rhs.timstamp | |
| bool | contains (const MemoryID &general, const MemoryID &specific) |
Indicates whether general is "less specific" than, or equal to, specific, i.e. | |
| std::optional< std::pair< armarx::aron::data::DictPtr, armarx::aron::type::ObjectPtr > > | extractDataAndType (const armarx::armem::wm::Memory &memory, const armarx::armem::MemoryID &memoryID) |
| get the data and type of the given MemoryID in the given Memory. | |
| template<class ContainerT> | |
| const ContainerT::EntityInstanceT * | findFirstInstance (const ContainerT &container) |
| template<typename ValueT> | |
| std::map< MemoryID, ValueT >::const_iterator | findMostSpecificEntryContainingID (const std::map< MemoryID, ValueT > &idMap, const MemoryID &id) |
Find the entry with the most specific key that contains the given ID, or idMap.end() if no key contains the ID. | |
| template<typename ValueT> | |
| std::map< MemoryID, ValueT >::const_iterator | findMostSpecificEntryContainingIDAnd (const std::map< MemoryID, ValueT > &idMap, const MemoryID &id, const std::function< bool(const MemoryID &, const ValueT &)> &predicate) |
Find the entry with the most specific key that contains the given ID and satisfies the predicate, or idMap.end() if no key contains the ID and satisfies the predicate. | |
| void | from_aron (const aron::data::DictPtr &metadata, const aron::data::DictPtr &data, wm::EntityInstance &) |
| convert from metadata and data aron instance | |
| void | from_json (const nlohmann::json &j, MemoryID &bo) |
| void | fromAron (const armarx::skills::arondto::ProviderID &dto, skills::ProviderID &bo) |
| void | fromAron (const armarx::skills::arondto::SkillDescription &dto, skills::SkillDescription &bo) |
| void | fromAron (const armarx::skills::arondto::SkillExecutionRequest &dto, skills::SkillExecutionRequest &bo) |
| void | fromAron (const armarx::skills::arondto::SkillID &dto, skills::SkillID &bo) |
| void | fromAron (const armarx::skills::arondto::SkillStatusUpdate &dto, skills::SkillStatusUpdate &bo) |
| void | fromAron (const armarx::skills::arondto::Statechart::ParameterMap &dto, armarx::StateParameterMap &bo) |
| void | fromAron (const armarx::skills::arondto::Statechart::StateType &dto, armarx::eStateType &bo) |
| void | fromAron (const armarx::skills::arondto::Statechart::Transition &dto, armarx::ProfilerStatechartTransitionWithParameters &bo) |
| void | fromAron (const arondto::attachment::AgentDescription &dto, attachment::AgentDescription &bo) |
| void | fromAron (const arondto::attachment::ArticulatedObjectAttachment &dto, attachment::ArticulatedObjectAttachment &bo) |
| void | fromAron (const arondto::attachment::ObjectAttachment &dto, attachment::ObjectAttachment &bo) |
| void | fromAron (const arondto::Marker &dto, marker::Marker &bo) |
| void | fromAron (const arondto::MemoryID &dto, MemoryID &bo) |
| void | fromAron (const arondto::ObjectInstance &dto, objpose::arondto::ObjectPose &bo) |
| void | fromAron (const arondto::ObjectInstance &dto, objpose::ObjectPose &bo) |
| void | fromAron (const arondto::Trajectory &dto, DMP::SampledTrajectoryV2 &bo, bool taskspace) |
| void | fromAron (const skills::arondto::Statechart::ParameterMap &dto, StateParameterMap &bo) |
| void | fromAron (const skills::arondto::Statechart::StateType &dto, eStateType &bo) |
| void | fromAron (const skills::arondto::Statechart::Transition &dto, ProfilerStatechartTransitionWithParameters &bo) |
| template<class IceT, class CppT> | |
| void | fromIce (const ::IceInternal::Handle< IceT > &ice, CppT &cpp) |
| template<class IceT, class CppT> | |
| void | fromIce (const ::IceInternal::Handle< IceT > &ice, std::unique_ptr< CppT > &cppPointer) |
| void | fromIce (const actions::data::MenuPtr &ice, actions::Menu &menu) |
| void | fromIce (const armem::prediction::data::PredictionEngine &ice, PredictionEngine &engine) |
| void | fromIce (const armem::prediction::data::PredictionRequest &ice, PredictionRequest &request) |
| void | fromIce (const armem::prediction::data::PredictionResult &ice, PredictionResult &result) |
| void | fromIce (const armem::prediction::data::PredictionSettings &ice, PredictionSettings &settings) |
| void | fromIce (const data::Commit &ice, Commit &commit) |
| void | fromIce (const data::Commit &ice, Commit &commit, Time timeArrived) |
| void | fromIce (const data::CommitResult &ice, CommitResult &result) |
| void | fromIce (const data::EntityUpdate &ice, EntityUpdate &update) |
| void | fromIce (const data::EntityUpdate &ice, EntityUpdate &update, Time timeArrived) |
| void | fromIce (const data::EntityUpdateResult &ice, EntityUpdateResult &result) |
| void | fromIce (const data::MemoryID &ice, MemoryID &id) |
| template<class CppT, class IceT> | |
| CppT | fromIce (const IceT &ice) |
| template<class IceT, class CppT> | |
| void | fromIce (const IceT &ice, std::unique_ptr< CppT > &cppPointer) |
| template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT> | |
| void | fromIce (const std::map< IceKeyT, IceValueT > &iceMap, boost::container::flat_map< CppKeyT, CppValueT > &cppMap) |
| template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT> | |
| void | fromIce (const std::map< IceKeyT, IceValueT > &iceMap, std::map< CppKeyT, CppValueT > &cppMap) |
| template<class IceT, class CppT> | |
| void | fromIce (const std::vector< IceT > &ices, std::vector< CppT > &cpps) |
| template<class T> | |
| void | fromIce (const T &ice, T &cpp) |
| std::vector< aron::data::DictPtr > | getAronData (const wm::EntitySnapshot &snapshot) |
| template<class ContainerT> | |
| std::vector< MemoryID > | getEntityIDs (const ContainerT &container) |
| std::optional< MemoryID > | getMemoryIDParent (const MemoryID &memID) |
| template<typename SegmentType, typename DataType, typename LatestType> | |
| SnapshotRangeInfo< DataType, LatestType > | getSnapshotsInRange (const SegmentType *segment, const MemoryID &entityID, const DateTime &startTime, const DateTime &endTime, std::function< DataType(const aron::data::DictPtr &)> dictToData, std::function< LatestType(const aron::data::DictPtr &)> dictToLatest) |
| Get data points for the snapshots of an entity in a given time range. | |
| std::ostream & | operator<< (std::ostream &os, const Commit &rhs) |
| std::ostream & | operator<< (std::ostream &os, const CommitResult &rhs) |
| std::ostream & | operator<< (std::ostream &os, const EntityUpdate &rhs) |
| std::ostream & | operator<< (std::ostream &os, const EntityUpdateResult &rhs) |
| std::ostream & | operator<< (std::ostream &os, const MemoryID id) |
| std::ostream & | operator<< (std::ostream &os, const std::vector< MemoryID > &rhs) |
| std::string | print (const wm::CoreSegment &data, int maxDepth=-1, int depth=0) |
| std::string | print (const wm::Entity &data, int maxDepth=-1, int depth=0) |
| std::string | print (const wm::EntityInstance &data, int maxDepth=-1, int depth=0) |
| std::string | print (const wm::EntitySnapshot &data, int maxDepth=-1, int depth=0) |
| std::string | print (const wm::Memory &data, int maxDepth=-1, int depth=0) |
| std::string | print (const wm::ProviderSegment &data, int maxDepth=-1, int depth=0) |
| std::optional< armarx::armem::wm::Memory > | resolveID (armarx::armem::client::MemoryNameSystem &mns, const armarx::armem::MemoryID &memoryID) |
| resolve a single MemoryID with the given MemoryNameSystem. | |
| pcl::PointCloud< pcl::PointXYZRGBA > | samplePointCloudFromTriMesh (const VirtualRobot::TriMeshModel &mesh, int sampleCount) |
| Time | timeFromStringMicroSeconds (const std::string µSeconds) |
Get a Time from the microseconds as text. | |
| void | to_aron (aron::data::DictPtr &metadata, aron::data::DictPtr &data, const wm::EntityInstance &) |
| convert to metadata and aron instance | |
| void | to_json (nlohmann::json &j, const MemoryID &bo) |
| void | toAron (armarx::skills::arondto::ProviderID &dto, const skills::ProviderID &bo) |
| void | toAron (armarx::skills::arondto::SkillDescription &dto, const skills::SkillDescription &bo) |
| void | toAron (armarx::skills::arondto::SkillExecutionRequest &dto, const skills::SkillExecutionRequest &bo) |
| void | toAron (armarx::skills::arondto::SkillID &dto, const skills::SkillID &bo) |
| void | toAron (armarx::skills::arondto::SkillStatusUpdate &dto, const skills::SkillStatusUpdate &bo) |
| void | toAron (armarx::skills::arondto::Statechart::ParameterMap &dto, const armarx::StateParameterMap &bo) |
| void | toAron (armarx::skills::arondto::Statechart::StateType &dto, const armarx::eStateType &bo) |
| void | toAron (armarx::skills::arondto::Statechart::Transition &dto, const armarx::ProfilerStatechartTransitionWithParameters &bo) |
| void | toAron (arondto::attachment::AgentDescription &dto, const attachment::AgentDescription &bo) |
| void | toAron (arondto::attachment::ArticulatedObjectAttachment &dto, const attachment::ArticulatedObjectAttachment &bo) |
| void | toAron (arondto::attachment::ObjectAttachment &dto, const attachment::ObjectAttachment &bo) |
| void | toAron (arondto::Marker &dto, const marker::Marker &bo) |
| void | toAron (arondto::MemoryID &dto, const MemoryID &bo) |
| void | toAron (arondto::ObjectInstance &dto, const objpose::arondto::ObjectPose &bo) |
| void | toAron (arondto::ObjectInstance &dto, const objpose::ObjectPose &bo) |
| void | toAron (arondto::Trajectory &dto, const DMP::SampledTrajectoryV2 &bo_taskspace, const DMP::SampledTrajectoryV2 &bo_jointspace, const std::string name) |
| void | toAron (skills::arondto::Statechart::ParameterMap &dto, const StateParameterMap &bo) |
| void | toAron (skills::arondto::Statechart::StateType &dto, const eStateType &bo) |
| void | toAron (skills::arondto::Statechart::Transition &dto, const ProfilerStatechartTransitionWithParameters &bo) |
| template<class ContainerT> | |
| Commit | toCommit (const ContainerT &container) |
| std::string | toDateTimeMilliSeconds (const Time &time, int decimals=6) |
Returns timeas e.g. | |
| EntityUpdate | toEntityUpdate (const wm::EntitySnapshot &snapshot) |
| template<class IceT, class CppT> | |
| void | toIce (::IceInternal::Handle< IceT > &ice, const CppT &cpp) |
| template<class IceT, class CppT> | |
| void | toIce (::IceInternal::Handle< IceT > &ice, const std::unique_ptr< CppT > &cppPointer) |
| void | toIce (actions::data::MenuPtr &ice, const actions::Menu &menu) |
| void | toIce (armem::prediction::data::PredictionEngine &ice, const PredictionEngine &engine) |
| void | toIce (armem::prediction::data::PredictionRequest &ice, const PredictionRequest &request) |
| void | toIce (armem::prediction::data::PredictionResult &ice, const PredictionResult &result) |
| void | toIce (armem::prediction::data::PredictionSettings &ice, const PredictionSettings &settings) |
| template<class IceT, class CppT> | |
| IceT | toIce (const CppT &cpp) |
| template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT> | |
| std::map< IceKeyT, IceValueT > | toIce (const std::map< CppKeyT, CppValueT > &cppMap) |
| template<class IceT, class CppT> | |
| std::vector< IceT > | toIce (const std::vector< CppT > &cpps) |
| void | toIce (data::Commit &ice, const Commit &commit) |
| void | toIce (data::CommitResult &ice, const CommitResult &result) |
| void | toIce (data::EntityUpdate &ice, const EntityUpdate &update) |
| void | toIce (data::EntityUpdateResult &ice, const EntityUpdateResult &result) |
| void | toIce (data::MemoryID &ice, const MemoryID &id) |
| template<class IceT, class CppT> | |
| void | toIce (IceT &ice, const std::unique_ptr< CppT > &cppPointer) |
| template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT> | |
| void | toIce (std::map< IceKeyT, IceValueT > &iceMap, const boost::container::flat_map< CppKeyT, CppValueT > &cppMap) |
| template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT> | |
| void | toIce (std::map< IceKeyT, IceValueT > &iceMap, const std::map< CppKeyT, CppValueT > &cppMap) |
| template<class IceT, class CppT> | |
| void | toIce (std::vector< IceT > &ices, const std::vector< CppT > &cpps) |
| template<class T> | |
| void | toIce (T &ice, const T &cpp) |
| std::string | toStringMicroSeconds (const Time &time) |
Returns time as e.g. | |
| std::string | toStringMilliSeconds (const Time &time, int decimals=3) |
Returns time as e.g. | |
| template<typename AronClass> | |
| auto | transformAllOfType (const std::map< std::string, wm::Entity > &entities, auto pred) -> std::vector< decltype(pred(AronClass()))> |
| filter + transform for entities. | |
| template<typename AronClass> | |
| std::optional< AronClass > | tryCast (const wm::EntityInstance &item) |
| Tries to cast a armem::EntityInstance to AronClass. | |
Variables | |
| constexpr const char * | DATA_WRAPPER_CONFIDENCE_FIELD = "__ENTITY_METADATA__CONFIDENCE" |
| constexpr const char * | DATA_WRAPPER_ORIGIN_FIELD = "__ENTITY_METADATA__ORIGIN" |
| constexpr const char * | DATA_WRAPPER_TIME_ARRIVED_FIELD = "__ENTITY_METADATA__TIME_ARRIVED" |
| constexpr const char * | DATA_WRAPPER_TIME_REFERENCED_FIELD = "__ENTITY_METADATA__TIME_REFERENCED" |
| constexpr const char * | DATA_WRAPPER_TIME_SENT_FIELD = "__ENTITY_METADATA__TIME_SENT" |
| constexpr const char * | DATA_WRAPPER_TIME_STORED_FIELD = "__WRITER_METADATA__TIME_STORED" |
| std::map< armarx::skills::arondto::Statechart::StateType, armarx::eStateType > | fromAronStateTypeMap |
| std::map< armarx::eStateType, armarx::skills::arondto::Statechart::StateType > | toAronStateTypeMap |
| using ClientPlugin = client::plugins::Plugin |
| using ClientQueryInput = client::QueryInput |
| using ClientQueryResult = client::QueryResult |
| using ClientReader = client::Reader |
| using ClientWriter = client::Writer |
| using Duration = armarx::core::time::Duration |
| typedef client::ListeningPluginUser ListeningClientPluginUser = client::plugins::ListeningPluginUser |
| using ServerComponentPluginUser = server::ComponentPluginUser |
| using ServerPlugin = server::Plugin |
| using Time = armarx::core::time::DateTime |
|
strong |
| std::vector< ValueT > accumulateEntriesContainingID | ( | const std::map< MemoryID, std::vector< ValueT > > & | idMap, |
| const MemoryID & | key ) |
Return all values of keys containing the given ID in a flattened vector.
detail::accumulateFromPrefixes() | std::vector< ValueT > accumulateEntriesContainingID | ( | const std::map< MemoryID, ValueT > & | idMap, |
| const MemoryID & | id ) |
Return all values of keys containing the given ID.
detail::accumulateFromPrefixes() | std::vector< AronClass > allOfType | ( | const std::map< std::string, wm::Entity > & | entities | ) |
Returns all entities that can be cast to AronClass.
| AronClass | class name. Needs to be derived from armarx::aron::cppcodegenerator::AronCppClass |
| entities | collection of entities |
| armarx::grasping::BimanualGraspCandidate asBimanualGraspCandidate | ( | const armem::wm::EntityInstance & | instance | ) |
| armarx::grasping::GraspCandidate asGraspCandidate | ( | const armem::wm::EntityInstance & | instance | ) |
lhs.timestamp > rhs.timstamp
Indicates whether general is "less specific" than, or equal to, specific, i.e.
general "contains" specific.
A memory ID A is said to be less specific than B, if B the same values as A for all levels specified in A, but potentially also specifies the lower levels.
Examples:
If a memory ID has a gap (@see MemoryID::hasGap()), such as "m//p", the levels after the gap are ignored.
| general | The less specific memory ID |
| specific | The more specific memory ID |
general is less specific than specific. | std::optional< std::pair< armarx::aron::data::DictPtr, armarx::aron::type::ObjectPtr > > extractDataAndType | ( | const armarx::armem::wm::Memory & | memory, |
| const armarx::armem::MemoryID & | memoryID ) |
get the data and type of the given MemoryID in the given Memory.
Returns the data and the type of the latest instance corresponding to the given MemoryID (whatever memory.findLatestInstance(memoryID) returns). If no such instance exists in the memory or no type for the instance is available, nothing is returned.
| memory | the Memory to extract the data and type from |
| memoryID | the MemoryID of the instance to extract |
| const ContainerT::EntityInstanceT * findFirstInstance | ( | const ContainerT & | container | ) |
| std::map< MemoryID, ValueT >::const_iterator findMostSpecificEntryContainingID | ( | const std::map< MemoryID, ValueT > & | idMap, |
| const MemoryID & | id ) |
Find the entry with the most specific key that contains the given ID, or idMap.end() if no key contains the ID.
| std::map< MemoryID, ValueT >::const_iterator findMostSpecificEntryContainingIDAnd | ( | const std::map< MemoryID, ValueT > & | idMap, |
| const MemoryID & | id, | ||
| const std::function< bool(const MemoryID &, const ValueT &)> & | predicate ) |
Find the entry with the most specific key that contains the given ID and satisfies the predicate, or idMap.end() if no key contains the ID and satisfies the predicate.
| void from_aron | ( | const aron::data::DictPtr & | metadata, |
| const aron::data::DictPtr & | data, | ||
| wm::EntityInstance & | e ) |
convert from metadata and data aron instance
| void from_json | ( | const nlohmann::json & | j, |
| MemoryID & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::ProviderID & | dto, |
| skills::ProviderID & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::SkillDescription & | dto, |
| skills::SkillDescription & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::SkillExecutionRequest & | dto, |
| skills::SkillExecutionRequest & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::SkillID & | dto, |
| skills::SkillID & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::SkillStatusUpdate & | dto, |
| skills::SkillStatusUpdate & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::Statechart::ParameterMap & | dto, |
| armarx::StateParameterMap & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::Statechart::StateType & | dto, |
| armarx::eStateType & | bo ) |
| void fromAron | ( | const armarx::skills::arondto::Statechart::Transition & | dto, |
| armarx::ProfilerStatechartTransitionWithParameters & | bo ) |
| void fromAron | ( | const arondto::attachment::AgentDescription & | dto, |
| attachment::AgentDescription & | bo ) |
| void fromAron | ( | const arondto::attachment::ArticulatedObjectAttachment & | dto, |
| attachment::ArticulatedObjectAttachment & | bo ) |
| void fromAron | ( | const arondto::attachment::ObjectAttachment & | dto, |
| attachment::ObjectAttachment & | bo ) |
| void fromAron | ( | const arondto::Marker & | dto, |
| marker::Marker & | bo ) |
| void fromAron | ( | const arondto::MemoryID & | dto, |
| MemoryID & | bo ) |
| void fromAron | ( | const arondto::ObjectInstance & | dto, |
| objpose::arondto::ObjectPose & | bo ) |
| void fromAron | ( | const arondto::ObjectInstance & | dto, |
| objpose::ObjectPose & | bo ) |
| void fromAron | ( | const arondto::Trajectory & | dto, |
| DMP::SampledTrajectoryV2 & | bo, | ||
| bool | taskspace ) |
| void fromAron | ( | const skills::arondto::Statechart::ParameterMap & | dto, |
| StateParameterMap & | bo ) |
| void fromAron | ( | const skills::arondto::Statechart::StateType & | dto, |
| eStateType & | bo ) |
| void fromAron | ( | const skills::arondto::Statechart::Transition & | dto, |
| ProfilerStatechartTransitionWithParameters & | bo ) |
| void fromIce | ( | const ::IceInternal::Handle< IceT > & | ice, |
| CppT & | cpp ) |
| void fromIce | ( | const ::IceInternal::Handle< IceT > & | ice, |
| std::unique_ptr< CppT > & | cppPointer ) |
| void fromIce | ( | const actions::data::MenuPtr & | ice, |
| actions::Menu & | menu ) |
| void fromIce | ( | const armem::prediction::data::PredictionEngine & | ice, |
| PredictionEngine & | engine ) |
| void fromIce | ( | const armem::prediction::data::PredictionRequest & | ice, |
| PredictionRequest & | request ) |
| void fromIce | ( | const armem::prediction::data::PredictionResult & | ice, |
| PredictionResult & | result ) |
| void fromIce | ( | const armem::prediction::data::PredictionSettings & | ice, |
| PredictionSettings & | settings ) |
| void fromIce | ( | const data::Commit & | ice, |
| Commit & | commit ) |
| void fromIce | ( | const data::CommitResult & | ice, |
| CommitResult & | result ) |
| void fromIce | ( | const data::EntityUpdate & | ice, |
| EntityUpdate & | update ) |
| void fromIce | ( | const data::EntityUpdate & | ice, |
| EntityUpdate & | update, | ||
| Time | timeArrived ) |
| void fromIce | ( | const data::EntityUpdateResult & | ice, |
| EntityUpdateResult & | result ) |
| void fromIce | ( | const data::MemoryID & | ice, |
| MemoryID & | id ) |
| CppT fromIce | ( | const IceT & | ice | ) |
| void fromIce | ( | const IceT & | ice, |
| std::unique_ptr< CppT > & | cppPointer ) |
| void fromIce | ( | const std::map< IceKeyT, IceValueT > & | iceMap, |
| boost::container::flat_map< CppKeyT, CppValueT > & | cppMap ) |
| void fromIce | ( | const std::map< IceKeyT, IceValueT > & | iceMap, |
| std::map< CppKeyT, CppValueT > & | cppMap ) |
| void fromIce | ( | const std::vector< IceT > & | ices, |
| std::vector< CppT > & | cpps ) |
| std::vector< aron::data::DictPtr > getAronData | ( | const wm::EntitySnapshot & | snapshot | ) |
| std::vector< MemoryID > getEntityIDs | ( | const ContainerT & | container | ) |
| SnapshotRangeInfo< DataType, LatestType > getSnapshotsInRange | ( | const SegmentType * | segment, |
| const MemoryID & | entityID, | ||
| const DateTime & | startTime, | ||
| const DateTime & | endTime, | ||
| std::function< DataType(const aron::data::DictPtr &)> | dictToData, | ||
| std::function< LatestType(const aron::data::DictPtr &)> | dictToLatest ) |
Get data points for the snapshots of an entity in a given time range.
The resulting SnapshotRangeInfo is useful for performing predictions. Data from the individual snapshots is given to the conversion functions before being stored in the result. Timestamps in the timestampsSec vector are relative to the endTime parameter to this function. Data from a snapshot is always retrieved from the instance with index 0. If some data cannot be retrieved, success is set to false and the errorMessage in the return value is set accordingly.
| segment | the segment to get the snapshot data from |
| entityID | the entity to get the data for |
| startTime | the beginning of the time range |
| endTime | the end of the time range. Timestamps are relative to this value |
| dictToData | the conversion function from DictPtr to DataType |
| dictToLatest | the conversion function from DictPtr to LatestType |
LatestSnapshotInfo | std::ostream & operator<< | ( | std::ostream & | os, |
| const Commit & | rhs ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const CommitResult & | rhs ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const EntityUpdate & | rhs ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const EntityUpdateResult & | rhs ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const MemoryID | id ) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const std::vector< MemoryID > & | rhs ) |
| std::string print | ( | const wm::CoreSegment & | data, |
| int | maxDepth = -1, | ||
| int | depth = 0 ) |
| std::string print | ( | const wm::Entity & | data, |
| int | maxDepth = -1, | ||
| int | depth = 0 ) |
| std::string print | ( | const wm::EntityInstance & | data, |
| int | maxDepth = -1, | ||
| int | depth = 0 ) |
| std::string print | ( | const wm::EntitySnapshot & | data, |
| int | maxDepth = -1, | ||
| int | depth = 0 ) |
| std::string print | ( | const wm::Memory & | data, |
| int | maxDepth = -1, | ||
| int | depth = 0 ) |
| std::string print | ( | const wm::ProviderSegment & | data, |
| int | maxDepth = -1, | ||
| int | depth = 0 ) |
| std::optional< armarx::armem::wm::Memory > resolveID | ( | armarx::armem::client::MemoryNameSystem & | mns, |
| const armarx::armem::MemoryID & | memoryID ) |
resolve a single MemoryID with the given MemoryNameSystem.
Returns a Memory containing only the desired segment / entity if it was successfully queried. If the query was unsuccessful (the MNS could not resolve the memory server, the MemoryID does not exist, etc.), nothing is returned.
| mns | the MemoryNameSystem to use for the query |
| memoryID | the MemoryID to query for |
| pcl::PointCloud< pcl::PointXYZRGBA > samplePointCloudFromTriMesh | ( | const VirtualRobot::TriMeshModel & | mesh, |
| int | sampleCount ) |
| armem::Time timeFromStringMicroSeconds | ( | const std::string & | microSeconds | ) |
Get a Time from the microseconds as text.
| void to_aron | ( | aron::data::DictPtr & | metadata, |
| aron::data::DictPtr & | data, | ||
| const wm::EntityInstance & | e ) |
convert to metadata and aron instance
| void to_json | ( | nlohmann::json & | j, |
| const MemoryID & | bo ) |
| void toAron | ( | armarx::skills::arondto::ProviderID & | dto, |
| const skills::ProviderID & | bo ) |
| void toAron | ( | armarx::skills::arondto::SkillDescription & | dto, |
| const skills::SkillDescription & | bo ) |
| void toAron | ( | armarx::skills::arondto::SkillExecutionRequest & | dto, |
| const skills::SkillExecutionRequest & | bo ) |
| void toAron | ( | armarx::skills::arondto::SkillID & | dto, |
| const skills::SkillID & | bo ) |
| void toAron | ( | armarx::skills::arondto::SkillStatusUpdate & | dto, |
| const skills::SkillStatusUpdate & | bo ) |
| void toAron | ( | armarx::skills::arondto::Statechart::ParameterMap & | dto, |
| const armarx::StateParameterMap & | bo ) |
| void toAron | ( | armarx::skills::arondto::Statechart::StateType & | dto, |
| const armarx::eStateType & | bo ) |
| void toAron | ( | armarx::skills::arondto::Statechart::Transition & | dto, |
| const armarx::ProfilerStatechartTransitionWithParameters & | bo ) |
| void toAron | ( | arondto::attachment::AgentDescription & | dto, |
| const attachment::AgentDescription & | bo ) |
| void toAron | ( | arondto::attachment::ArticulatedObjectAttachment & | dto, |
| const attachment::ArticulatedObjectAttachment & | bo ) |
| void toAron | ( | arondto::attachment::ObjectAttachment & | dto, |
| const attachment::ObjectAttachment & | bo ) |
| void toAron | ( | arondto::Marker & | dto, |
| const marker::Marker & | bo ) |
| void toAron | ( | arondto::MemoryID & | dto, |
| const MemoryID & | bo ) |
| void toAron | ( | arondto::ObjectInstance & | dto, |
| const objpose::arondto::ObjectPose & | bo ) |
| void toAron | ( | arondto::ObjectInstance & | dto, |
| const objpose::ObjectPose & | bo ) |
| void toAron | ( | arondto::Trajectory & | dto, |
| const DMP::SampledTrajectoryV2 & | bo_taskspace, | ||
| const DMP::SampledTrajectoryV2 & | bo_jointspace, | ||
| const std::string | name ) |
| void toAron | ( | skills::arondto::Statechart::ParameterMap & | dto, |
| const StateParameterMap & | bo ) |
| void toAron | ( | skills::arondto::Statechart::StateType & | dto, |
| const eStateType & | bo ) |
| void toAron | ( | skills::arondto::Statechart::Transition & | dto, |
| const ProfilerStatechartTransitionWithParameters & | bo ) |
| Commit toCommit | ( | const ContainerT & | container | ) |
| std::string toDateTimeMilliSeconds | ( | const Time & | time, |
| int | decimals = 6 ) |
Returns timeas e.g.
"2020-11-16 17:01:54.123456".
| decimals | How many sub-second decimals to include. |
| armem::EntityUpdate toEntityUpdate | ( | const wm::EntitySnapshot & | snapshot | ) |
| void toIce | ( | ::IceInternal::Handle< IceT > & | ice, |
| const CppT & | cpp ) |
| void toIce | ( | ::IceInternal::Handle< IceT > & | ice, |
| const std::unique_ptr< CppT > & | cppPointer ) |
| void toIce | ( | actions::data::MenuPtr & | ice, |
| const actions::Menu & | menu ) |
| void toIce | ( | armem::prediction::data::PredictionEngine & | ice, |
| const PredictionEngine & | engine ) |
| void toIce | ( | armem::prediction::data::PredictionRequest & | ice, |
| const PredictionRequest & | request ) |
| void toIce | ( | armem::prediction::data::PredictionResult & | ice, |
| const PredictionResult & | result ) |
| void toIce | ( | armem::prediction::data::PredictionSettings & | ice, |
| const PredictionSettings & | settings ) |
| IceT toIce | ( | const CppT & | cpp | ) |
| std::map< IceKeyT, IceValueT > toIce | ( | const std::map< CppKeyT, CppValueT > & | cppMap | ) |
| std::vector< IceT > toIce | ( | const std::vector< CppT > & | cpps | ) |
| void toIce | ( | data::Commit & | ice, |
| const Commit & | commit ) |
| void toIce | ( | data::CommitResult & | ice, |
| const CommitResult & | result ) |
| void toIce | ( | data::EntityUpdate & | ice, |
| const EntityUpdate & | update ) |
| void toIce | ( | data::EntityUpdateResult & | ice, |
| const EntityUpdateResult & | result ) |
| void toIce | ( | data::MemoryID & | ice, |
| const MemoryID & | id ) |
| void toIce | ( | IceT & | ice, |
| const std::unique_ptr< CppT > & | cppPointer ) |
| void toIce | ( | std::map< IceKeyT, IceValueT > & | iceMap, |
| const boost::container::flat_map< CppKeyT, CppValueT > & | cppMap ) |
| void toIce | ( | std::map< IceKeyT, IceValueT > & | iceMap, |
| const std::map< CppKeyT, CppValueT > & | cppMap ) |
| void toIce | ( | std::vector< IceT > & | ices, |
| const std::vector< CppT > & | cpps ) |
| std::string toStringMicroSeconds | ( | const Time & | time | ) |
Returns time as e.g.
"123456789012 `mu`s". The output string contains the actual greek letter mu.
| std::string toStringMilliSeconds | ( | const Time & | time, |
| int | decimals = 3 ) |
Returns time as e.g.
"123456789.012 ms".
| decimals | How many sub-millisecond decimals to include. |
| auto transformAllOfType | ( | const std::map< std::string, wm::Entity > & | entities, |
| auto | pred ) -> std::vector<decltype(pred(AronClass()))> |
filter + transform for entities.
Can be used instead of
std::vector<Bar> ret; const auto allOf = allOfType<Foo>(entities); std::transform(allOf.begin(), allOf.end(), std::back_inserter(ret), pred)
This function has the benefit that the transform function will be applied directly. No intermediate vector has to be created (e.g. "allOf" in the example above).
| AronClass | class name. Needs to be derived from armarx::aron::cppcodegenerator::AronCppClass |
| entities | collection of entities |
| pred | binary predicate function, applied to all entity instances |
| std::optional< AronClass > tryCast | ( | const wm::EntityInstance & | item | ) |
Tries to cast a armem::EntityInstance to AronClass.
| AronClass | class name. Needs to be derived from armarx::aron::cppcodegenerator::AronCppClass |
| item |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
| std::map<armarx::skills::arondto::Statechart::StateType, armarx::eStateType> fromAronStateTypeMap |
| std::map<armarx::eStateType, armarx::skills::arondto::Statechart::StateType> toAronStateTypeMap |