armarx::skills Namespace Reference

This file is part of ArmarX. More...

Namespaces

 detail
 
 error
 
 grasp_control
 
 gui
 
 hand_control
 
 joint_control
 
 mixin
 
 platform_control
 
 provider
 
 segment
 
 tcp_control
 
 
 visual_servo_tcp_control
 

Classes

struct  ActiveOrTerminatedSkillStatusUpdate
 
class  BringObjectSkill
 
struct  BringObjectSkillContext
 
class  BringObjectToLocation
 
class  CloseHand
 
class  CloseHandAndAttachSkill
 
class  ExecuteGraspSkill
 
class  ExecutePutdownSkill
 
class  GraspObjectSkill
 
class  HandControlSkill
 
struct  HandControlSkillContext
 
class  JointControlSkill
 
struct  JointControlSkillContext
 
class  LambdaSkill
 
class  MoveJointsToPosition
 
class  MoveJointsWithVelocity
 
class  MovePlatformAfterGraspSkill
 
class  MovePlatformAfterPutdownSkill
 
class  MovePlatformForGraspSkill
 
class  MovePlatformForPutdownSkill
 
class  MovePlatformToLandmark
 
class  MovePlatformToPose
 
class  MoveTCPToTargetPose
 
class  OpenHand
 
class  OpenHandAndDetachSkill
 
class  PeriodicSkill
 
class  PeriodicSpecializedSkill
 
class  PlatformControlSkill
 
struct  PlatformControlSkillContext
 
class  ProviderID
 
class  ProviderInfo
 
class  PutdownObjectSkill
 
class  SimplePeriodicSkill
 
class  SimplePeriodicSpecializedSkill
 
class  SimpleSkill
 
class  SimpleSpecializedSkill
 
class  Skill
 Base class for skills. More...
 
class  SkillBlueprint
 
class  SkillContext
 
struct  SkillDescription
 
struct  SkillExecutionID
 
class  SkillExecutionRequest
 
class  SkillID
 
class  SkillProxy
 
struct  SkillStatusUpdate
 
struct  SkillStatusUpdateBase
 
class  SkillWithContextBlueprint
 
class  SpecializedSkill
 
class  SpecializedSkillProxy
 
class  TCPControlSkill
 
struct  TCPControlSkillContext
 
struct  TerminatedSkillStatusUpdate
 
class  TwoArmGraspControlSkill
 
struct  TwoArmGraspControlSkillContext
 
class  VisualSearchSkill
 
struct  VisualSearchSkillContext
 
class  VisualServoTCPControlSkill
 
struct  VisualServoTCPControlSkillContext
 
class  VisualServoToTargetPose
 
class  WhatCanYouSeeNow
 

Enumerations

enum  ActiveOrTerminatedSkillStatus { Running = 2, Failed = 4, Succeeded = 8, Aborted = 16 }
 
enum  SkillStatus {
  Constructing = 0, Initializing = 1, Preparing = 2, Running = 4,
  Failed = 8, Succeeded = 16, Aborted = 32
}
 
enum  TerminatedSkillStatus { Failed = 4, Succeeded = 8, Aborted = 16 }
 

Functions

void fromIce (const core::dto::Execution::Status &status, ActiveOrTerminatedSkillStatus &ret)
 
void fromIce (const core::dto::Execution::Status &status, SkillStatus &ret)
 
void fromIce (const core::dto::Execution::Status &status, TerminatedSkillStatus &ret)
 
ActiveOrTerminatedSkillStatus mergeSkillStatuseses (const ActiveOrTerminatedSkillStatus t1, const ActiveOrTerminatedSkillStatus t2)
 
TerminatedSkillStatus mergeSkillStatuseses (const TerminatedSkillStatus t1, const TerminatedSkillStatus t2)
 
std::ostream & operator<< (std::ostream &os, const ProviderID &id)
 
std::ostream & operator<< (std::ostream &os, const SkillID &id)
 
void toIce (core::dto::Execution::Status &ret, const ActiveOrTerminatedSkillStatus &status)
 
void toIce (core::dto::Execution::Status &ret, const SkillStatus &status)
 
void toIce (core::dto::Execution::Status &ret, const TerminatedSkillStatus &status)
 
SkillStatus toSkillStatus (const ActiveOrTerminatedSkillStatus &d)
 
SkillStatus toSkillStatus (const TerminatedSkillStatus &d)
 

Variables

const SkillDescription BringObjectToHumanDesc
 
const SkillDescription GraspObjectSkillDesc
 
template<class T >
concept isSkill = std::is_base_of<Skill, T>::value
 
template<class T >
concept isSkillBlueprint = std::is_base_of<SkillBlueprint, T>::value
 
template<class T >
concept isSkillDescription = std::is_base_of<SkillDescription, T>::value
 

Detailed Description

This file is part of ArmarX.

ArmarX is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

ArmarX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author
Fabian Reister ( fabian dot reister at kit dot edu )
Date
2022

Enumeration Type Documentation

◆ ActiveOrTerminatedSkillStatus

Enumerator
Running 
Failed 
Succeeded 
Aborted 

Definition at line 31 of file SkillStatusUpdate.h.

◆ SkillStatus

enum SkillStatus
strong
Enumerator
Constructing 
Initializing 
Preparing 
Running 
Failed 
Succeeded 
Aborted 

Definition at line 20 of file SkillStatusUpdate.h.

◆ TerminatedSkillStatus

enum TerminatedSkillStatus
strong
Enumerator
Failed 
Succeeded 
Aborted 

Definition at line 39 of file SkillStatusUpdate.h.

Function Documentation

◆ fromIce() [1/3]

void fromIce ( const core::dto::Execution::Status &  status,
ActiveOrTerminatedSkillStatus ret 
)

Definition at line 184 of file SkillStatusUpdate.cpp.

◆ fromIce() [2/3]

void fromIce ( const core::dto::Execution::Status &  status,
SkillStatus ret 
)

Definition at line 213 of file SkillStatusUpdate.cpp.

◆ fromIce() [3/3]

void fromIce ( const core::dto::Execution::Status &  status,
TerminatedSkillStatus ret 
)

Definition at line 156 of file SkillStatusUpdate.cpp.

+ Here is the caller graph for this function:

◆ mergeSkillStatuseses() [1/2]

Definition at line 59 of file SkillStatusUpdate.cpp.

◆ mergeSkillStatuseses() [2/2]

TerminatedSkillStatus mergeSkillStatuseses ( const TerminatedSkillStatus  t1,
const TerminatedSkillStatus  t2 
)

Definition at line 40 of file SkillStatusUpdate.cpp.

+ Here is the caller graph for this function:

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  os,
const ProviderID id 
)

Definition at line 63 of file ProviderID.cpp.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  os,
const SkillID id 
)

Definition at line 75 of file SkillID.cpp.

◆ toIce() [1/3]

void toIce ( core::dto::Execution::Status &  ret,
const ActiveOrTerminatedSkillStatus status 
)

Definition at line 117 of file SkillStatusUpdate.cpp.

◆ toIce() [2/3]

void toIce ( core::dto::Execution::Status &  ret,
const SkillStatus status 
)

Definition at line 87 of file SkillStatusUpdate.cpp.

+ Here is the caller graph for this function:

◆ toIce() [3/3]

void toIce ( core::dto::Execution::Status &  ret,
const TerminatedSkillStatus status 
)

Definition at line 138 of file SkillStatusUpdate.cpp.

◆ toSkillStatus() [1/2]

SkillStatus toSkillStatus ( const ActiveOrTerminatedSkillStatus d)

Definition at line 8 of file SkillStatusUpdate.cpp.

+ Here is the caller graph for this function:

◆ toSkillStatus() [2/2]

SkillStatus toSkillStatus ( const TerminatedSkillStatus d)

Definition at line 25 of file SkillStatusUpdate.cpp.

Variable Documentation

◆ BringObjectToHumanDesc

const SkillDescription BringObjectToHumanDesc
Initial value:
= SkillDescription{
"BringObjectToHuman", "Bring an object to some location",
nullptr
}

Definition at line 6 of file BringObjectToHuman.cpp.

◆ GraspObjectSkillDesc

const SkillDescription GraspObjectSkillDesc
Initial value:
= SkillDescription{
"SimpleHandoverObject", "Handover an object already in hand of robot",
grasp_object::arondto::PutdownObjectAcceptedType::ToAronType()
}

Definition at line 11 of file SimpleHandoverObject.cpp.

◆ isSkill

concept isSkill = std::is_base_of<Skill, T>::value

Definition at line 365 of file Skill.h.

◆ isSkillBlueprint

concept isSkillBlueprint = std::is_base_of<SkillBlueprint, T>::value

Definition at line 65 of file SkillFactory.h.

◆ isSkillDescription

concept isSkillDescription = std::is_base_of<SkillDescription, T>::value

Definition at line 46 of file SkillDescription.h.

armarx::core::time::Duration::MilliSeconds
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
Definition: Duration.cpp:55