#include <gripper_click_grasp_adjust.h>
Classes | |
struct | ClickInfo |
Public Member Functions | |
virtual void | getGripperParams (bool &visible, Ogre::Vector3 &position, Ogre::Quaternion &orientation, float &angle) |
virtual bool | getResult (GripperClickPickupResult &result) |
GripperClickGraspAdjust () | |
virtual bool | hasValidResult () |
virtual void | hide () |
virtual void | init (rviz::VisualizationManager *vis_manager, Ogre::SceneManager *scene_manager, Ogre::SceneNode *camera_node) |
virtual void | onRenderWindowMouseEvents (wxMouseEvent &event, Ogre::Ray &mouse_ray) |
virtual bool | setGoal (const GripperClickPickupGoal::ConstPtr &goal) |
virtual void | show () |
virtual void | update (float wall_dt, float ros_dt) |
~GripperClickGraspAdjust () | |
Protected Member Functions | |
void | receiveGraspAdjustAction (const actionlib::SimpleClientGoalState &state, const pr2_grasp_adjust::GraspAdjustResultConstPtr &result) |
void | requestGraspAdjustAction () |
Protected Attributes | |
ActionClient | action_client_ |
sensor_msgs::CameraInfo | camera_info_ |
stereo_msgs::DisparityImage | disparity_image_ |
ClickInfo | dlb_ |
std::vector< float > | gripper_angle_ |
std::vector< float > | gripper_approach_ |
int | gripper_index_ |
std::vector< float > | gripper_roll_ |
std::vector< float > | gripper_score_ |
std::vector< btTransform > | gripper_transform_ |
ClickInfo | lb_ |
Ogre::ManualObject * | line_object_ |
ClickInfo | mb_ |
ClickInfo | rb_ |
Ogre::SceneNode * | scene_node_ |
bool | valid_transform_ |
Definition at line 58 of file gripper_click_grasp_adjust.h.
pr2_gripper_click::GripperClickGraspAdjust::GripperClickGraspAdjust | ( | ) |
Definition at line 51 of file gripper_click_grasp_adjust.cpp.
pr2_gripper_click::GripperClickGraspAdjust::~GripperClickGraspAdjust | ( | ) |
Definition at line 63 of file gripper_click_grasp_adjust.cpp.
void pr2_gripper_click::GripperClickGraspAdjust::getGripperParams | ( | bool & | visible, | |
Ogre::Vector3 & | position, | |||
Ogre::Quaternion & | orientation, | |||
float & | angle | |||
) | [virtual] |
Reimplemented from pr2_gripper_click::GripperClickPlugin< GripperClickPickupAction >.
Definition at line 121 of file gripper_click_grasp_adjust.cpp.
bool pr2_gripper_click::GripperClickGraspAdjust::getResult | ( | GripperClickPickupResult & | result | ) | [virtual] |
Definition at line 334 of file gripper_click_grasp_adjust.cpp.
virtual bool pr2_gripper_click::GripperClickGraspAdjust::hasValidResult | ( | ) | [inline, virtual] |
Implements pr2_gripper_click::GripperClickPlugin< GripperClickPickupAction >.
Definition at line 77 of file gripper_click_grasp_adjust.h.
void pr2_gripper_click::GripperClickGraspAdjust::hide | ( | ) | [virtual] |
Implements pr2_gripper_click::GripperClickPlugin< GripperClickPickupAction >.
Definition at line 116 of file gripper_click_grasp_adjust.cpp.
void pr2_gripper_click::GripperClickGraspAdjust::init | ( | rviz::VisualizationManager * | vis_manager, | |
Ogre::SceneManager * | scene_manager, | |||
Ogre::SceneNode * | camera_node | |||
) | [virtual] |
Implements pr2_gripper_click::GripperClickPlugin< GripperClickPickupAction >.
Definition at line 70 of file gripper_click_grasp_adjust.cpp.
void pr2_gripper_click::GripperClickGraspAdjust::onRenderWindowMouseEvents | ( | wxMouseEvent & | event, | |
Ogre::Ray & | mouse_ray | |||
) | [virtual] |
Implements pr2_gripper_click::GripperClickPlugin< GripperClickPickupAction >.
Definition at line 218 of file gripper_click_grasp_adjust.cpp.
void pr2_gripper_click::GripperClickGraspAdjust::receiveGraspAdjustAction | ( | const actionlib::SimpleClientGoalState & | state, | |
const pr2_grasp_adjust::GraspAdjustResultConstPtr & | result | |||
) | [protected] |
Definition at line 142 of file gripper_click_grasp_adjust.cpp.
void pr2_gripper_click::GripperClickGraspAdjust::requestGraspAdjustAction | ( | ) | [protected] |
Definition at line 171 of file gripper_click_grasp_adjust.cpp.
bool pr2_gripper_click::GripperClickGraspAdjust::setGoal | ( | const GripperClickPickupGoal::ConstPtr & | goal | ) | [virtual] |
Definition at line 100 of file gripper_click_grasp_adjust.cpp.
void pr2_gripper_click::GripperClickGraspAdjust::show | ( | ) | [virtual] |
Implements pr2_gripper_click::GripperClickPlugin< GripperClickPickupAction >.
Definition at line 111 of file gripper_click_grasp_adjust.cpp.
void pr2_gripper_click::GripperClickGraspAdjust::update | ( | float | wall_dt, | |
float | ros_dt | |||
) | [virtual] |
Implements pr2_gripper_click::GripperClickPlugin< GripperClickPickupAction >.
Definition at line 138 of file gripper_click_grasp_adjust.cpp.
Definition at line 121 of file gripper_click_grasp_adjust.h.
sensor_msgs::CameraInfo pr2_gripper_click::GripperClickGraspAdjust::camera_info_ [protected] |
Definition at line 117 of file gripper_click_grasp_adjust.h.
stereo_msgs::DisparityImage pr2_gripper_click::GripperClickGraspAdjust::disparity_image_ [protected] |
Definition at line 116 of file gripper_click_grasp_adjust.h.
Definition at line 109 of file gripper_click_grasp_adjust.h.
std::vector<float> pr2_gripper_click::GripperClickGraspAdjust::gripper_angle_ [protected] |
Definition at line 103 of file gripper_click_grasp_adjust.h.
std::vector<float> pr2_gripper_click::GripperClickGraspAdjust::gripper_approach_ [protected] |
Definition at line 106 of file gripper_click_grasp_adjust.h.
int pr2_gripper_click::GripperClickGraspAdjust::gripper_index_ [protected] |
Definition at line 102 of file gripper_click_grasp_adjust.h.
std::vector<float> pr2_gripper_click::GripperClickGraspAdjust::gripper_roll_ [protected] |
Definition at line 105 of file gripper_click_grasp_adjust.h.
std::vector<float> pr2_gripper_click::GripperClickGraspAdjust::gripper_score_ [protected] |
Definition at line 104 of file gripper_click_grasp_adjust.h.
std::vector<btTransform> pr2_gripper_click::GripperClickGraspAdjust::gripper_transform_ [protected] |
Definition at line 107 of file gripper_click_grasp_adjust.h.
Definition at line 109 of file gripper_click_grasp_adjust.h.
Ogre::ManualObject* pr2_gripper_click::GripperClickGraspAdjust::line_object_ [protected] |
Definition at line 114 of file gripper_click_grasp_adjust.h.
Definition at line 109 of file gripper_click_grasp_adjust.h.
Definition at line 109 of file gripper_click_grasp_adjust.h.
Ogre::SceneNode* pr2_gripper_click::GripperClickGraspAdjust::scene_node_ [protected] |
Definition at line 119 of file gripper_click_grasp_adjust.h.
bool pr2_gripper_click::GripperClickGraspAdjust::valid_transform_ [protected] |
Definition at line 111 of file gripper_click_grasp_adjust.h.