Functions | Variables
gazebo_bridge.cpp File Reference
#include <ros/ros.h>
#include <std_msgs/Float64.h>
#include <std_msgs/Float64MultiArray.h>
Include dependency graph for gazebo_bridge.cpp:

Go to the source code of this file.

Functions

void gripperPositionCallback (const std_msgs::Float64MultiArray::ConstPtr &msg)
 
void initPublisher (ros::NodeHandle nh)
 
void initSubscriber (ros::NodeHandle nh)
 
void jointTrajectoryPointCallback (const std_msgs::Float64MultiArray::ConstPtr &msg)
 
int main (int argc, char **argv)
 
void publishCallback (const ros::TimerEvent &)
 

Variables

const float CONTROL_PERIOD = 0.001f
 
std::vector< ros::Publishergazebo_goal_joint_position_pub_
 
ros::Subscriber gripper_position_sub_
 
bool is_moving_
 
std_msgs::Float64MultiArray joint_trajectory_point_
 
ros::Subscriber joint_trajectory_point_sub_
 

Function Documentation

void gripperPositionCallback ( const std_msgs::Float64MultiArray::ConstPtr &  msg)

Definition at line 39 of file gazebo_bridge.cpp.

void initPublisher ( ros::NodeHandle  nh)

Definition at line 91 of file gazebo_bridge.cpp.

void initSubscriber ( ros::NodeHandle  nh)

Definition at line 110 of file gazebo_bridge.cpp.

void jointTrajectoryPointCallback ( const std_msgs::Float64MultiArray::ConstPtr &  msg)

Definition at line 30 of file gazebo_bridge.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 116 of file gazebo_bridge.cpp.

void publishCallback ( const ros::TimerEvent )

Definition at line 46 of file gazebo_bridge.cpp.

Variable Documentation

const float CONTROL_PERIOD = 0.001f

Definition at line 28 of file gazebo_bridge.cpp.

std::vector<ros::Publisher> gazebo_goal_joint_position_pub_

Definition at line 23 of file gazebo_bridge.cpp.

ros::Subscriber gripper_position_sub_

Definition at line 24 of file gazebo_bridge.cpp.

bool is_moving_

Definition at line 26 of file gazebo_bridge.cpp.

std_msgs::Float64MultiArray joint_trajectory_point_

Definition at line 25 of file gazebo_bridge.cpp.

ros::Subscriber joint_trajectory_point_sub_

Definition at line 24 of file gazebo_bridge.cpp.



open_manipulator_with_tb3_tools
Author(s): Darby Lim
autogenerated on Thu Sep 10 2020 03:52:23