Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
gazebo::SetJointPositions Class Reference

#include <gazebo_set_joint_positions_plugin.h>

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

Public Member Functions

 SetJointPositions ()
 
virtual ~SetJointPositions ()
 

Protected Member Functions

void Load (physics::ModelPtr _model, sdf::ElementPtr _sdf)
 
virtual void UpdateChild ()
 

Private Member Functions

void jointStateCallback (const sensor_msgs::JointState msg)
 

Private Attributes

sensor_msgs::JointState joint_state_
 
std::vector< physics::JointPtr > joints_list_
 
std::vector< physics::LinkPtr > links_list_
 
std::mutex lock_
 
ros::NodeHandle nh_
 
std::string robot_namespace_
 
ros::Subscriber sub_
 
std::string topic_name_
 
event::ConnectionPtr update_connection_
 

Detailed Description

Definition at line 18 of file gazebo_set_joint_positions_plugin.h.

Constructor & Destructor Documentation

◆ SetJointPositions()

gazebo::SetJointPositions::SetJointPositions ( )

Definition at line 27 of file gazebo_set_joint_positions_plugin.cpp.

◆ ~SetJointPositions()

gazebo::SetJointPositions::~SetJointPositions ( )
virtual

Definition at line 31 of file gazebo_set_joint_positions_plugin.cpp.

Member Function Documentation

◆ jointStateCallback()

void gazebo::SetJointPositions::jointStateCallback ( const sensor_msgs::JointState  msg)
private

Definition at line 59 of file gazebo_set_joint_positions_plugin.cpp.

◆ Load()

void gazebo::SetJointPositions::Load ( physics::ModelPtr  _model,
sdf::ElementPtr  _sdf 
)
protected

Definition at line 36 of file gazebo_set_joint_positions_plugin.cpp.

◆ UpdateChild()

void gazebo::SetJointPositions::UpdateChild ( )
protectedvirtual

Definition at line 65 of file gazebo_set_joint_positions_plugin.cpp.

Member Data Documentation

◆ joint_state_

sensor_msgs::JointState gazebo::SetJointPositions::joint_state_
private

Definition at line 37 of file gazebo_set_joint_positions_plugin.h.

◆ joints_list_

std::vector<physics::JointPtr> gazebo::SetJointPositions::joints_list_
private

Definition at line 44 of file gazebo_set_joint_positions_plugin.h.

◆ links_list_

std::vector<physics::LinkPtr> gazebo::SetJointPositions::links_list_
private

Definition at line 45 of file gazebo_set_joint_positions_plugin.h.

◆ lock_

std::mutex gazebo::SetJointPositions::lock_
private

Definition at line 36 of file gazebo_set_joint_positions_plugin.h.

◆ nh_

ros::NodeHandle gazebo::SetJointPositions::nh_
private

Definition at line 33 of file gazebo_set_joint_positions_plugin.h.

◆ robot_namespace_

std::string gazebo::SetJointPositions::robot_namespace_
private

Definition at line 40 of file gazebo_set_joint_positions_plugin.h.

◆ sub_

ros::Subscriber gazebo::SetJointPositions::sub_
private

Definition at line 34 of file gazebo_set_joint_positions_plugin.h.

◆ topic_name_

std::string gazebo::SetJointPositions::topic_name_
private

Definition at line 39 of file gazebo_set_joint_positions_plugin.h.

◆ update_connection_

event::ConnectionPtr gazebo::SetJointPositions::update_connection_
private

Definition at line 42 of file gazebo_set_joint_positions_plugin.h.


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


gazebo_set_joint_positions_plugin
Author(s): Boeing
autogenerated on Wed Jan 17 2024 03:34:06