#include <gazebo_ros_katana_gripper.h>
Public Member Functions | |
virtual void | FiniChild () |
GazeboRosKatanaGripper () | |
virtual void | InitChild () |
virtual void | Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf) |
virtual void | UpdateChild () |
virtual | ~GazeboRosKatanaGripper () |
Private Member Functions | |
void | spin () |
void | updateActiveGripperAction () |
Private Attributes | |
katana_gazebo_plugins::IGazeboRosKatanaGripperAction * | active_gripper_action_ |
ros::Publisher | controller_state_pub_ |
std::vector < katana_gazebo_plugins::IGazeboRosKatanaGripperAction * > | gripper_action_list_ |
std::vector< std::string > | joint_names_ |
physics::JointPtr | joints_ [NUM_JOINTS] |
physics::ModelPtr | my_parent_ |
physics::WorldPtr | my_world_ |
std::string | node_namespace_ |
control_toolbox::Pid | pid_controller_ |
common::Time | prev_update_time_ |
short | publish_counter_ |
ros::NodeHandle * | rosnode_ |
boost::thread * | spinner_thread_ |
float | torque_ |
Torque applied to the joints. | |
event::ConnectionPtr | updateConnection |
Static Private Attributes | |
static const size_t | NUM_JOINTS = 2 |
Definition at line 46 of file gazebo_ros_katana_gripper.h.
Definition at line 32 of file gazebo_ros_katana_gripper.cpp.
GazeboRosKatanaGripper::~GazeboRosKatanaGripper | ( | ) | [virtual] |
Definition at line 44 of file gazebo_ros_katana_gripper.cpp.
void GazeboRosKatanaGripper::FiniChild | ( | ) | [virtual] |
Definition at line 143 of file gazebo_ros_katana_gripper.cpp.
void GazeboRosKatanaGripper::InitChild | ( | ) | [virtual] |
Definition at line 137 of file gazebo_ros_katana_gripper.cpp.
void GazeboRosKatanaGripper::Load | ( | physics::ModelPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) | [virtual] |
Definition at line 59 of file gazebo_ros_katana_gripper.cpp.
void GazeboRosKatanaGripper::spin | ( | ) | [private] |
Definition at line 278 of file gazebo_ros_katana_gripper.cpp.
void GazeboRosKatanaGripper::updateActiveGripperAction | ( | ) | [private] |
Checks for new goals, if found changes the active_gripper_action_ member
Definition at line 251 of file gazebo_ros_katana_gripper.cpp.
void GazeboRosKatanaGripper::UpdateChild | ( | ) | [virtual] |
Definition at line 148 of file gazebo_ros_katana_gripper.cpp.
katana_gazebo_plugins::IGazeboRosKatanaGripperAction* gazebo::GazeboRosKatanaGripper::active_gripper_action_ [private] |
Definition at line 89 of file gazebo_ros_katana_gripper.h.
Definition at line 66 of file gazebo_ros_katana_gripper.h.
std::vector<katana_gazebo_plugins::IGazeboRosKatanaGripperAction*> gazebo::GazeboRosKatanaGripper::gripper_action_list_ [private] |
Definition at line 90 of file gazebo_ros_katana_gripper.h.
std::vector<std::string> gazebo::GazeboRosKatanaGripper::joint_names_ [private] |
Definition at line 69 of file gazebo_ros_katana_gripper.h.
physics::JointPtr gazebo::GazeboRosKatanaGripper::joints_[NUM_JOINTS] [private] |
Definition at line 79 of file gazebo_ros_katana_gripper.h.
physics::ModelPtr gazebo::GazeboRosKatanaGripper::my_parent_ [private] |
Definition at line 75 of file gazebo_ros_katana_gripper.h.
Definition at line 74 of file gazebo_ros_katana_gripper.h.
std::string gazebo::GazeboRosKatanaGripper::node_namespace_ [private] |
Definition at line 68 of file gazebo_ros_katana_gripper.h.
const size_t gazebo::GazeboRosKatanaGripper::NUM_JOINTS = 2 [static, private] |
Definition at line 61 of file gazebo_ros_katana_gripper.h.
control_toolbox::Pid gazebo::GazeboRosKatanaGripper::pid_controller_ [private] |
Definition at line 77 of file gazebo_ros_katana_gripper.h.
common::Time gazebo::GazeboRosKatanaGripper::prev_update_time_ [private] |
Definition at line 84 of file gazebo_ros_katana_gripper.h.
short gazebo::GazeboRosKatanaGripper::publish_counter_ [private] |
Definition at line 92 of file gazebo_ros_katana_gripper.h.
Definition at line 63 of file gazebo_ros_katana_gripper.h.
boost::thread* gazebo::GazeboRosKatanaGripper::spinner_thread_ [private] |
Definition at line 95 of file gazebo_ros_katana_gripper.h.
float gazebo::GazeboRosKatanaGripper::torque_ [private] |
Torque applied to the joints.
Definition at line 72 of file gazebo_ros_katana_gripper.h.
Definition at line 87 of file gazebo_ros_katana_gripper.h.