Functions | Variables
network_plot Namespace Reference

Functions

def callback (msg, index)
 

Variables

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

Function Documentation

def network_plot.callback (   msg,
  index 
)

Definition at line 33 of file network_plot.py.

Variable Documentation

network_plot.callback

Definition at line 65 of file network_plot.py.

network_plot.callback_args

Definition at line 65 of file network_plot.py.

network_plot.data_rate = rospy.get_param("~data_rate", 100)

Definition at line 16 of file network_plot.py.

network_plot.data_scale = rospy.get_param("~data_scale", 0.001)

Definition at line 14 of file network_plot.py.

list network_plot.drop_index = [0 for i in range(len(plot_topic))]

Definition at line 19 of file network_plot.py.

network_plot.drop_num = rospy.get_param("~drop_num", 10)

Definition at line 18 of file network_plot.py.

network_plot.Float32

Definition at line 65 of file network_plot.py.

network_plot.gp = Gnuplot.Gnuplot()

Definition at line 9 of file network_plot.py.

network_plot.max_y = rospy.get_param("~max_y", 1200000)

Definition at line 13 of file network_plot.py.

network_plot.period = rospy.get_param("~period", 120)

Definition at line 17 of file network_plot.py.

network_plot.plot_size = data_rate*period/drop_num

Definition at line 28 of file network_plot.py.

network_plot.plot_topic = rospy.get_param("~plot_topic", [('/eth0/receive', 'reveive'), ('eth0/transmit', 'transmit')])

Definition at line 11 of file network_plot.py.

network_plot.title = rospy.get_param("~title", "Network Status")

Definition at line 26 of file network_plot.py.

network_plot.topic = plot_topic[i][0]

Definition at line 64 of file network_plot.py.

network_plot.x = numpy.arange(plot_size)/float(plot_size / period)

Definition at line 31 of file network_plot.py.

network_plot.xlabel = rospy.get_param("~x_label", "Time (s)")

Definition at line 24 of file network_plot.py.

network_plot.xrange = (period, 0)

Definition at line 21 of file network_plot.py.

list network_plot.y_list = [numpy.zeros(plot_size) for i in range(len(plot_topic))]

Definition at line 30 of file network_plot.py.

network_plot.ylabel = rospy.get_param("~y_label", "Network Data Rates (kbps)")

Definition at line 25 of file network_plot.py.

network_plot.yrange = (0, (int)(max_y * data_scale))

Definition at line 22 of file network_plot.py.



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