48 float minRecognitionLikelihood =
getInput<float>(
"minRecognitionLikelihood");
60 Literal markerLost(*markerChannel->getDataFieldIdentifier(
"existenceCertainty"),
107 return "VisualServo";
VisualServo(XMLStateConstructorParams stateData)
void onEnter() override
Virtual function, in which the behaviour of state is defined, when it is entered. Can be overridden,...
ActionEventIdentifier condServoTimeout
static std::string GetName()
static SubClassRegistry Registry
void onExit() override
Virtual function, in which the behaviour of state is defined, when it is exited. Can be overridden,...
ConditionIdentifier condMarkerLost
static XMLStateFactoryBasePtr CreateInstance(XMLStateConstructorParams stateData)
Literals are part of the user front end of the ArmarX condition mechanism.
static VarList createParameterList()
Static helper method to create an empty parameterlist.
void removeCondition(ConditionIdentifier conditionId)
Utility function to remove an installed condition on the distributed conditionhandler.
void removeTimeoutEvent(const ActionEventIdentifier &id)
ActionEventIdentifier setTimeoutEvent(int timeoutDurationMs, const EventPtr &evt)
Utility function to start a timer on the systemObserver and register an event on the conditionHandler...
EventPtr createEvent()
Utility function to create a new Event.
ConditionIdentifier installCondition(const Term &condition, const EventPtr evt, const std::string &desc="")
Utility function to install a condition on the distributed conditionhandler.
std::enable_if_t< std::is_base_of_v< VariantDataClass, T >, IceInternal::Handle< T > > getInput(const std::string &key) const
getInput can be used to access a specific input parameter.
XMLStateTemplate(const XMLStateConstructorParams ¶ms)
#define ARMARX_IMPORTANT
The logging level for always important information, but expected behaviour (in contrast to ARMARX_WAR...
#define ARMARX_VERBOSE
The logging level for verbose information.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< ChannelRef > ChannelRefPtr
IceInternal::Handle< XMLStateFactoryBase > XMLStateFactoryBasePtr