CollisionModelHelper Class Reference

#include <RobotAPI/libraries/obstacle_avoidance/CollisionModelHelper.h>

Public Types

using ManipulationObjectSet = std::vector< VirtualRobot::ManipulationObject >
 
using ManipulationObjectSetPtr = std::shared_ptr< ManipulationObjectSet >
 

Public Member Functions

 CollisionModelHelper (const objpose::ObjectPoseClient &client)
 
ManipulationObjectSetPtr fetchManipulationObjects ()
 
VirtualRobot::SceneObjectSetPtr fetchSceneObjects ()
 

Static Public Member Functions

static VirtualRobot::ManipulationObjectPtr asManipulationObject (const objpose::ObjectPose &objectPose)
 
static ManipulationObjectSetPtr asManipulationObjects (const objpose::ObjectPoseSeq &objectPoses)
 
static VirtualRobot::SceneObjectSetPtr asSceneObjects (const armem::vision::OccupancyGrid &occupancyGrid, const OccupancyGridHelper::Params &params)
 
static VirtualRobot::SceneObjectSetPtr asSceneObjects (const objpose::ObjectPoseSeq &objectPoses)
 
static void visualizeCollisionModel (const VirtualRobot::CollisionModelPtr &model, viz::Client &arviz)
 

Detailed Description

Definition at line 36 of file CollisionModelHelper.h.

Member Typedef Documentation

◆ ManipulationObjectSet

using ManipulationObjectSet = std::vector<VirtualRobot::ManipulationObject>

Definition at line 39 of file CollisionModelHelper.h.

◆ ManipulationObjectSetPtr

Definition at line 40 of file CollisionModelHelper.h.

Constructor & Destructor Documentation

◆ CollisionModelHelper()

Definition at line 126 of file CollisionModelHelper.cpp.

Member Function Documentation

◆ asManipulationObject()

VirtualRobot::ManipulationObjectPtr asManipulationObject ( const objpose::ObjectPose objectPose)
static

Definition at line 39 of file CollisionModelHelper.cpp.

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

◆ asManipulationObjects()

CollisionModelHelper::ManipulationObjectSetPtr asManipulationObjects ( const objpose::ObjectPoseSeq objectPoses)
static

Definition at line 146 of file CollisionModelHelper.cpp.

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

◆ asSceneObjects() [1/2]

VirtualRobot::SceneObjectSetPtr asSceneObjects ( const armem::vision::OccupancyGrid occupancyGrid,
const OccupancyGridHelper::Params params 
)
static

Definition at line 74 of file CollisionModelHelper.cpp.

+ Here is the call graph for this function:

◆ asSceneObjects() [2/2]

VirtualRobot::SceneObjectSetPtr asSceneObjects ( const objpose::ObjectPoseSeq objectPoses)
static

Definition at line 55 of file CollisionModelHelper.cpp.

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

◆ fetchManipulationObjects()

CollisionModelHelper::ManipulationObjectSetPtr fetchManipulationObjects ( )

Definition at line 139 of file CollisionModelHelper.cpp.

+ Here is the call graph for this function:

◆ fetchSceneObjects()

VirtualRobot::SceneObjectSetPtr fetchSceneObjects ( )

Definition at line 132 of file CollisionModelHelper.cpp.

+ Here is the call graph for this function:

◆ visualizeCollisionModel()

void visualizeCollisionModel ( const VirtualRobot::CollisionModelPtr &  model,
viz::Client arviz 
)
static

Definition at line 159 of file CollisionModelHelper.cpp.

+ Here is the call graph for this function:

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