Namespaces | Functions | Variables
network_plot.py File Reference

Go to the source code of this file.

Namespaces

namespace  network_plot

Functions

def network_plot.callback

Variables

tuple network_plot.data_rate = rospy.get_param("~data_rate", 100)
tuple network_plot.data_scale = rospy.get_param("~data_scale", 0.001)
list network_plot.drop_index = [0 for i in range(len(plot_topic))]
tuple network_plot.drop_num = rospy.get_param("~drop_num", 10)
tuple network_plot.gp = Gnuplot.Gnuplot()
tuple network_plot.max_y = rospy.get_param("~max_y", 1200000)
tuple network_plot.period = rospy.get_param("~period", 120)
 network_plot.plot_size = data_rate*period/drop_num
tuple network_plot.plot_topic = rospy.get_param("~plot_topic", [('/eth0/receive', 'reveive'), ('eth0/transmit', 'transmit')])
tuple network_plot.title = rospy.get_param("~title", "Network Status")
list network_plot.topic = plot_topic[i]
tuple network_plot.x = numpy.arange(plot_size)
tuple 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))]
tuple 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 Sun Jan 25 2015 12:38:31