armarx::armem::robot_state Namespace Reference

Namespaces

namespace  client
 
namespace  constants
 This file is part of ArmarX.
 
namespace  description
 
namespace  exteroception
 
namespace  localization
 
namespace  proprioception
 

Classes

struct  PlatformState
 
class  ReaderInterface
 
struct  Robot
 
class  RobotReader
 The RobotReader class. More...
 
struct  RobotState
 
class  RobotStatePredictionClient
 
class  RobotWriter
 The RobotReader class. More...
 
struct  Twist
 
class  VirtualRobotReader
 The VirtualRobotReader class. More...
 
class  VirtualRobotWriter
 The VirtualRobotReader class. More...
 
class  WriterInterface
 

Typedefs

using Robots = std::vector<Robot>
 
using RobotStates = std::vector<RobotState>
 

Functions

std::optional< description::RobotDescription > convertRobotDescription (const armem::wm::EntityInstance &instance)
 
std::optional< RobotState > convertRobotState (const armem::wm::EntityInstance &instance)
 
void defineOptionalDurationProperty (armarx::PropertyDefinitionsPtr &defs, std::optional< armarx::core::time::Duration > &duration, const std::string &name, const std::string &description)
 Defines an optional property name, given in seconds, for duration: a positive value sets it, a non-positive one unsets it.
 
void fromAron (const armarx::armem::prop::arondto::Platform &dto, robot_state::PlatformState &bo)
 
void fromAron (const arondto::ObjectInstance &dto, RobotState &bo)
 
void fromAron (const arondto::Robot &dto, Robot &bo)
 
void fromAron (const arondto::RobotState &dto, RobotState &bo)
 
void fromAron (const long &dto, IceUtil::Time &time)
 
void fromAron (const objpose::arondto::ObjectPose &dto, RobotState &bo)
 
RobotReader::Hand fromHandName (const std::string &name)
 
armarx::armem::MemoryID makeMemoryID (const description::RobotDescription &desc)
 
PackagePath resolvePackagePath (const std::string &filename)
 
void toAron (armarx::armem::prop::arondto::Platform &dto, const robot_state::PlatformState &bo)
 
void toAron (arondto::ObjectInstance &dto, const RobotState &bo)
 
void toAron (arondto::Robot &dto, const Robot &bo)
 
void toAron (arondto::RobotState &dto, const RobotState &bo)
 
void toAron (long &dto, const IceUtil::Time &time)
 
void toAron (objpose::arondto::ObjectPose &dto, const RobotState &bo)
 
template<typename AronClass>
std::optional< AronClass > tryCast (const wm::EntityInstance &item)
 

Variables

const MemoryID descriptionSegmentID {memoryID.withCoreSegmentName("Description")}
 
const MemoryID exteroceptionSegmentID {memoryID.withCoreSegmentName("Exteroception")}
 
const MemoryID localizationSegmentID {memoryID.withCoreSegmentName("Localization")}
 
const MemoryID memoryID {"RobotState"}
 
const MemoryID proprioceptionSegmentID {memoryID.withCoreSegmentName("Proprioception")}
 

Typedef Documentation

◆ Robots

typedef std::vector< Robot > Robots = std::vector<Robot>

◆ RobotStates

typedef std::vector< RobotState > RobotStates = std::vector<RobotState>

Function Documentation

◆ convertRobotDescription()

std::optional< description::RobotDescription > convertRobotDescription ( const armem::wm::EntityInstance & instance)

◆ convertRobotState()

std::optional< RobotState > convertRobotState ( const armem::wm::EntityInstance & instance)

◆ defineOptionalDurationProperty()

void defineOptionalDurationProperty ( armarx::PropertyDefinitionsPtr & defs,
std::optional< armarx::core::time::Duration > & duration,
const std::string & name,
const std::string & description )

Defines an optional property name, given in seconds, for duration: a positive value sets it, a non-positive one unsets it.

The default is the current value of duration. duration must outlive defs.

◆ fromAron() [1/6]

void fromAron ( const armarx::armem::prop::arondto::Platform & dto,
robot_state::PlatformState & bo )

◆ fromAron() [2/6]

void fromAron ( const arondto::ObjectInstance & dto,
RobotState & bo )

◆ fromAron() [3/6]

void fromAron ( const arondto::Robot & dto,
Robot & bo )

◆ fromAron() [4/6]

void fromAron ( const arondto::RobotState & dto,
RobotState & bo )

◆ fromAron() [5/6]

void fromAron ( const long & dto,
IceUtil::Time & time )

◆ fromAron() [6/6]

void fromAron ( const objpose::arondto::ObjectPose & dto,
RobotState & bo )

◆ fromHandName()

RobotReader::Hand fromHandName ( const std::string & name)
inline

◆ makeMemoryID()

◆ resolvePackagePath()

PackagePath resolvePackagePath ( const std::string & filename)

◆ toAron() [1/6]

void toAron ( armarx::armem::prop::arondto::Platform & dto,
const robot_state::PlatformState & bo )

◆ toAron() [2/6]

void toAron ( arondto::ObjectInstance & dto,
const RobotState & bo )

◆ toAron() [3/6]

void toAron ( arondto::Robot & dto,
const Robot & bo )

◆ toAron() [4/6]

void toAron ( arondto::RobotState & dto,
const RobotState & bo )

◆ toAron() [5/6]

void toAron ( long & dto,
const IceUtil::Time & time )

◆ toAron() [6/6]

void toAron ( objpose::arondto::ObjectPose & dto,
const RobotState & bo )

◆ tryCast()

template<typename AronClass>
std::optional< AronClass > tryCast ( const wm::EntityInstance & item)

Variable Documentation

◆ descriptionSegmentID

const MemoryID descriptionSegmentID {memoryID.withCoreSegmentName("Description")}

◆ exteroceptionSegmentID

const MemoryID exteroceptionSegmentID {memoryID.withCoreSegmentName("Exteroception")}

◆ localizationSegmentID

const MemoryID localizationSegmentID {memoryID.withCoreSegmentName("Localization")}

◆ memoryID

const MemoryID memoryID {"RobotState"}

◆ proprioceptionSegmentID

const MemoryID proprioceptionSegmentID {memoryID.withCoreSegmentName("Proprioception")}