Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboRosBenchmarks Class Reference

#include <gazebo_ros_benchmarks.h>

List of all members.

Public Member Functions

 GazeboRosBenchmarks ()
 Constructor.
 ~GazeboRosBenchmarks ()
 Destructor.

Protected Member Functions

void Load ()
 Load the controller.
void UpdateCBWorldUpdateEnd ()
void UpdateCBWorldUpdateStart ()
 Update the controller.

Private Member Functions

bool ResetTimingStatistics (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
void RosQueueThread ()
void SimulationCycleRosConnect ()
void SimulationCycleRosDisconnect ()
void WorldUpdateRosConnect ()
void WorldUpdateRosDisconnect ()

Private Attributes

gazebo::Time last_world_update_end_sim_time_
gazebo::Time last_world_update_end_wall_time_
gazebo::Time last_world_update_start_sim_time_
gazebo::Time last_world_update_start_wall_time_
boost::mutex lock
 A mutex to lock access to fields that are used in message callbacks.
ros::ServiceServer reset_timing_service_
 resest statistics
boost::thread * ros_callback_queue_thread_
ros::CallbackQueue ros_queue_
 publish queue
ros::NodeHandlerosnode_
 pointer to ros node
pr2_gazebo_benchmarks::GazeboBenchmarks simulation_cycle_pr2_gazebo_benchmarks_
 simulation cycle timing statistics
ros::Publisher simulation_cycle_pub_
int simulation_cycle_ros_connect_count_
 Keep track of number of connctions.
bool timing_initialized_
 timing
gazebo::Time world_update_end_sim_time_
gazebo::Time world_update_end_wall_time_
pr2_gazebo_benchmarks::GazeboBenchmarks world_update_pr2_gazebo_benchmarks_
 world update step timing statistics
ros::Publisher world_update_pub_
int world_update_ros_connect_count_
 Keep track of number of connctions.
gazebo::Time world_update_start_sim_time_
gazebo::Time world_update_start_wall_time_

Detailed Description

Definition at line 42 of file gazebo_ros_benchmarks.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
parentThe parent entity, must be a Model or a Sensor

Definition at line 46 of file gazebo_ros_benchmarks.cpp.

Destructor.

Definition at line 84 of file gazebo_ros_benchmarks.cpp.


Member Function Documentation

void GazeboRosBenchmarks::Load ( ) [protected]

Load the controller.

Parameters:
nodeXML config node

Definition at line 93 of file gazebo_ros_benchmarks.cpp.

bool GazeboRosBenchmarks::ResetTimingStatistics ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
) [private]

Definition at line 64 of file gazebo_ros_benchmarks.cpp.

Definition at line 206 of file gazebo_ros_benchmarks.cpp.

Definition at line 94 of file gazebo_ros_benchmarks.h.

Definition at line 95 of file gazebo_ros_benchmarks.h.

Definition at line 167 of file gazebo_ros_benchmarks.cpp.

Update the controller.

Definition at line 137 of file gazebo_ros_benchmarks.cpp.

Definition at line 86 of file gazebo_ros_benchmarks.h.

Definition at line 87 of file gazebo_ros_benchmarks.h.


Member Data Documentation

Definition at line 78 of file gazebo_ros_benchmarks.h.

Definition at line 79 of file gazebo_ros_benchmarks.h.

Definition at line 76 of file gazebo_ros_benchmarks.h.

Definition at line 77 of file gazebo_ros_benchmarks.h.

boost::mutex gazebo::GazeboRosBenchmarks::lock [private]

A mutex to lock access to fields that are used in message callbacks.

Definition at line 60 of file gazebo_ros_benchmarks.h.

resest statistics

Definition at line 95 of file gazebo_ros_benchmarks.h.

Definition at line 67 of file gazebo_ros_benchmarks.h.

publish queue

Definition at line 65 of file gazebo_ros_benchmarks.h.

pointer to ros node

Definition at line 63 of file gazebo_ros_benchmarks.h.

simulation cycle timing statistics

Definition at line 87 of file gazebo_ros_benchmarks.h.

Definition at line 91 of file gazebo_ros_benchmarks.h.

Keep track of number of connctions.

Definition at line 93 of file gazebo_ros_benchmarks.h.

timing

Definition at line 70 of file gazebo_ros_benchmarks.h.

Definition at line 73 of file gazebo_ros_benchmarks.h.

Definition at line 74 of file gazebo_ros_benchmarks.h.

world update step timing statistics

Definition at line 82 of file gazebo_ros_benchmarks.h.

Definition at line 83 of file gazebo_ros_benchmarks.h.

Keep track of number of connctions.

Definition at line 85 of file gazebo_ros_benchmarks.h.

Definition at line 71 of file gazebo_ros_benchmarks.h.

Definition at line 72 of file gazebo_ros_benchmarks.h.


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


pr2_gazebo_benchmarks
Author(s): John Hsu
autogenerated on Thu Jan 2 2014 11:45:35