#include <chomp_optimizer.h>
Definition at line 48 of file chomp_optimizer.h.
chomp::ChompOptimizer::ChompOptimizer | ( | ChompTrajectory * | trajectory, | |
const ChompRobotModel * | robot_model, | |||
const ChompRobotModel::ChompPlanningGroup * | planning_group, | |||
const ChompParameters * | parameters, | |||
const ros::Publisher & | vis_marker_array_publisher, | |||
const ros::Publisher & | vis_marker_publisher, | |||
ChompCollisionSpace * | collision_space | |||
) |
Definition at line 49 of file chomp_optimizer.cpp.
chomp::ChompOptimizer::~ChompOptimizer | ( | ) | [virtual] |
Definition at line 170 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::addIncrementsToTrajectory | ( | ) | [private] |
Definition at line 371 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::animateEndeffector | ( | ) | [private] |
Definition at line 690 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::animatePath | ( | ) | [private] |
Definition at line 680 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::calculateCollisionIncrements | ( | ) | [private] |
Definition at line 296 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::calculatePseudoInverse | ( | ) | [private] |
Definition at line 349 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::calculateSmoothnessIncrements | ( | ) | [private] |
Definition at line 286 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::calculateTotalIncrements | ( | ) | [private] |
Definition at line 355 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::debugCost | ( | ) | [private] |
Definition at line 396 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::eigenMapTest | ( | ) | [private] |
Definition at line 591 of file chomp_optimizer.cpp.
double chomp::ChompOptimizer::getCollisionCost | ( | ) | [private] |
Definition at line 419 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::getRandomMomentum | ( | ) | [private] |
Definition at line 651 of file chomp_optimizer.cpp.
double chomp::ChompOptimizer::getSmoothnessCost | ( | ) | [private] |
Definition at line 409 of file chomp_optimizer.cpp.
double chomp::ChompOptimizer::getTrajectoryCost | ( | ) | [private] |
Definition at line 404 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::handleJointLimits | ( | ) | [private] |
Definition at line 445 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::initialize | ( | ) | [private] |
Definition at line 67 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::optimize | ( | ) |
Definition at line 174 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::performForwardKinematics | ( | ) | [private] |
Definition at line 501 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::perturbTrajectory | ( | ) | [private] |
Definition at line 627 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::updateFullTrajectory | ( | ) | [private] |
Definition at line 391 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::updateMomentum | ( | ) | [private] |
Definition at line 663 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::updatePositionFromMomentum | ( | ) | [private] |
Definition at line 674 of file chomp_optimizer.cpp.
void chomp::ChompOptimizer::visualizeState | ( | int | index | ) | [private] |
Definition at line 721 of file chomp_optimizer.cpp.
Definition at line 123 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::best_group_trajectory_ [private] |
Definition at line 92 of file chomp_optimizer.h.
double chomp::ChompOptimizer::best_group_trajectory_cost_ [private] |
Definition at line 93 of file chomp_optimizer.h.
int chomp::ChompOptimizer::collision_free_iteration_ [private] |
Definition at line 66 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::collision_increments_ [private] |
Definition at line 109 of file chomp_optimizer.h.
std::vector<std::vector<KDL::Vector> > chomp::ChompOptimizer::collision_point_acc_ [private] |
Definition at line 81 of file chomp_optimizer.h.
std::vector<std::vector<Eigen::Map<Eigen::Vector3d> > > chomp::ChompOptimizer::collision_point_acc_eigen_ [private] |
Definition at line 87 of file chomp_optimizer.h.
std::vector<std::vector<KDL::Vector> > chomp::ChompOptimizer::collision_point_pos_ [private] |
Definition at line 79 of file chomp_optimizer.h.
std::vector<std::vector<Eigen::Map<Eigen::Vector3d> > > chomp::ChompOptimizer::collision_point_pos_eigen_ [private] |
Definition at line 85 of file chomp_optimizer.h.
std::vector<std::vector<double> > chomp::ChompOptimizer::collision_point_potential_ [private] |
Definition at line 88 of file chomp_optimizer.h.
std::vector<std::vector<Eigen::Vector3d> > chomp::ChompOptimizer::collision_point_potential_gradient_ [private] |
Definition at line 90 of file chomp_optimizer.h.
std::vector<std::vector<KDL::Vector> > chomp::ChompOptimizer::collision_point_vel_ [private] |
Definition at line 80 of file chomp_optimizer.h.
std::vector<std::vector<Eigen::Map<Eigen::Vector3d> > > chomp::ChompOptimizer::collision_point_vel_eigen_ [private] |
Definition at line 86 of file chomp_optimizer.h.
std::vector<std::vector<double> > chomp::ChompOptimizer::collision_point_vel_mag_ [private] |
Definition at line 89 of file chomp_optimizer.h.
Definition at line 71 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::final_increments_ [private] |
Definition at line 110 of file chomp_optimizer.h.
int chomp::ChompOptimizer::free_vars_end_ [private] |
Definition at line 64 of file chomp_optimizer.h.
int chomp::ChompOptimizer::free_vars_start_ [private] |
Definition at line 63 of file chomp_optimizer.h.
Definition at line 67 of file chomp_optimizer.h.
std::vector<int> chomp::ChompOptimizer::group_joint_to_kdl_joint_index_ [private] |
Definition at line 74 of file chomp_optimizer.h.
Definition at line 72 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::group_trajectory_backup_ [private] |
Definition at line 91 of file chomp_optimizer.h.
bool chomp::ChompOptimizer::is_collision_free_ [private] |
Definition at line 105 of file chomp_optimizer.h.
int chomp::ChompOptimizer::iteration_ [private] |
Definition at line 65 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::jacobian_ [private] |
Definition at line 115 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::jacobian_jacobian_tranpose_ [private] |
Definition at line 117 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::jacobian_pseudo_inverse_ [private] |
Definition at line 116 of file chomp_optimizer.h.
std::vector<std::vector<KDL::Vector> > chomp::ChompOptimizer::joint_axis_ [private] |
Definition at line 76 of file chomp_optimizer.h.
std::vector<std::vector<Eigen::Map<Eigen::Vector3d> > > chomp::ChompOptimizer::joint_axis_eigen_ [private] |
Definition at line 83 of file chomp_optimizer.h.
std::vector<ChompCost> chomp::ChompOptimizer::joint_costs_ [private] |
Definition at line 73 of file chomp_optimizer.h.
std::vector<std::vector<KDL::Vector> > chomp::ChompOptimizer::joint_pos_ [private] |
Definition at line 77 of file chomp_optimizer.h.
std::vector<std::vector<Eigen::Map<Eigen::Vector3d> > > chomp::ChompOptimizer::joint_pos_eigen_ [private] |
Definition at line 84 of file chomp_optimizer.h.
Eigen::VectorXd chomp::ChompOptimizer::joint_state_velocities_ [private] |
Definition at line 119 of file chomp_optimizer.h.
KDL::JntArray chomp::ChompOptimizer::kdl_joint_array_ [private] |
Definition at line 114 of file chomp_optimizer.h.
int chomp::ChompOptimizer::last_improvement_iteration_ [private] |
Definition at line 94 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::momentum_ [private] |
Definition at line 97 of file chomp_optimizer.h.
std::vector<MultivariateGaussian> chomp::ChompOptimizer::multivariate_gaussian_ [private] |
Definition at line 100 of file chomp_optimizer.h.
int chomp::ChompOptimizer::num_collision_points_ [private] |
Definition at line 62 of file chomp_optimizer.h.
int chomp::ChompOptimizer::num_joints_ [private] |
Definition at line 59 of file chomp_optimizer.h.
int chomp::ChompOptimizer::num_vars_all_ [private] |
Definition at line 61 of file chomp_optimizer.h.
int chomp::ChompOptimizer::num_vars_free_ [private] |
Definition at line 60 of file chomp_optimizer.h.
const ChompParameters* chomp::ChompOptimizer::parameters_ [private] |
Definition at line 70 of file chomp_optimizer.h.
Definition at line 69 of file chomp_optimizer.h.
std::vector<std::vector<int> > chomp::ChompOptimizer::point_is_in_collision_ [private] |
Definition at line 104 of file chomp_optimizer.h.
Eigen::VectorXd chomp::ChompOptimizer::random_joint_momentum_ [private] |
Definition at line 99 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::random_momentum_ [private] |
Definition at line 98 of file chomp_optimizer.h.
Eigen::VectorXd chomp::ChompOptimizer::random_state_ [private] |
Definition at line 118 of file chomp_optimizer.h.
const ChompRobotModel* chomp::ChompOptimizer::robot_model_ [private] |
Definition at line 68 of file chomp_optimizer.h.
std::vector<std::vector<KDL::Frame> > chomp::ChompOptimizer::segment_frames_ [private] |
Definition at line 78 of file chomp_optimizer.h.
Eigen::VectorXd chomp::ChompOptimizer::smoothness_derivative_ [private] |
Definition at line 113 of file chomp_optimizer.h.
Eigen::MatrixXd chomp::ChompOptimizer::smoothness_increments_ [private] |
Definition at line 108 of file chomp_optimizer.h.
std::vector<int> chomp::ChompOptimizer::state_is_in_collision_ [private] |
Array containing a boolean about collision info for each point in the trajectory
Definition at line 103 of file chomp_optimizer.h.
double chomp::ChompOptimizer::stochasticity_factor_ [private] |
Definition at line 101 of file chomp_optimizer.h.
ros::Publisher chomp::ChompOptimizer::vis_marker_array_pub_ [private] |
Definition at line 121 of file chomp_optimizer.h.
ros::Publisher chomp::ChompOptimizer::vis_marker_pub_ [private] |
Definition at line 122 of file chomp_optimizer.h.
double chomp::ChompOptimizer::worst_collision_cost_state_ [private] |
Definition at line 106 of file chomp_optimizer.h.