Namespaces | Functions | Variables
network_plot.py File Reference

Go to the source code of this file.

Namespaces

 network_plot
 

Functions

def network_plot.callback (msg, index)
 

Variables

 network_plot.callback
 
 network_plot.callback_args
 
 network_plot.data_rate = rospy.get_param("~data_rate", 100)
 
 network_plot.data_scale = rospy.get_param("~data_scale", 0.001)
 
list network_plot.drop_index = [0 for i in range(len(plot_topic))]
 
 network_plot.drop_num = rospy.get_param("~drop_num", 10)
 
 network_plot.Float32
 
 network_plot.gp = Gnuplot.Gnuplot()
 
 network_plot.max_y = rospy.get_param("~max_y", 1200000)
 
 network_plot.period = rospy.get_param("~period", 120)
 
 network_plot.plot_size = data_rate*period/drop_num
 
 network_plot.plot_topic = rospy.get_param("~plot_topic", [('/eth0/receive', 'reveive'), ('eth0/transmit', 'transmit')])
 
 network_plot.title = rospy.get_param("~title", "Network Status")
 
 network_plot.topic = plot_topic[i][0]
 
 network_plot.x = numpy.arange(plot_size)/float(plot_size / period)
 
 network_plot.xlabel = rospy.get_param("~x_label", "Time (s)")
 
tuple network_plot.xrange = (period, 0)
 
list network_plot.y_list = [numpy.zeros(plot_size) for i in range(len(plot_topic))]
 
 network_plot.ylabel = rospy.get_param("~y_label", "Network Data Rates (kbps)")
 
tuple network_plot.yrange = (0, (int)(max_y * data_scale))
 


jsk_network_tools
Author(s): Yusuke Furuta
autogenerated on Tue Feb 6 2018 03:45:07