Public Member Functions | Protected Attributes | List of all members
Abstract_robot_decorator Class Referenceabstract

#include <abstract_robot_decorator.h>

Inheritance diagram for Abstract_robot_decorator:
Inheritance graph
[legend]

Public Member Functions

 Abstract_robot_decorator (std::unique_ptr< Abstract_robot > next)
 
std::vector< tf2::Transform > & bounds () override
 
bool check_single_object_collision (tf2::Transform &obj, std::string &b) override
 
std::string & name () override
 
Abstract_robotnext ()
 
void notify () override
 
std::vector< tf2::Transform > & robot_root_bounds () override
 
tf2::Transform & root_tf () override
 
tf2::Vector3 & size () override
 
virtual void spezifie_robot_groups ()=0
 
virtual void spezifie_root_bounds ()=0
 
tf2::Transform & tf () override
 
void workload_checker (std::vector< int > &count_vector, tf2::Transform &obj) override
 
- Public Member Functions inherited from Abstract_robot
 Abstract_robot (std::string &name, tf2::Transform tf, tf2::Vector3 size)
 
 Abstract_robot (std::string name, tf2::Transform tf, tf2::Vector3 size)
 
float area_calculation (tf2::Transform &A, tf2::Transform &B, tf2::Transform &C)
 Triangle area calculator. More...
 
std::vector< tf2::Transform > & bounds ()
 
std::string & name ()
 
std::bitset< 3 > observer_mask ()
 
std::vector< tf2::Transform > & robot_root_bounds ()
 
tf2::Transform & root_tf ()
 
void rotate (float deg)
 
void rotate (float deg)
 
void set_observer_mask (int i)
 
void set_tf (tf2::Transform &t)
 
void set_tf (tf2::Transform &t)
 
tf2::Vector3 & size ()
 
void size (tf2::Vector3 &s)
 
void size (tf2::Vector3 &s)
 
tf2::Transform & tf ()
 
void translate (tf2::Vector3 t)
 
void translate (tf2::Vector3 t)
 

Protected Attributes

std::shared_ptr< MapGenerator > grasp_map_generator_
 
std::map< std::string, std::string > map_
 
std::shared_ptr< moveit::planning_interface::MoveGroupInterface > mgi_
 
std::shared_ptr< moveit::planning_interface::MoveGroupInterface > mgi_hand_
 
std::unique_ptr< Abstract_robotnext_
 
- Protected Attributes inherited from Abstract_robot
std::vector< tf2::Transform > bounds_
 Bounds of table top surface. More...
 
std::string name_
 Name of robot. More...
 
std::bitset< 3 > observer_mask_
 
std::vector< tf2::Transform > robot_root_bounds_
 Bounds of robot arm as sub-region of table top. More...
 
tf2::Transform root_tf_
 Robot root on table top. More...
 
tf2::Vector3 size_
 Size of table. More...
 
tf2::Transform tf_
 Pose of table. More...
 

Detailed Description

Definition at line 18 of file abstract_robot_decorator.h.

Constructor & Destructor Documentation

◆ Abstract_robot_decorator()

Abstract_robot_decorator::Abstract_robot_decorator ( std::unique_ptr< Abstract_robot next)
inline

Definition at line 29 of file abstract_robot_decorator.h.

Member Function Documentation

◆ bounds()

std::vector<tf2::Transform>& Abstract_robot_decorator::bounds ( )
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 39 of file abstract_robot_decorator.h.

◆ check_single_object_collision()

bool Abstract_robot_decorator::check_single_object_collision ( tf2::Transform &  obj,
std::string &  b 
)
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 42 of file abstract_robot_decorator.h.

◆ name()

std::string& Abstract_robot_decorator::name ( )
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 35 of file abstract_robot_decorator.h.

◆ next()

Abstract_robot* Abstract_robot_decorator::next ( )
inline

Definition at line 45 of file abstract_robot_decorator.h.

◆ notify()

void Abstract_robot_decorator::notify ( )
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 41 of file abstract_robot_decorator.h.

◆ robot_root_bounds()

std::vector<tf2::Transform>& Abstract_robot_decorator::robot_root_bounds ( )
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 40 of file abstract_robot_decorator.h.

◆ root_tf()

tf2::Transform& Abstract_robot_decorator::root_tf ( )
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 38 of file abstract_robot_decorator.h.

◆ size()

tf2::Vector3& Abstract_robot_decorator::size ( )
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 37 of file abstract_robot_decorator.h.

◆ spezifie_robot_groups()

virtual void Abstract_robot_decorator::spezifie_robot_groups ( )
pure virtual

Implemented in Panda_decorator.

◆ spezifie_root_bounds()

virtual void Abstract_robot_decorator::spezifie_root_bounds ( )
pure virtual

Implemented in Panda_decorator.

◆ tf()

tf2::Transform& Abstract_robot_decorator::tf ( )
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 36 of file abstract_robot_decorator.h.

◆ workload_checker()

void Abstract_robot_decorator::workload_checker ( std::vector< int > &  count_vector,
tf2::Transform &  obj 
)
inlineoverridevirtual

Implements Abstract_robot.

Definition at line 43 of file abstract_robot_decorator.h.

Member Data Documentation

◆ grasp_map_generator_

std::shared_ptr<MapGenerator> Abstract_robot_decorator::grasp_map_generator_
protected

Definition at line 25 of file abstract_robot_decorator.h.

◆ map_

std::map<std::string, std::string> Abstract_robot_decorator::map_
protected

Definition at line 24 of file abstract_robot_decorator.h.

◆ mgi_

std::shared_ptr<moveit::planning_interface::MoveGroupInterface> Abstract_robot_decorator::mgi_
protected

Definition at line 21 of file abstract_robot_decorator.h.

◆ mgi_hand_

std::shared_ptr<moveit::planning_interface::MoveGroupInterface> Abstract_robot_decorator::mgi_hand_
protected

Definition at line 22 of file abstract_robot_decorator.h.

◆ next_

std::unique_ptr<Abstract_robot> Abstract_robot_decorator::next_
protected

Definition at line 20 of file abstract_robot_decorator.h.


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


multi_cell_builder
Author(s): MA
autogenerated on Thu Jan 12 2023 23:45:43