#include <interactive_manipulation_frame.h>
Classes | |
struct | DialogOptions |
struct | GraspInfo |
Public Member Functions | |
InteractiveManipulationFrame (InteractiveManipulationDisplay *display, wxWindow *parent, rviz::VisualizationManager *manager) | |
void | setAdvancedGraspOptions (AdvancedGraspOptions ago) |
void | update () |
~InteractiveManipulationFrame () | |
Protected Member Functions | |
virtual void | advancedOptionsClicked (wxCommandEvent &event) |
virtual void | armGoButtonClicked (wxCommandEvent &event) |
void | armMotion (int arm_selection_choice, int arm_action_choice, int arm_planner_choice, bool collision) |
virtual void | cancelButtonClicked (wxCommandEvent &event) |
virtual void | collisionBoxClicked (wxCommandEvent &event) |
void | collisionReset (int reset_choice) |
void | executeGrasp (DialogOptions options, AdvancedGraspOptions ago) |
void | executePlace (DialogOptions options, AdvancedGraspOptions ago) |
void | executeRecognizedObjectGrasp (DialogOptions options, AdvancedGraspOptions ago, object_manipulation_msgs::GraspableObject object) |
DialogOptions | getDialogOptions () |
std::string | getGraspableObjectName (const object_manipulation_msgs::GraspableObject &obj) |
void | graspableObjectsCallback (const pr2_interactive_object_detection::GraspableObjectListConstPtr &objects) |
virtual void | graspButtonClicked (wxCommandEvent &event) |
virtual void | gripperSliderScrollChanged (wxScrollEvent &event) |
void | lookAtTable () |
virtual void | lookButtonClicked (wxCommandEvent &event) |
void | modeledObjectsCallback (const pr2_create_object_model::ObjectInHandConstPtr &object) |
void | modelObject (DialogOptions options) |
virtual void | modelObjectClicked (wxCommandEvent &event) |
void | moveGripper (int arm_selection_choice, double value) |
virtual void | placeButtonClicked (wxCommandEvent &event) |
virtual void | resetButtonClicked (wxCommandEvent &event) |
void | setStatusLabel (std::string text) |
void | takeMap () |
virtual void | takeMapButtonClicked (wxCommandEvent &event) |
Protected Attributes | |
AdvancedGraspOptions | ago_ |
tabletop_collision_map_processing::CollisionMapInterface | collision_map_interface_ |
std::string | create_model_action_name_ |
actionlib::SimpleActionClient < pr2_create_object_model::ModelObjectInHandAction > * | create_model_client_ |
InteractiveManipulationDisplay * | display_ |
boost::thread * | executing_thread_ |
ros::ServiceClient | get_model_description_srv_ |
GraspInfo | grasp_info_left_ |
GraspInfo | grasp_info_right_ |
std::string | grasp_planning_service_name_ |
ros::ServiceClient | grasp_planning_srv_ |
std::vector < object_manipulation_msgs::GraspableObject > | graspable_objects_ |
ros::Subscriber | graspable_objects_sub_ |
bool | interrupt_request_ |
GripperController | l_gripper_controller_ |
object_manipulator::MechanismInterface | mech_interface_ |
boost::mutex | modeled_object_mutex_ |
ros::Subscriber | modeled_object_sub_ |
boost::mutex | mutex_ |
bool | new_object_list_ |
boost::mutex | object_list_mutex_ |
ObjectSelectionFrame * | object_selection_frame_ |
std::string | pickup_action_name_ |
actionlib::SimpleActionClient < object_manipulation_msgs::PickupAction > * | pickup_client_ |
std::string | place_action_name_ |
actionlib::SimpleActionClient < object_manipulation_msgs::PlaceAction > * | place_client_ |
std::string | place_planning_service_name_ |
ros::ServiceClient | place_planning_srv_ |
ros::NodeHandle | priv_nh_ |
GripperController | r_gripper_controller_ |
pr2_interactive_object_detection::GraspableObjectListConstPtr | received_objects_ |
ros::NodeHandle | root_nh_ |
boost::mutex | status_label_mutex_ |
std::string | status_label_text_ |
Definition at line 60 of file interactive_manipulation_frame.h.
pr2_interactive_manipulation::InteractiveManipulationFrame::InteractiveManipulationFrame | ( | InteractiveManipulationDisplay * | display, | |
wxWindow * | parent, | |||
rviz::VisualizationManager * | manager | |||
) |
Definition at line 49 of file interactive_manipulation_frame.cpp.
pr2_interactive_manipulation::InteractiveManipulationFrame::~InteractiveManipulationFrame | ( | ) |
Definition at line 93 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::advancedOptionsClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1251 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::armGoButtonClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1222 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::armMotion | ( | int | arm_selection_choice, | |
int | arm_action_choice, | |||
int | arm_planner_choice, | |||
bool | collision | |||
) | [protected] |
Definition at line 1012 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::cancelButtonClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1242 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::collisionBoxClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1247 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::collisionReset | ( | int | reset_choice | ) | [protected] |
Definition at line 960 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::executeGrasp | ( | DialogOptions | options, | |
AdvancedGraspOptions | ago | |||
) | [protected] |
Definition at line 499 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::executePlace | ( | DialogOptions | options, | |
AdvancedGraspOptions | ago | |||
) | [protected] |
Definition at line 705 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::executeRecognizedObjectGrasp | ( | DialogOptions | options, | |
AdvancedGraspOptions | ago, | |||
object_manipulation_msgs::GraspableObject | object | |||
) | [protected] |
Definition at line 333 of file interactive_manipulation_frame.cpp.
InteractiveManipulationFrame::DialogOptions pr2_interactive_manipulation::InteractiveManipulationFrame::getDialogOptions | ( | ) | [protected] |
Definition at line 197 of file interactive_manipulation_frame.cpp.
std::string pr2_interactive_manipulation::InteractiveManipulationFrame::getGraspableObjectName | ( | const object_manipulation_msgs::GraspableObject & | obj | ) | [protected] |
Definition at line 143 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::graspableObjectsCallback | ( | const pr2_interactive_object_detection::GraspableObjectListConstPtr & | objects | ) | [protected] |
Definition at line 113 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::graspButtonClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 888 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::gripperSliderScrollChanged | ( | wxScrollEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1335 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::lookAtTable | ( | ) | [protected] |
Definition at line 1196 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::lookButtonClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1235 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::modeledObjectsCallback | ( | const pr2_create_object_model::ObjectInHandConstPtr & | object | ) | [protected] |
Definition at line 121 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::modelObject | ( | DialogOptions | options | ) | [protected] |
Definition at line 1258 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::modelObjectClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1310 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::moveGripper | ( | int | arm_selection_choice, | |
double | value | |||
) | [protected] |
Definition at line 1319 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::placeButtonClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 907 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::resetButtonClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 1004 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::setAdvancedGraspOptions | ( | AdvancedGraspOptions | ago | ) | [inline] |
Definition at line 70 of file interactive_manipulation_frame.h.
void pr2_interactive_manipulation::InteractiveManipulationFrame::setStatusLabel | ( | std::string | text | ) | [protected] |
Definition at line 137 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::takeMap | ( | ) | [protected] |
Definition at line 916 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::takeMapButtonClicked | ( | wxCommandEvent & | event | ) | [protected, virtual] |
Reimplemented from InteractiveManipulationFrameBase.
Definition at line 952 of file interactive_manipulation_frame.cpp.
void pr2_interactive_manipulation::InteractiveManipulationFrame::update | ( | ) |
Definition at line 211 of file interactive_manipulation_frame.cpp.
Definition at line 218 of file interactive_manipulation_frame.h.
tabletop_collision_map_processing::CollisionMapInterface pr2_interactive_manipulation::InteractiveManipulationFrame::collision_map_interface_ [protected] |
Definition at line 195 of file interactive_manipulation_frame.h.
std::string pr2_interactive_manipulation::InteractiveManipulationFrame::create_model_action_name_ [protected] |
Definition at line 193 of file interactive_manipulation_frame.h.
actionlib::SimpleActionClient<pr2_create_object_model::ModelObjectInHandAction>* pr2_interactive_manipulation::InteractiveManipulationFrame::create_model_client_ [protected] |
Definition at line 204 of file interactive_manipulation_frame.h.
InteractiveManipulationDisplay* pr2_interactive_manipulation::InteractiveManipulationFrame::display_ [protected] |
Definition at line 159 of file interactive_manipulation_frame.h.
boost::thread* pr2_interactive_manipulation::InteractiveManipulationFrame::executing_thread_ [protected] |
Definition at line 173 of file interactive_manipulation_frame.h.
ros::ServiceClient pr2_interactive_manipulation::InteractiveManipulationFrame::get_model_description_srv_ [protected] |
Definition at line 165 of file interactive_manipulation_frame.h.
Definition at line 216 of file interactive_manipulation_frame.h.
Definition at line 214 of file interactive_manipulation_frame.h.
std::string pr2_interactive_manipulation::InteractiveManipulationFrame::grasp_planning_service_name_ [protected] |
Definition at line 187 of file interactive_manipulation_frame.h.
ros::ServiceClient pr2_interactive_manipulation::InteractiveManipulationFrame::grasp_planning_srv_ [protected] |
Definition at line 163 of file interactive_manipulation_frame.h.
std::vector<object_manipulation_msgs::GraspableObject> pr2_interactive_manipulation::InteractiveManipulationFrame::graspable_objects_ [protected] |
Definition at line 207 of file interactive_manipulation_frame.h.
ros::Subscriber pr2_interactive_manipulation::InteractiveManipulationFrame::graspable_objects_sub_ [protected] |
Definition at line 166 of file interactive_manipulation_frame.h.
Definition at line 185 of file interactive_manipulation_frame.h.
GripperController pr2_interactive_manipulation::InteractiveManipulationFrame::l_gripper_controller_ [protected] |
Definition at line 199 of file interactive_manipulation_frame.h.
object_manipulator::MechanismInterface pr2_interactive_manipulation::InteractiveManipulationFrame::mech_interface_ [protected] |
Definition at line 197 of file interactive_manipulation_frame.h.
boost::mutex pr2_interactive_manipulation::InteractiveManipulationFrame::modeled_object_mutex_ [protected] |
Definition at line 181 of file interactive_manipulation_frame.h.
ros::Subscriber pr2_interactive_manipulation::InteractiveManipulationFrame::modeled_object_sub_ [protected] |
Definition at line 167 of file interactive_manipulation_frame.h.
boost::mutex pr2_interactive_manipulation::InteractiveManipulationFrame::mutex_ [protected] |
Definition at line 175 of file interactive_manipulation_frame.h.
Definition at line 212 of file interactive_manipulation_frame.h.
boost::mutex pr2_interactive_manipulation::InteractiveManipulationFrame::object_list_mutex_ [protected] |
Definition at line 179 of file interactive_manipulation_frame.h.
ObjectSelectionFrame* pr2_interactive_manipulation::InteractiveManipulationFrame::object_selection_frame_ [protected] |
Definition at line 161 of file interactive_manipulation_frame.h.
std::string pr2_interactive_manipulation::InteractiveManipulationFrame::pickup_action_name_ [protected] |
Definition at line 190 of file interactive_manipulation_frame.h.
actionlib::SimpleActionClient<object_manipulation_msgs::PickupAction>* pr2_interactive_manipulation::InteractiveManipulationFrame::pickup_client_ [protected] |
Definition at line 202 of file interactive_manipulation_frame.h.
std::string pr2_interactive_manipulation::InteractiveManipulationFrame::place_action_name_ [protected] |
Definition at line 191 of file interactive_manipulation_frame.h.
actionlib::SimpleActionClient<object_manipulation_msgs::PlaceAction>* pr2_interactive_manipulation::InteractiveManipulationFrame::place_client_ [protected] |
Definition at line 203 of file interactive_manipulation_frame.h.
std::string pr2_interactive_manipulation::InteractiveManipulationFrame::place_planning_service_name_ [protected] |
Definition at line 188 of file interactive_manipulation_frame.h.
ros::ServiceClient pr2_interactive_manipulation::InteractiveManipulationFrame::place_planning_srv_ [protected] |
Definition at line 164 of file interactive_manipulation_frame.h.
ros::NodeHandle pr2_interactive_manipulation::InteractiveManipulationFrame::priv_nh_ [protected] |
Definition at line 171 of file interactive_manipulation_frame.h.
GripperController pr2_interactive_manipulation::InteractiveManipulationFrame::r_gripper_controller_ [protected] |
Definition at line 200 of file interactive_manipulation_frame.h.
pr2_interactive_object_detection::GraspableObjectListConstPtr pr2_interactive_manipulation::InteractiveManipulationFrame::received_objects_ [protected] |
Definition at line 210 of file interactive_manipulation_frame.h.
ros::NodeHandle pr2_interactive_manipulation::InteractiveManipulationFrame::root_nh_ [protected] |
Definition at line 169 of file interactive_manipulation_frame.h.
boost::mutex pr2_interactive_manipulation::InteractiveManipulationFrame::status_label_mutex_ [protected] |
Definition at line 177 of file interactive_manipulation_frame.h.
std::string pr2_interactive_manipulation::InteractiveManipulationFrame::status_label_text_ [protected] |
Definition at line 183 of file interactive_manipulation_frame.h.