Functions | Variables
network_plot Namespace Reference

Functions

def callback

Variables

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

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

Definition at line 16 of file network_plot.py.

tuple 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.

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

Definition at line 18 of file network_plot.py.

tuple network_plot::gp = Gnuplot.Gnuplot()

Definition at line 9 of file network_plot.py.

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

Definition at line 13 of file network_plot.py.

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

Definition at line 17 of file network_plot.py.

Definition at line 28 of file network_plot.py.

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

Definition at line 11 of file network_plot.py.

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

Definition at line 26 of file network_plot.py.

Definition at line 64 of file network_plot.py.

tuple network_plot::x = numpy.arange(plot_size)

Definition at line 31 of file network_plot.py.

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

Definition at line 24 of file network_plot.py.

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.

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

Definition at line 25 of file network_plot.py.

tuple 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 Fri Sep 8 2017 03:38:47