Public Member Functions | Private Types | Private Member Functions | Private Attributes
gazebo_ros_control::DefaultRobotHWSim Class Reference
Inheritance diagram for gazebo_ros_control::DefaultRobotHWSim:
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)
void readSim (ros::Time time, ros::Duration period)
void writeSim (ros::Time time, ros::Duration period)

Private Types

enum  ControlMethod {
  EFFORT, POSITION, POSITION_PID, VELOCITY,
  VELOCITY_PID
}

Private Member Functions

void registerJointLimits (const std::string &joint_name, const hardware_interface::JointHandle &joint_handle, const ControlMethod ctrl_method, const ros::NodeHandle &joint_limit_nh, const urdf::Model *const urdf_model, int *const joint_type, double *const lower_limit, double *const upper_limit, double *const effort_limit)

Private Attributes

hardware_interface::EffortJointInterface ej_interface_
joint_limits_interface::EffortJointSoftLimitsInterface ej_limits_interface_
joint_limits_interface::EffortJointSaturationInterface ej_sat_interface_
std::vector< ControlMethodjoint_control_methods_
std::vector< double > joint_effort_
std::vector< double > joint_effort_command_
std::vector< double > joint_effort_limits_
std::vector< double > joint_lower_limits_
std::vector< std::string > joint_names_
std::vector< double > joint_position_
std::vector< double > joint_position_command_
std::vector< int > joint_types_
std::vector< double > joint_upper_limits_
std::vector< double > joint_velocity_
std::vector< double > joint_velocity_command_
hardware_interface::JointStateInterface js_interface_
unsigned int n_dof_
std::vector< control_toolbox::Pidpid_controllers_
hardware_interface::PositionJointInterface pj_interface_
joint_limits_interface::PositionJointSoftLimitsInterface pj_limits_interface_
joint_limits_interface::PositionJointSaturationInterface pj_sat_interface_
std::vector
< gazebo::physics::JointPtr > 
sim_joints_
hardware_interface::VelocityJointInterface vj_interface_
joint_limits_interface::VelocityJointSoftLimitsInterface vj_limits_interface_
joint_limits_interface::VelocityJointSaturationInterface vj_sat_interface_

Detailed Description

Definition at line 82 of file default_robot_hw_sim.cpp.


Member Enumeration Documentation

Enumerator:
EFFORT 
POSITION 
POSITION_PID 
VELOCITY 
VELOCITY_PID 

Definition at line 348 of file default_robot_hw_sim.cpp.


Member Function Documentation

bool gazebo_ros_control::DefaultRobotHWSim::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 
) [inline, virtual]

Implements gazebo_ros_control::RobotHWSim.

Definition at line 86 of file default_robot_hw_sim.cpp.

void gazebo_ros_control::DefaultRobotHWSim::readSim ( ros::Time  time,
ros::Duration  period 
) [inline, virtual]

Implements gazebo_ros_control::RobotHWSim.

Definition at line 257 of file default_robot_hw_sim.cpp.

void gazebo_ros_control::DefaultRobotHWSim::registerJointLimits ( const std::string &  joint_name,
const hardware_interface::JointHandle joint_handle,
const ControlMethod  ctrl_method,
const ros::NodeHandle joint_limit_nh,
const urdf::Model *const  urdf_model,
int *const  joint_type,
double *const  lower_limit,
double *const  upper_limit,
double *const  effort_limit 
) [inline, private]

Definition at line 353 of file default_robot_hw_sim.cpp.

void gazebo_ros_control::DefaultRobotHWSim::writeSim ( ros::Time  time,
ros::Duration  period 
) [inline, virtual]

Implements gazebo_ros_control::RobotHWSim.

Definition at line 276 of file default_robot_hw_sim.cpp.


Member Data Documentation

Definition at line 475 of file default_robot_hw_sim.cpp.

Definition at line 480 of file default_robot_hw_sim.cpp.

Definition at line 479 of file default_robot_hw_sim.cpp.

Definition at line 491 of file default_robot_hw_sim.cpp.

Definition at line 495 of file default_robot_hw_sim.cpp.

Definition at line 496 of file default_robot_hw_sim.cpp.

Definition at line 490 of file default_robot_hw_sim.cpp.

Definition at line 488 of file default_robot_hw_sim.cpp.

std::vector<std::string> gazebo_ros_control::DefaultRobotHWSim::joint_names_ [private]

Definition at line 486 of file default_robot_hw_sim.cpp.

Definition at line 493 of file default_robot_hw_sim.cpp.

Definition at line 497 of file default_robot_hw_sim.cpp.

Definition at line 487 of file default_robot_hw_sim.cpp.

Definition at line 489 of file default_robot_hw_sim.cpp.

Definition at line 494 of file default_robot_hw_sim.cpp.

Definition at line 498 of file default_robot_hw_sim.cpp.

Definition at line 474 of file default_robot_hw_sim.cpp.

Definition at line 472 of file default_robot_hw_sim.cpp.

Definition at line 492 of file default_robot_hw_sim.cpp.

Definition at line 476 of file default_robot_hw_sim.cpp.

Definition at line 482 of file default_robot_hw_sim.cpp.

Definition at line 481 of file default_robot_hw_sim.cpp.

std::vector<gazebo::physics::JointPtr> gazebo_ros_control::DefaultRobotHWSim::sim_joints_ [private]

Definition at line 500 of file default_robot_hw_sim.cpp.

Definition at line 477 of file default_robot_hw_sim.cpp.

Definition at line 484 of file default_robot_hw_sim.cpp.

Definition at line 483 of file default_robot_hw_sim.cpp.


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


gazebo_ros_control
Author(s): Jonathan Bohren, Dave Coleman
autogenerated on Fri Aug 28 2015 10:47:54