RobotHeadMovement Class Reference

#include <RobotAPI/libraries/armem_objects/server/instance/RobotHeadMovement.h>

+ Inheritance diagram for RobotHeadMovement:

Classes

struct  Discard
 
struct  RemoteGui
 

Public Member Functions

void defineProperties (armarx::PropertyDefinitionsPtr defs, const std::string &prefix="head.")
 
void fetchDatafields ()
 
Discard getDiscard ()
 
bool isMoving () const
 
void movementStarts (const Duration &discardInterval)
 
void movementStarts (long discardIntervalMs)
 
void movementStops (const Duration &discardInterval)
 
void movementStops (long discardIntervalMs)
 
objpose::SignalHeadMovementOutput signalHeadMovement (const objpose::SignalHeadMovementInput &input)
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Public Attributes

bool checkHeadVelocity = true
 
DebugObserverInterfacePrx debugObserver
 
int discardIntervalAfterMoveMS = 100
 
DateTime discardUpdatesUntil = DateTime::Invalid()
 
std::vector< std::string > jointNames = {"Neck_1_Yaw", "Neck_2_Pitch"}
 
std::string jointVelocitiesChannelName = "jointvelocities"
 
std::vector< DatafieldRefPtrjointVelocitiesDatafields
 
KinematicUnitObserverInterfacePrx kinematicUnitObserver
 
float maxJointVelocity = 0.05f
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Definition at line 26 of file RobotHeadMovement.h.

Member Function Documentation

◆ defineProperties()

void defineProperties ( armarx::PropertyDefinitionsPtr  defs,
const std::string &  prefix = "head." 
)

Definition at line 11 of file RobotHeadMovement.cpp.

+ Here is the caller graph for this function:

◆ fetchDatafields()

void fetchDatafields ( )

Definition at line 21 of file RobotHeadMovement.cpp.

+ Here is the caller graph for this function:

◆ getDiscard()

Definition at line 123 of file RobotHeadMovement.cpp.

+ Here is the call graph for this function:

◆ isMoving()

bool isMoving ( ) const

Definition at line 58 of file RobotHeadMovement.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ movementStarts() [1/2]

void movementStarts ( const Duration discardInterval)

Definition at line 79 of file RobotHeadMovement.cpp.

+ Here is the call graph for this function:

◆ movementStarts() [2/2]

void movementStarts ( long  discardIntervalMs)

Definition at line 75 of file RobotHeadMovement.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ movementStops() [1/2]

void movementStops ( const Duration discardInterval)

Definition at line 87 of file RobotHeadMovement.cpp.

+ Here is the call graph for this function:

◆ movementStops() [2/2]

void movementStops ( long  discardIntervalMs)

Definition at line 83 of file RobotHeadMovement.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ signalHeadMovement()

objpose::SignalHeadMovementOutput signalHeadMovement ( const objpose::SignalHeadMovementInput &  input)

Definition at line 101 of file RobotHeadMovement.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ checkHeadVelocity

bool checkHeadVelocity = true

Definition at line 53 of file RobotHeadMovement.h.

◆ debugObserver

Definition at line 64 of file RobotHeadMovement.h.

◆ discardIntervalAfterMoveMS

int discardIntervalAfterMoveMS = 100

Definition at line 58 of file RobotHeadMovement.h.

◆ discardUpdatesUntil

DateTime discardUpdatesUntil = DateTime::Invalid()

Definition at line 62 of file RobotHeadMovement.h.

◆ jointNames

std::vector<std::string> jointNames = {"Neck_1_Yaw", "Neck_2_Pitch"}

Definition at line 56 of file RobotHeadMovement.h.

◆ jointVelocitiesChannelName

std::string jointVelocitiesChannelName = "jointvelocities"

Definition at line 55 of file RobotHeadMovement.h.

◆ jointVelocitiesDatafields

std::vector<DatafieldRefPtr> jointVelocitiesDatafields

Definition at line 61 of file RobotHeadMovement.h.

◆ kinematicUnitObserver

KinematicUnitObserverInterfacePrx kinematicUnitObserver

Definition at line 60 of file RobotHeadMovement.h.

◆ maxJointVelocity

float maxJointVelocity = 0.05f

Definition at line 57 of file RobotHeadMovement.h.


The documentation for this class was generated from the following files: