Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
gazebo::GazeboRosKatanaGripper Class Reference

#include <gazebo_ros_katana_gripper.h>

Inheritance diagram for gazebo::GazeboRosKatanaGripper:
Inheritance graph
[legend]

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 ()
 
void updateGains ()
 

Private Attributes

katana_gazebo_plugins::IGazeboRosKatanaGripperActionactive_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::NodeHandlerosnode_
 
boost::thread * spinner_thread_
 
float torque_
 Torque applied to the joints. More...
 
event::ConnectionPtr updateConnection
 

Static Private Attributes

static const size_t NUM_JOINTS = 2
 

Detailed Description

Definition at line 46 of file gazebo_ros_katana_gripper.h.

Constructor & Destructor Documentation

GazeboRosKatanaGripper::GazeboRosKatanaGripper ( )

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.

Member Function Documentation

void GazeboRosKatanaGripper::FiniChild ( )
virtual

Definition at line 148 of file gazebo_ros_katana_gripper.cpp.

void GazeboRosKatanaGripper::InitChild ( )
virtual

Definition at line 138 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 296 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 257 of file gazebo_ros_katana_gripper.cpp.

void GazeboRosKatanaGripper::UpdateChild ( )
virtual

Definition at line 153 of file gazebo_ros_katana_gripper.cpp.

void GazeboRosKatanaGripper::updateGains ( )
private

Definition at line 284 of file gazebo_ros_katana_gripper.cpp.

Member Data Documentation

katana_gazebo_plugins::IGazeboRosKatanaGripperAction* gazebo::GazeboRosKatanaGripper::active_gripper_action_
private

Definition at line 89 of file gazebo_ros_katana_gripper.h.

ros::Publisher gazebo::GazeboRosKatanaGripper::controller_state_pub_
private

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.

physics::WorldPtr gazebo::GazeboRosKatanaGripper::my_world_
private

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
staticprivate

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.

ros::NodeHandle* gazebo::GazeboRosKatanaGripper::rosnode_
private

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.

event::ConnectionPtr gazebo::GazeboRosKatanaGripper::updateConnection
private

Definition at line 87 of file gazebo_ros_katana_gripper.h.


The documentation for this class was generated from the following files:


katana_gazebo_plugins
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:10