#include <arm_sim_controller.h>
Public Member Functions | |
SimpleArmPlugin () | |
virtual | ~SimpleArmPlugin () |
Protected Member Functions | |
virtual void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
virtual void | Reset () |
virtual void | Update () |
Private Member Functions | |
void | JointsCallback (const sensor_msgs::JointStateConstPtr &) |
Private Attributes | |
ros::CallbackQueue | callback_queue_ |
double | jointMaxEfforts_ [NUM_JOINTS] |
common::PID | jointPIDs_ [NUM_JOINTS] |
double | jointPositions_ [NUM_JOINTS] |
physics::JointPtr | joints_ [NUM_JOINTS] |
The joints refered to by this plugin. | |
ros::Subscriber | joints_subscriber_ |
std::string | joints_topic_ |
sensor_msgs::JointState | jointsstates_ |
double | jointVelocities_ [NUM_JOINTS] |
physics::ModelPtr | model_ |
The model refered to by this plugin. | |
std::string | namespace_ |
ros::NodeHandle * | node_handle_ |
common::Time | prevUpdateTime_ |
save last_time | |
event::ConnectionPtr | updateConnection_ |
Pointer to the update event connection. |
Definition at line 44 of file arm_sim_controller.h.
Definition at line 37 of file arm_sim_controller.cpp.
gazebo::SimpleArmPlugin::~SimpleArmPlugin | ( | ) | [virtual] |
Definition at line 40 of file arm_sim_controller.cpp.
void gazebo::SimpleArmPlugin::JointsCallback | ( | const sensor_msgs::JointStateConstPtr & | _msg | ) | [private] |
Definition at line 161 of file arm_sim_controller.cpp.
void gazebo::SimpleArmPlugin::Load | ( | physics::ModelPtr | _model, |
sdf::ElementPtr | _sdf | ||
) | [protected, virtual] |
Definition at line 49 of file arm_sim_controller.cpp.
void gazebo::SimpleArmPlugin::Reset | ( | ) | [protected, virtual] |
Definition at line 201 of file arm_sim_controller.cpp.
void gazebo::SimpleArmPlugin::Update | ( | ) | [protected, virtual] |
Definition at line 173 of file arm_sim_controller.cpp.
Definition at line 64 of file arm_sim_controller.h.
double gazebo::SimpleArmPlugin::jointMaxEfforts_[NUM_JOINTS] [private] |
Definition at line 80 of file arm_sim_controller.h.
common::PID gazebo::SimpleArmPlugin::jointPIDs_[NUM_JOINTS] [private] |
Definition at line 77 of file arm_sim_controller.h.
double gazebo::SimpleArmPlugin::jointPositions_[NUM_JOINTS] [private] |
Definition at line 78 of file arm_sim_controller.h.
physics::JointPtr gazebo::SimpleArmPlugin::joints_[NUM_JOINTS] [private] |
The joints refered to by this plugin.
Definition at line 61 of file arm_sim_controller.h.
Definition at line 65 of file arm_sim_controller.h.
std::string gazebo::SimpleArmPlugin::joints_topic_ [private] |
Definition at line 68 of file arm_sim_controller.h.
sensor_msgs::JointState gazebo::SimpleArmPlugin::jointsstates_ [private] |
Definition at line 71 of file arm_sim_controller.h.
double gazebo::SimpleArmPlugin::jointVelocities_[NUM_JOINTS] [private] |
Definition at line 79 of file arm_sim_controller.h.
physics::ModelPtr gazebo::SimpleArmPlugin::model_ [private] |
The model refered to by this plugin.
Definition at line 58 of file arm_sim_controller.h.
std::string gazebo::SimpleArmPlugin::namespace_ [private] |
Definition at line 67 of file arm_sim_controller.h.
Definition at line 63 of file arm_sim_controller.h.
common::Time gazebo::SimpleArmPlugin::prevUpdateTime_ [private] |
save last_time
Definition at line 75 of file arm_sim_controller.h.
Pointer to the update event connection.
Definition at line 83 of file arm_sim_controller.h.