Robowflex  v0.1
Making MoveIt Easy
robowflex::OMPL::Settings Class Reference

Settings descriptor for settings provided by the default MoveIt! OMPL planning pipeline. More...

#include <planning.h>

Public Member Functions

 Settings ()
 Constructor. Initialized here so an empty class can be used as default arguments in a function. More...
 
void setParam (IO::Handler &handler) const
 Sets member variables on the parameter server using handler. More...
 

Public Attributes

int max_goal_samples
 Maximum number of successful goal samples to keep. More...
 
int max_goal_sampling_attempts
 Maximum number of attempts to sample a goal. More...
 
int max_planning_threads
 Maximum number of threads used to service a request. More...
 
double max_solution_segment_length
 Maximum solution segment length. More...
 
int max_state_sampling_attempts
 Maximum number of attempts to sample a new state. More...
 
int minimum_waypoint_count
 Minimum number of waypoints in output path. More...
 
bool simplify_solutions
 Whether or not planner should simplify solutions. More...
 
bool hybridize_solutions
 Whether or not planner should hybridize solutions. More...
 
bool interpolate_solutions
 Whether or not planner should interpolate solutions. More...
 
bool use_constraints_approximations
 Absolute silliness. More...
 
bool display_random_valid_states
 N/A, defunct. More...
 
std::string link_for_exploration_tree
 N/A, defunct. More...
 
double maximum_waypoint_distance
 Maximum distance between waypoints in path. More...
 

Detailed Description

Settings descriptor for settings provided by the default MoveIt! OMPL planning pipeline.

Definition at line 300 of file robowflex_library/include/robowflex_library/planning.h.

Constructor & Destructor Documentation

◆ Settings()

OMPL::Settings::Settings ( )

Constructor. Initialized here so an empty class can be used as default arguments in a function.

OMPL::Settings

Definition at line 300 of file robowflex_library/src/planning.cpp.

301  : max_goal_samples(10)
307  , simplify_solutions(true)
308  , hybridize_solutions(true)
309  , interpolate_solutions(true)
314 {
315 }
int minimum_waypoint_count
Minimum number of waypoints in output path.
int max_goal_samples
Maximum number of successful goal samples to keep.
int max_state_sampling_attempts
Maximum number of attempts to sample a new state.
int max_planning_threads
Maximum number of threads used to service a request.
bool interpolate_solutions
Whether or not planner should interpolate solutions.
bool hybridize_solutions
Whether or not planner should hybridize solutions.
double max_solution_segment_length
Maximum solution segment length.
double maximum_waypoint_distance
Maximum distance between waypoints in path.
bool simplify_solutions
Whether or not planner should simplify solutions.
int max_goal_sampling_attempts
Maximum number of attempts to sample a goal.

Member Function Documentation

◆ setParam()

void OMPL::Settings::setParam ( IO::Handler handler) const

Sets member variables on the parameter server using handler.

Definition at line 317 of file robowflex_library/src/planning.cpp.

318 {
319  const std::string prefix = "ompl/";
320  handler.setParam(prefix + "max_goal_samples", max_goal_samples);
321  handler.setParam(prefix + "max_goal_sampling_attempts", max_goal_sampling_attempts);
322  handler.setParam(prefix + "max_planning_threads", max_planning_threads);
323  handler.setParam(prefix + "max_solution_segment_length", max_solution_segment_length);
324  handler.setParam(prefix + "max_state_sampling_attempts", max_state_sampling_attempts);
325  handler.setParam(prefix + "minimum_waypoint_count", minimum_waypoint_count);
326  handler.setParam(prefix + "simplify_solutions", simplify_solutions);
327  handler.setParam(prefix + "use_constraints_approximations", use_constraints_approximations);
328  handler.setParam(prefix + "display_random_valid_states", display_random_valid_states);
329  handler.setParam(prefix + "link_for_exploration_tree", link_for_exploration_tree);
330  handler.setParam(prefix + "maximum_waypoint_distance", maximum_waypoint_distance);
331 }
void setParam(const std::string &key, const T &value)
Sets a parameter on the parameter server.
Definition: handler.h:53

Member Data Documentation

◆ display_random_valid_states

bool robowflex::OMPL::Settings::display_random_valid_states

N/A, defunct.

Definition at line 318 of file robowflex_library/include/robowflex_library/planning.h.

◆ hybridize_solutions

bool robowflex::OMPL::Settings::hybridize_solutions

Whether or not planner should hybridize solutions.

Definition at line 315 of file robowflex_library/include/robowflex_library/planning.h.

◆ interpolate_solutions

bool robowflex::OMPL::Settings::interpolate_solutions

Whether or not planner should interpolate solutions.

Definition at line 316 of file robowflex_library/include/robowflex_library/planning.h.

◆ link_for_exploration_tree

std::string robowflex::OMPL::Settings::link_for_exploration_tree

N/A, defunct.

Definition at line 319 of file robowflex_library/include/robowflex_library/planning.h.

◆ max_goal_samples

int robowflex::OMPL::Settings::max_goal_samples

Maximum number of successful goal samples to keep.

Definition at line 308 of file robowflex_library/include/robowflex_library/planning.h.

◆ max_goal_sampling_attempts

int robowflex::OMPL::Settings::max_goal_sampling_attempts

Maximum number of attempts to sample a goal.

Definition at line 309 of file robowflex_library/include/robowflex_library/planning.h.

◆ max_planning_threads

int robowflex::OMPL::Settings::max_planning_threads

Maximum number of threads used to service a request.

Definition at line 310 of file robowflex_library/include/robowflex_library/planning.h.

◆ max_solution_segment_length

double robowflex::OMPL::Settings::max_solution_segment_length

Maximum solution segment length.

Definition at line 311 of file robowflex_library/include/robowflex_library/planning.h.

◆ max_state_sampling_attempts

int robowflex::OMPL::Settings::max_state_sampling_attempts

Maximum number of attempts to sample a new state.

Definition at line 312 of file robowflex_library/include/robowflex_library/planning.h.

◆ maximum_waypoint_distance

double robowflex::OMPL::Settings::maximum_waypoint_distance

Maximum distance between waypoints in path.

Definition at line 320 of file robowflex_library/include/robowflex_library/planning.h.

◆ minimum_waypoint_count

int robowflex::OMPL::Settings::minimum_waypoint_count

Minimum number of waypoints in output path.

Definition at line 313 of file robowflex_library/include/robowflex_library/planning.h.

◆ simplify_solutions

bool robowflex::OMPL::Settings::simplify_solutions

Whether or not planner should simplify solutions.

Definition at line 314 of file robowflex_library/include/robowflex_library/planning.h.

◆ use_constraints_approximations

bool robowflex::OMPL::Settings::use_constraints_approximations

Absolute silliness.

Definition at line 317 of file robowflex_library/include/robowflex_library/planning.h.


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