Classes | Functions | Variables
generate_state_database.cpp File Reference
#include <moveit/ompl_interface/ompl_interface.h>
#include <moveit/ompl_interface/detail/constraints_library.h>
#include <moveit/robot_model_loader/robot_model_loader.h>
#include <moveit/profiler/profiler.h>
#include <moveit/planning_scene_monitor/planning_scene_monitor.h>
#include <moveit/robot_state/conversions.h>
#include <moveit/kinematic_constraints/utils.h>
#include <moveit/utils/message_checks.h>
#include <boost/math/constants/constants.hpp>
#include <sstream>
Include dependency graph for generate_state_database.cpp:

Go to the source code of this file.

Classes

struct  GenerateStateDatabaseParameters
 

Functions

void computeDB (const planning_scene::PlanningScenePtr &scene, struct GenerateStateDatabaseParameters &params)
 
int main (int argc, char **argv)
 

Variables

static const std::string CONSTRAINT_PARAMETER = "constraints"
 
constexpr char LOGNAME [] = "generate_state_database"
 
static const std::string ROBOT_DESCRIPTION = "robot_description"
 

Function Documentation

◆ computeDB()

void computeDB ( const planning_scene::PlanningScenePtr &  scene,
struct GenerateStateDatabaseParameters params 
)

Definition at line 118 of file generate_state_database.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Generates a database of states that follow the given constraints. An example of the constraint yaml that should be loaded to rosparam: "name: tool0_upright constraints:

  • type: orientation frame_id: world link_name: tool0 orientation: [0, 0, 0] tolerances: [0.01, 0.01, 3.15] weight: 1.0 "

Definition at line 165 of file generate_state_database.cpp.

Variable Documentation

◆ CONSTRAINT_PARAMETER

const std::string CONSTRAINT_PARAMETER = "constraints"
static

Definition at line 56 of file generate_state_database.cpp.

◆ LOGNAME

constexpr char LOGNAME[] = "generate_state_database"
constexpr

Definition at line 52 of file generate_state_database.cpp.

◆ ROBOT_DESCRIPTION

const std::string ROBOT_DESCRIPTION = "robot_description"
static

Definition at line 54 of file generate_state_database.cpp.



ompl
Author(s): Ioan Sucan
autogenerated on Wed Feb 21 2024 03:26:02