Public Member Functions | Private Member Functions | Private Attributes
pmb2_hardware_gazebo::Pmb2HardwareGazebo Class Reference

#include <pmb2_hardware_gazebo.h>

Inheritance diagram for pmb2_hardware_gazebo::Pmb2HardwareGazebo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool initSim (const std::string &robot_namespace, ros::NodeHandle model_nh, gazebo::physics::ModelPtr parent_model, const urdf::Model *const urdf_model, std::vector< transmission_interface::TransmissionInfo > transmissions)
 Pmb2HardwareGazebo ()
void readSim (ros::Time time, ros::Duration period)
void writeSim (ros::Time time, ros::Duration period)

Private Member Functions

template<class T >
std::string containerToString (const T &cont, const std::string &prefix)

Private Attributes

double base_ang_vel_ [3]
double base_lin_acc_ [3]
double base_orientation_ [4]
gazebo::sensors::ImuSensor * imu_sensor_
hardware_interface::ImuSensorInterface imu_sensor_interface_
std::vector< double > jnt_eff_
std::vector< double > jnt_pos_
std::vector< double > jnt_pos_cmd_
std::vector< double > jnt_pos_cmd_curr_
hardware_interface::PositionJointInterface jnt_pos_cmd_interface_
hardware_interface::JointStateInterface jnt_state_interface_
std::vector< double > jnt_vel_
std::vector< double > jnt_vel_cmd_
hardware_interface::VelocityJointInterface jnt_vel_cmd_interface_
unsigned int n_dof_
std::vector< control_toolbox::Pidpids_
joint_limits_interface::PositionJointSoftLimitsInterface pos_jnt_limits_interface_
unsigned int pos_n_dof_
std::vector
< gazebo::physics::JointPtr > 
pos_sim_joints_
std::vector
< gazebo::physics::JointPtr > 
sim_joints_
std::vector< std::string > transmission_names_
joint_limits_interface::VelocityJointSaturationInterface vel_jnt_limits_interface_
unsigned int vel_n_dof_
std::vector
< gazebo::physics::JointPtr > 
vel_sim_joints_

Detailed Description

Definition at line 56 of file pmb2_hardware_gazebo.h.


Constructor & Destructor Documentation

Definition at line 47 of file pmb2_hardware_gazebo.cpp.


Member Function Documentation

template<class T >
std::string pmb2_hardware_gazebo::Pmb2HardwareGazebo::containerToString ( const T &  cont,
const std::string &  prefix 
) [inline, private]

Definition at line 115 of file pmb2_hardware_gazebo.h.

bool pmb2_hardware_gazebo::Pmb2HardwareGazebo::initSim ( const std::string &  robot_namespace,
ros::NodeHandle  model_nh,
gazebo::physics::ModelPtr  parent_model,
const urdf::Model *const  urdf_model,
std::vector< transmission_interface::TransmissionInfo transmissions 
) [virtual]

Implements gazebo_ros_control::RobotHWSim.

Definition at line 52 of file pmb2_hardware_gazebo.cpp.

Implements gazebo_ros_control::RobotHWSim.

Definition at line 235 of file pmb2_hardware_gazebo.cpp.

Implements gazebo_ros_control::RobotHWSim.

Definition at line 271 of file pmb2_hardware_gazebo.cpp.


Member Data Documentation

Definition at line 90 of file pmb2_hardware_gazebo.h.

Definition at line 91 of file pmb2_hardware_gazebo.h.

Definition at line 89 of file pmb2_hardware_gazebo.h.

gazebo::sensors::ImuSensor* pmb2_hardware_gazebo::Pmb2HardwareGazebo::imu_sensor_ [private]

Definition at line 97 of file pmb2_hardware_gazebo.h.

Definition at line 105 of file pmb2_hardware_gazebo.h.

Definition at line 82 of file pmb2_hardware_gazebo.h.

Definition at line 80 of file pmb2_hardware_gazebo.h.

Definition at line 84 of file pmb2_hardware_gazebo.h.

Definition at line 85 of file pmb2_hardware_gazebo.h.

Definition at line 101 of file pmb2_hardware_gazebo.h.

Definition at line 100 of file pmb2_hardware_gazebo.h.

Definition at line 81 of file pmb2_hardware_gazebo.h.

Definition at line 87 of file pmb2_hardware_gazebo.h.

Definition at line 102 of file pmb2_hardware_gazebo.h.

Definition at line 76 of file pmb2_hardware_gazebo.h.

Definition at line 112 of file pmb2_hardware_gazebo.h.

Definition at line 108 of file pmb2_hardware_gazebo.h.

Definition at line 74 of file pmb2_hardware_gazebo.h.

std::vector<gazebo::physics::JointPtr> pmb2_hardware_gazebo::Pmb2HardwareGazebo::pos_sim_joints_ [private]

Definition at line 95 of file pmb2_hardware_gazebo.h.

std::vector<gazebo::physics::JointPtr> pmb2_hardware_gazebo::Pmb2HardwareGazebo::sim_joints_ [private]

Definition at line 94 of file pmb2_hardware_gazebo.h.

Definition at line 78 of file pmb2_hardware_gazebo.h.

Definition at line 109 of file pmb2_hardware_gazebo.h.

Definition at line 75 of file pmb2_hardware_gazebo.h.

std::vector<gazebo::physics::JointPtr> pmb2_hardware_gazebo::Pmb2HardwareGazebo::vel_sim_joints_ [private]

Definition at line 96 of file pmb2_hardware_gazebo.h.


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


pmb2_hardware_gazebo
Author(s): Enrique Fernandez
autogenerated on Wed Aug 26 2015 15:32:19