robot_env_evaluator 1.0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
robot_env_evaluator::RobotPresetInterface Class Referenceabstract

the Interface class for the robot preset. Inherit this class to create a new robot preset. More...

#include <robot_presets.hpp>

Inheritance diagram for robot_env_evaluator::RobotPresetInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void getPresetRobot (pinocchio::Model &model, std::string &ee_name, std::vector< std::string > &joint_names, pinocchio::GeometryModel &collision_model)=0
 Get the Preset Robot object.
 
virtual bool isFrankaRobot () const
 Check if the robot is a Franka robot.
 

Detailed Description

the Interface class for the robot preset. Inherit this class to create a new robot preset.

Definition at line 34 of file robot_presets.hpp.

Member Function Documentation

◆ getPresetRobot()

virtual void robot_env_evaluator::RobotPresetInterface::getPresetRobot ( pinocchio::Model &  model,
std::string &  ee_name,
std::vector< std::string > &  joint_names,
pinocchio::GeometryModel &  collision_model 
)
pure virtual

Get the Preset Robot object.

Parameters
[out]modelThe robot model output
[out]ee_nameThe end-effector name output
[out]joint_namesThe joint names output
[out]collision_modelThe collision model output

This is a pure virtual function, which should be implemented with exact same signature in the derived class.

Implemented in robot_env_evaluator::FrankaEmikaPreset, and robot_env_evaluator::FrankaEmikaNoHandPreset.

◆ isFrankaRobot()

virtual bool robot_env_evaluator::RobotPresetInterface::isFrankaRobot ( ) const
inlinevirtual

Check if the robot is a Franka robot.

Reimplemented in robot_env_evaluator::FrankaEmikaPreset, and robot_env_evaluator::FrankaEmikaNoHandPreset.

Definition at line 54 of file robot_presets.hpp.


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