#include <cartesian_gripper_control_tool.h>
Public Types | |
enum | StatusT { IDLE, CONTROL } |
Public Member Functions | |
virtual void | activate () |
CartesianGripperControlTool (const std::string &name, char shortcut_key, rviz::VisualizationManager *manager) | |
virtual void | deactivate () |
virtual void | enumerateProperties (rviz::PropertyManager *property_manager, const rviz::CategoryPropertyWPtr &parent) |
const CartesianGripperControl & | getLeftControl () |
const CartesianGripperControl & | getRightControl () |
const bool & | getUseRobotCoords () |
virtual bool | hasProperties () |
virtual int | processMouseEvent (rviz::ViewportMouseEvent &event) |
void | setUseRobotCoords (bool use) |
virtual void | update (float wall_dt, float ros_dt) |
virtual | ~CartesianGripperControlTool () |
Protected Attributes | |
CartesianGripperControl * | active_control_ |
CartesianGripperControl | left_control_ |
CartesianGripperControl | right_control_ |
StatusT | status_ |
ros::Subscriber | tf_sub_ |
bool | use_robot_coords_ |
rviz::BoolPropertyWPtr | use_robot_coords_property_ |
Definition at line 50 of file cartesian_gripper_control_tool.h.
Definition at line 72 of file cartesian_gripper_control_tool.h.
pr2_interactive_manipulation::CartesianGripperControlTool::CartesianGripperControlTool | ( | const std::string & | name, | |
char | shortcut_key, | |||
rviz::VisualizationManager * | manager | |||
) |
Definition at line 41 of file cartesian_gripper_control_tool.cpp.
pr2_interactive_manipulation::CartesianGripperControlTool::~CartesianGripperControlTool | ( | ) | [virtual] |
Definition at line 52 of file cartesian_gripper_control_tool.cpp.
void pr2_interactive_manipulation::CartesianGripperControlTool::activate | ( | ) | [virtual] |
Definition at line 56 of file cartesian_gripper_control_tool.cpp.
void pr2_interactive_manipulation::CartesianGripperControlTool::deactivate | ( | ) | [virtual] |
Definition at line 65 of file cartesian_gripper_control_tool.cpp.
void pr2_interactive_manipulation::CartesianGripperControlTool::enumerateProperties | ( | rviz::PropertyManager * | property_manager, | |
const rviz::CategoryPropertyWPtr & | parent | |||
) | [virtual] |
Definition at line 126 of file cartesian_gripper_control_tool.cpp.
const CartesianGripperControl& pr2_interactive_manipulation::CartesianGripperControlTool::getLeftControl | ( | ) | [inline] |
Definition at line 61 of file cartesian_gripper_control_tool.h.
const CartesianGripperControl& pr2_interactive_manipulation::CartesianGripperControlTool::getRightControl | ( | ) | [inline] |
Definition at line 62 of file cartesian_gripper_control_tool.h.
const bool& pr2_interactive_manipulation::CartesianGripperControlTool::getUseRobotCoords | ( | ) | [inline] |
Definition at line 70 of file cartesian_gripper_control_tool.h.
virtual bool pr2_interactive_manipulation::CartesianGripperControlTool::hasProperties | ( | ) | [inline, virtual] |
Definition at line 66 of file cartesian_gripper_control_tool.h.
int pr2_interactive_manipulation::CartesianGripperControlTool::processMouseEvent | ( | rviz::ViewportMouseEvent & | event | ) | [virtual] |
Definition at line 78 of file cartesian_gripper_control_tool.cpp.
void pr2_interactive_manipulation::CartesianGripperControlTool::setUseRobotCoords | ( | bool | use | ) |
Definition at line 135 of file cartesian_gripper_control_tool.cpp.
void pr2_interactive_manipulation::CartesianGripperControlTool::update | ( | float | wall_dt, | |
float | ros_dt | |||
) | [virtual] |
Definition at line 71 of file cartesian_gripper_control_tool.cpp.
CartesianGripperControl* pr2_interactive_manipulation::CartesianGripperControlTool::active_control_ [protected] |
Definition at line 84 of file cartesian_gripper_control_tool.h.
CartesianGripperControl pr2_interactive_manipulation::CartesianGripperControlTool::left_control_ [protected] |
Definition at line 82 of file cartesian_gripper_control_tool.h.
CartesianGripperControl pr2_interactive_manipulation::CartesianGripperControlTool::right_control_ [protected] |
Definition at line 83 of file cartesian_gripper_control_tool.h.
Definition at line 90 of file cartesian_gripper_control_tool.h.
ros::Subscriber pr2_interactive_manipulation::CartesianGripperControlTool::tf_sub_ [protected] |
Definition at line 80 of file cartesian_gripper_control_tool.h.
Definition at line 88 of file cartesian_gripper_control_tool.h.
rviz::BoolPropertyWPtr pr2_interactive_manipulation::CartesianGripperControlTool::use_robot_coords_property_ [protected] |
Definition at line 86 of file cartesian_gripper_control_tool.h.