Definition at line 104 of file book_stacking.cpp.
book_stacking::book_stacking | ( | ) | [inline] |
Definition at line 201 of file book_stacking.cpp.
double book_stacking::calculateHowMuchToPush | ( | book_stacking_msgs::ObjectInfo | objInfo | ) | [inline] |
Definition at line 553 of file book_stacking.cpp.
bool book_stacking::callQueryFK | ( | kinematics_msgs::GetKinematicSolverInfo::Response & | response | ) | [inline] |
Definition at line 1301 of file book_stacking.cpp.
bool book_stacking::callQueryIK | ( | kinematics_msgs::GetKinematicSolverInfo::Response & | response | ) | [inline] |
Definition at line 1326 of file book_stacking.cpp.
bool book_stacking::checkIfRightGripperHoldsObject | ( | ) | [inline] |
Definition at line 1670 of file book_stacking.cpp.
void book_stacking::CloseLeftGripper | ( | ) | [inline] |
Definition at line 1828 of file book_stacking.cpp.
void book_stacking::CloseRightGripper | ( | ) | [inline] |
Definition at line 1851 of file book_stacking.cpp.
void book_stacking::commandCallback | ( | const std_msgs::String::ConstPtr & | msg | ) | [inline] |
Definition at line 220 of file book_stacking.cpp.
pr2_controllers_msgs::JointTrajectoryGoal book_stacking::createRightArmHomingTrajectory | ( | ) | [inline] |
Definition at line 1488 of file book_stacking.cpp.
pr2_controllers_msgs::JointTrajectoryGoal book_stacking::createRightArmTrajectoryFromAngles | ( | std::vector< arm_config_7DOF > | qs, |
std::vector< double > | ts | ||
) | [inline] |
Definition at line 1452 of file book_stacking.cpp.
double book_stacking::DetermineDragDistance | ( | book_stacking_msgs::ObjectInfo | objInfo | ) | [inline] |
Definition at line 597 of file book_stacking.cpp.
bool book_stacking::DragObject | ( | book_stacking_msgs::DragRequest | drag_req, |
double & | output_dist | ||
) | [inline] |
Definition at line 2558 of file book_stacking.cpp.
void book_stacking::drawHull | ( | pcl::PointCloud< Point > | hull_pts, |
const ros::Publisher & | plane_pub, | ||
float | r, | ||
float | g, | ||
float | b | ||
) | [inline] |
Definition at line 399 of file book_stacking.cpp.
bool book_stacking::ExecuteDragAction | ( | geometry_msgs::Vector3Stamped | desired_dir, |
double | desired_dist, | ||
DragActionTemplate | drag_act | ||
) | [inline] |
Definition at line 2091 of file book_stacking.cpp.
bool book_stacking::ExecuteGraspAction | ( | DragActionTemplate | drag_act | ) | [inline] |
Definition at line 2265 of file book_stacking.cpp.
void book_stacking::ExecuteNavWaypoints | ( | book_stacking_msgs::NavWaypoints | goals | ) | [inline] |
Definition at line 566 of file book_stacking.cpp.
bool book_stacking::ExecutePlaceAction | ( | DragActionTemplate | drag_act | ) | [inline] |
Definition at line 2218 of file book_stacking.cpp.
bool book_stacking::ExploreDragAction | ( | book_stacking_msgs::ObjectInfo | objInfo, |
geometry_msgs::Vector3Stamped | desired_dir, | ||
double | desired_dist, | ||
double & | output_dist, | ||
DragActionTemplate & | drag_act, | ||
geometry_msgs::PoseStamped & | queried_pose_wrt_torso_lift_link | ||
) | [inline] |
Definition at line 2168 of file book_stacking.cpp.
bool book_stacking::ExploreGraspAction | ( | book_stacking_msgs::ObjectInfo | objInfo, |
double & | output_dist, | ||
DragActionTemplate & | grasp_act, | ||
geometry_msgs::PoseStamped & | queried_pose_wrt_torso_lift_link | ||
) | [inline] |
Definition at line 2377 of file book_stacking.cpp.
bool book_stacking::ExploreLinearMoveAction | ( | double | dx, |
double | dy, | ||
double | dz, | ||
arm_config_7DOF | q_seed, | ||
bool | move_as_much_you_can, | ||
double & | path_distance, | ||
arm_config_7DOF & | q_solution | ||
) | [inline] |
Definition at line 1696 of file book_stacking.cpp.
bool book_stacking::ExplorePlaceAction | ( | book_stacking_msgs::ObjectInfo | objInfo, |
double & | output_dist, | ||
DragActionTemplate & | grasp_act, | ||
geometry_msgs::PoseStamped & | queried_pose_wrt_torso_lift_link | ||
) | [inline] |
Definition at line 2327 of file book_stacking.cpp.
void book_stacking::FingertipLeftCallback | ( | const pr2_msgs::PressureState::ConstPtr & | msg | ) | [inline] |
Definition at line 1857 of file book_stacking.cpp.
void book_stacking::FingertipRightCallback | ( | const pr2_msgs::PressureState::ConstPtr & | msg | ) | [inline] |
Definition at line 1868 of file book_stacking.cpp.
Definition at line 1554 of file book_stacking.cpp.
double book_stacking::getEuclidianDist | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) | [inline] |
Definition at line 559 of file book_stacking.cpp.
Definition at line 1543 of file book_stacking.cpp.
bool book_stacking::getInitTable | ( | bool | refreshScan | ) | [inline] |
Definition at line 445 of file book_stacking.cpp.
bool book_stacking::getOdomPose | ( | double & | x, |
double & | y, | ||
double & | yaw, | ||
const ros::Time & | t | ||
) | [inline] |
Definition at line 786 of file book_stacking.cpp.
int book_stacking::getShortestObjectIndex | ( | book_stacking_msgs::ObjectInfos | allObjectInfos | ) | [inline] |
Definition at line 1117 of file book_stacking.cpp.
bool book_stacking::getTablePlane | ( | XYZPointCloud & | cloud, |
book_stacking_msgs::PlaneInfo & | pl_info, | ||
bool | draw_marker | ||
) | [inline] |
Definition at line 3022 of file book_stacking.cpp.
int book_stacking::getTallestObjectIndex | ( | book_stacking_msgs::ObjectInfos | allObjectInfos | ) | [inline] |
Definition at line 1093 of file book_stacking.cpp.
bool book_stacking::GetTiltingPointCloud | ( | bool | refreshScan | ) | [inline] |
Definition at line 1912 of file book_stacking.cpp.
bool book_stacking::GraspObject | ( | int | object_index, |
book_stacking_msgs::ObjectInfos | allObjectInfos, | ||
double & | output_dist | ||
) | [inline] |
Definition at line 2492 of file book_stacking.cpp.
void book_stacking::HomeRightArm | ( | ) | [inline] |
Definition at line 1152 of file book_stacking.cpp.
void book_stacking::InitializeRobot | ( | ) | [inline] |
Definition at line 1351 of file book_stacking.cpp.
void book_stacking::KinectCallback | ( | const sensor_msgs::PointCloud2ConstPtr & | cloud_msg | ) | [inline] |
Definition at line 2981 of file book_stacking.cpp.
void book_stacking::LoadParameters | ( | ) | [inline] |
Definition at line 1994 of file book_stacking.cpp.
void book_stacking::log_IK | ( | ) | [inline] |
Definition at line 1268 of file book_stacking.cpp.
void book_stacking::lookAt | ( | std::string | frame_id, |
double | x, | ||
double | y, | ||
double | z | ||
) | [inline] |
Definition at line 2050 of file book_stacking.cpp.
bool book_stacking::MoveBasePosition | ( | move_base_msgs::MoveBaseGoal | goal | ) | [inline] |
Definition at line 1159 of file book_stacking.cpp.
void book_stacking::moveTorsoToPosition | ( | double | d | ) | [inline] |
Definition at line 1983 of file book_stacking.cpp.
bool book_stacking::NavigateToObject | ( | book_stacking_msgs::ObjectInfo | objInfo | ) | [inline] |
Definition at line 669 of file book_stacking.cpp.
bool book_stacking::OmnixAdjustBaseForOptimalWorkspace | ( | geometry_msgs::PoseStamped | queried_pose_wrt_torso_lift_link | ) | [inline] |
Definition at line 1197 of file book_stacking.cpp.
bool book_stacking::OmnixAdjustBaseForOptimalWorkspaceForGrasping | ( | geometry_msgs::PoseStamped | queried_pose_wrt_torso_lift_link | ) | [inline] |
Definition at line 1172 of file book_stacking.cpp.
bool book_stacking::OmnixMoveBasePosition | ( | move_base_msgs::MoveBaseGoal | goal | ) | [inline] |
Definition at line 1223 of file book_stacking.cpp.
void book_stacking::OpenLeftGripper | ( | ) | [inline] |
Definition at line 1823 of file book_stacking.cpp.
void book_stacking::OpenRightGripper | ( | ) | [inline] |
Definition at line 1846 of file book_stacking.cpp.
bool book_stacking::PickUpBook | ( | int | object_index | ) | [inline] |
Definition at line 910 of file book_stacking.cpp.
bool book_stacking::PlaceEndEffector | ( | bool | use_right_arm, |
ArmActionClient * | arm_ac_client_, | ||
arm_navigation_msgs::SimplePoseConstraint & | desired_pose, | ||
bool | disable_gripper | ||
) | [inline] |
Definition at line 2612 of file book_stacking.cpp.
bool book_stacking::PlaceObject | ( | int | object_index, |
double & | output_dist | ||
) | [inline] |
Definition at line 2426 of file book_stacking.cpp.
bool book_stacking::plan0 | ( | ) | [inline] |
Definition at line 1036 of file book_stacking.cpp.
bool book_stacking::run_fk | ( | arm_config_7DOF | q, |
geometry_msgs::PoseStamped & | solution, | ||
kinematics_msgs::GetKinematicSolverInfo::Response | fk_solver_info | ||
) | [inline] |
Definition at line 1579 of file book_stacking.cpp.
bool book_stacking::run_ik | ( | geometry_msgs::PoseStamped | pose, |
arm_config_7DOF | q_seed, | ||
arm_config_7DOF & | q_solution, | ||
std::string | link_name, | ||
kinematics_msgs::GetKinematicSolverInfo::Response | ik_solver_info | ||
) | [inline] |
Definition at line 1626 of file book_stacking.cpp.
void book_stacking::SaveAllObjectsInOdomCombined | ( | book_stacking_msgs::ObjectInfos | allObjectInfos | ) | [inline] |
Definition at line 837 of file book_stacking.cpp.
unsigned int book_stacking::ScanAndGetTableAndObjects | ( | book_stacking_msgs::PlaneInfo & | latest_table_plane_info, |
book_stacking_msgs::ObjectInfos & | allObjectInfos, | ||
bool | refreshScan | ||
) | [inline] |
Definition at line 812 of file book_stacking.cpp.
void book_stacking::SendLeftGripperCommand | ( | double | pos, |
double | effort | ||
) | [inline] |
Definition at line 1810 of file book_stacking.cpp.
bool book_stacking::SendRightEndEffectorTrajectory | ( | pr2_controllers_msgs::JointTrajectoryGoal | traj, |
bool | stop_when_contact | ||
) | [inline] |
Definition at line 1750 of file book_stacking.cpp.
void book_stacking::SendRightGripperCommand | ( | double | pos, |
double | effort | ||
) | [inline] |
Definition at line 1833 of file book_stacking.cpp.
bool book_stacking::SetMoveArmGoal | ( | double | x, |
double | y, | ||
double | z | ||
) | [inline] |
Definition at line 2755 of file book_stacking.cpp.
void book_stacking::shakeHead | ( | int | n | ) | [inline] |
Definition at line 2078 of file book_stacking.cpp.
void book_stacking::TestArm | ( | ) | [inline] |
Definition at line 2802 of file book_stacking.cpp.
void book_stacking::TestArm2 | ( | ) | [inline] |
Definition at line 2866 of file book_stacking.cpp.
void book_stacking::TestArm3 | ( | ) | [inline] |
Definition at line 2923 of file book_stacking.cpp.
void book_stacking::TestCollision | ( | ) | [inline] |
Definition at line 576 of file book_stacking.cpp.
void book_stacking::TiltTimingCallback | ( | const pr2_msgs::LaserScannerSignal::ConstPtr & | msg | ) | [inline] |
Definition at line 1797 of file book_stacking.cpp.
bool book_stacking::TrackObject | ( | int | object_index, |
book_stacking_msgs::ObjectInfos | allObjectInfos, | ||
double | max_matching_dist | ||
) | [inline] |
Definition at line 864 of file book_stacking.cpp.
book_stacking_msgs::ObjectInfos book_stacking::all_objects_wrt_odom_combined [private] |
Definition at line 187 of file book_stacking.cpp.
std::vector<double> book_stacking::all_objects_x_wrt_odom_combined [private] |
Definition at line 188 of file book_stacking.cpp.
std::vector<double> book_stacking::all_objects_y_wrt_odom_combined [private] |
Definition at line 189 of file book_stacking.cpp.
std::vector<double> book_stacking::all_objects_z_wrt_odom_combined [private] |
Definition at line 190 of file book_stacking.cpp.
std::string book_stacking::base_frame_tf [private] |
Definition at line 164 of file book_stacking.cpp.
Definition at line 112 of file book_stacking.cpp.
Definition at line 198 of file book_stacking.cpp.
bool book_stacking::concave_hull_mode_ [private] |
Definition at line 136 of file book_stacking.cpp.
double book_stacking::diff_drag_force [private] |
Definition at line 156 of file book_stacking.cpp.
bool book_stacking::downsample_cloud [private] |
Definition at line 135 of file book_stacking.cpp.
double book_stacking::downsample_grid_size_ [private] |
Definition at line 142 of file book_stacking.cpp.
bool book_stacking::enable_nav [private] |
Definition at line 173 of file book_stacking.cpp.
bool book_stacking::filter_outliers [private] |
Definition at line 134 of file book_stacking.cpp.
int book_stacking::filter_outliers_meank [private] |
Definition at line 130 of file book_stacking.cpp.
double book_stacking::filter_outliers_stddev_thresh [private] |
Definition at line 144 of file book_stacking.cpp.
bool book_stacking::filter_spatial [private] |
Definition at line 139 of file book_stacking.cpp.
double book_stacking::filter_spatial_xmax [private] |
Definition at line 145 of file book_stacking.cpp.
double book_stacking::filter_spatial_xmin [private] |
Definition at line 145 of file book_stacking.cpp.
double book_stacking::filter_spatial_ymax [private] |
Definition at line 146 of file book_stacking.cpp.
double book_stacking::filter_spatial_ymin [private] |
Definition at line 146 of file book_stacking.cpp.
double book_stacking::filter_spatial_zmax [private] |
Definition at line 147 of file book_stacking.cpp.
double book_stacking::filter_spatial_zmin [private] |
Definition at line 147 of file book_stacking.cpp.
Definition at line 194 of file book_stacking.cpp.
double book_stacking::FINGERTIP_CONTACT_THRESHOLD [private] |
Definition at line 177 of file book_stacking.cpp.
Definition at line 110 of file book_stacking.cpp.
Definition at line 159 of file book_stacking.cpp.
bool book_stacking::got_init_table [private] |
Definition at line 174 of file book_stacking.cpp.
double book_stacking::grasp_offset_from_com [private] |
Definition at line 191 of file book_stacking.cpp.
Definition at line 109 of file book_stacking.cpp.
Definition at line 158 of file book_stacking.cpp.
geometry_msgs::Point32 book_stacking::init_table_centroid [private] |
Definition at line 184 of file book_stacking.cpp.
pcl::PointCloud<Point> book_stacking::init_table_hull [private] |
Definition at line 183 of file book_stacking.cpp.
book_stacking_msgs::PlaneInfo book_stacking::init_table_plane_info [private] |
Definition at line 182 of file book_stacking.cpp.
double book_stacking::init_torso_position [private] |
Definition at line 151 of file book_stacking.cpp.
Definition at line 115 of file book_stacking.cpp.
Definition at line 111 of file book_stacking.cpp.
XYZPointCloud book_stacking::latest_cloud [private] |
Definition at line 175 of file book_stacking.cpp.
bool book_stacking::latest_pt_cloud_ready [private] |
Definition at line 171 of file book_stacking.cpp.
Definition at line 165 of file book_stacking.cpp.
GripperClient* book_stacking::left_gripper_client_ [private] |
Definition at line 127 of file book_stacking.cpp.
std::ofstream book_stacking::logFile [private] |
Definition at line 180 of file book_stacking.cpp.
int book_stacking::max_planes_ [private] |
Definition at line 133 of file book_stacking.cpp.
int book_stacking::max_sac_iterations_ [private] |
Definition at line 132 of file book_stacking.cpp.
int book_stacking::min_plane_inliers_ [private] |
Definition at line 131 of file book_stacking.cpp.
MoveBaseClient* book_stacking::move_base_client_ [private] |
Definition at line 123 of file book_stacking.cpp.
Definition at line 122 of file book_stacking.cpp.
Definition at line 121 of file book_stacking.cpp.
Definition at line 193 of file book_stacking.cpp.
book_stacking_msgs::NavWaypoints book_stacking::nav_waypoint_goals [private] |
Definition at line 186 of file book_stacking.cpp.
double book_stacking::nav_waypoint_offset [private] |
Definition at line 178 of file book_stacking.cpp.
pcl::PointCloud<Point> book_stacking::nav_waypoints [private] |
Definition at line 185 of file book_stacking.cpp.
double book_stacking::normal_search_radius_ [private] |
Definition at line 141 of file book_stacking.cpp.
Definition at line 196 of file book_stacking.cpp.
Definition at line 124 of file book_stacking.cpp.
double book_stacking::optimal_workspace_wrt_torso_x [private] |
Definition at line 149 of file book_stacking.cpp.
double book_stacking::optimal_workspace_wrt_torso_x_grasping [private] |
Definition at line 150 of file book_stacking.cpp.
double book_stacking::optimal_workspace_wrt_torso_y [private] |
Definition at line 149 of file book_stacking.cpp.
double book_stacking::optimal_workspace_wrt_torso_y_grasping [private] |
Definition at line 150 of file book_stacking.cpp.
double book_stacking::optimal_workspace_wrt_torso_z [private] |
Definition at line 149 of file book_stacking.cpp.
double book_stacking::optimal_workspace_wrt_torso_z_grasping [private] |
Definition at line 150 of file book_stacking.cpp.
PickupClient* book_stacking::pickup_client_ [private] |
Definition at line 125 of file book_stacking.cpp.
double book_stacking::plane_distance_thresh_ [private] |
Definition at line 140 of file book_stacking.cpp.
Definition at line 195 of file book_stacking.cpp.
Definition at line 113 of file book_stacking.cpp.
PointHeadClient* book_stacking::point_head_client_ [private] |
Definition at line 118 of file book_stacking.cpp.
double book_stacking::predrag_dist [private] |
Definition at line 152 of file book_stacking.cpp.
double book_stacking::pregrasp_dist [private] |
Definition at line 153 of file book_stacking.cpp.
double book_stacking::pregrasp_dist_vertical [private] |
Definition at line 155 of file book_stacking.cpp.
double book_stacking::preplace_dist [private] |
Definition at line 154 of file book_stacking.cpp.
Definition at line 114 of file book_stacking.cpp.
Definition at line 169 of file book_stacking.cpp.
Definition at line 167 of file book_stacking.cpp.
Definition at line 168 of file book_stacking.cpp.
Definition at line 166 of file book_stacking.cpp.
std::vector<short int> book_stacking::right_arm_l_finger_tip_nominals [private] |
Definition at line 161 of file book_stacking.cpp.
std::vector<short int> book_stacking::right_arm_r_finger_tip_nominals [private] |
Definition at line 162 of file book_stacking.cpp.
Definition at line 126 of file book_stacking.cpp.
Definition at line 160 of file book_stacking.cpp.
bool book_stacking::robot_initialized [private] |
Definition at line 170 of file book_stacking.cpp.
ros::NodeHandle book_stacking::root_handle_ [private] |
Definition at line 108 of file book_stacking.cpp.
double book_stacking::sac_probability_ [private] |
Definition at line 143 of file book_stacking.cpp.
double book_stacking::table_obj_detector_lower_z [private] |
Definition at line 148 of file book_stacking.cpp.
double book_stacking::table_obj_detector_upper_z [private] |
Definition at line 148 of file book_stacking.cpp.
bool book_stacking::test_arms [private] |
Definition at line 172 of file book_stacking.cpp.
Definition at line 128 of file book_stacking.cpp.
Definition at line 179 of file book_stacking.cpp.
Definition at line 179 of file book_stacking.cpp.
double book_stacking::tilt_period [private] |
Definition at line 176 of file book_stacking.cpp.
Definition at line 116 of file book_stacking.cpp.
Definition at line 117 of file book_stacking.cpp.
TorsoClient* book_stacking::torso_client_ [private] |
Definition at line 119 of file book_stacking.cpp.
TrajClient* book_stacking::traj_right_arm_client_ [private] |
Definition at line 120 of file book_stacking.cpp.
bool book_stacking::use_normal_seg_ [private] |
Definition at line 137 of file book_stacking.cpp.
bool book_stacking::use_omp_ [private] |
Definition at line 138 of file book_stacking.cpp.
Definition at line 197 of file book_stacking.cpp.
std::string book_stacking::workspace_frame [private] |
Definition at line 163 of file book_stacking.cpp.