Skip to main content

ScenarioInput Struct

Declaration

struct pro_rrt::ScenarioInput { ... }

Included Headers

#include <scenario_interface.hpp>

Public Member Attributes Index

std::stringplanning_group_name
std::vector< std::string >goal_joint_names
std::vector< double >goal_joint_positions
RRTParamsrrt_params {}
TrajectoryParamstrajectory_params {}
doublelink_padding = 0.0
boolkeep_orientation = false
doublekeep_orientation_tolerance = 0.05
std::vector< std::string >keep_orientation_link_names
std::vector< JointRangeEntry >joint_range_constraint

Description

Captured snapshot of every input that drives a planTrajectoryToJointGoal(...) call. Today captured by the PlanToJointGoal BT behavior, but the struct is behavior-agnostic — any caller that ends up invoking planTrajectoryToJointGoal could fill this in. Constraints are stored in name/scalar form (link names + tolerance, joint-name + lower/upper) because the world_pose_reference for orientation constraints and the joint-index lookup for joint-range constraints are recomputed from the captured planning scene at replay time — they cannot be serialized in isolation.

Definition at line 43 of file scenario_interface.hpp.

Public Member Attributes

goal_joint_names

std::vector<std::string> pro_rrt::ScenarioInput::goal_joint_names

Definition at line 48 of file scenario_interface.hpp.

goal_joint_positions

std::vector<double> pro_rrt::ScenarioInput::goal_joint_positions

Definition at line 49 of file scenario_interface.hpp.

joint_range_constraint

std::vector<JointRangeEntry> pro_rrt::ScenarioInput::joint_range_constraint

Definition at line 59 of file scenario_interface.hpp.

keep_orientation

bool pro_rrt::ScenarioInput::keep_orientation = false

Definition at line 56 of file scenario_interface.hpp.

keep_orientation_link_names

std::vector<std::string> pro_rrt::ScenarioInput::keep_orientation_link_names

Definition at line 58 of file scenario_interface.hpp.

keep_orientation_tolerance

double pro_rrt::ScenarioInput::keep_orientation_tolerance = 0.05

Definition at line 57 of file scenario_interface.hpp.

link_padding

double pro_rrt::ScenarioInput::link_padding = 0.0

Definition at line 53 of file scenario_interface.hpp.

planning_group_name

std::string pro_rrt::ScenarioInput::planning_group_name

Definition at line 45 of file scenario_interface.hpp.

rrt_params

RRTParams pro_rrt::ScenarioInput::rrt_params {}

Definition at line 51 of file scenario_interface.hpp.

trajectory_params

TrajectoryParams pro_rrt::ScenarioInput::trajectory_params {}

Definition at line 52 of file scenario_interface.hpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.