ros2topic.verb.bw module

class ros2topic.verb.bw.BwVerb

Bases: VerbExtension

Display bandwidth used by topic.

add_arguments(parser, cli_name)
main(*, args)
class ros2topic.verb.bw.ROSTopicBandwidth(node, window_size)

Bases: object

callback(data)

Execute ros sub callback.

print_bw()

Print the average publishing bw to screen.

ros2topic.verb.bw.positive_int(string)
ros2topic.verb.bw.str_bytes(num_bytes)
ros2topic.verb.bw.str_kilobytes(num_bytes)
ros2topic.verb.bw.str_megabytes(num_bytes)