Public Member Functions | Public Attributes | List of all members
test_topic_statistics.TestTopicStatistics Class Reference
Inheritance diagram for test_topic_statistics.TestTopicStatistics:
Inheritance graph
[legend]

Public Member Functions

def assert_eventually (self, cond, timeout=rospy.Duration(5.0), interval=rospy.Duration(0.5))
 
def frequency_acceptable (self, topic, expected, error_margin=0.1)
 
def new_msg (self, msg)
 
def setUp (self)
 
def test_frequencies (self)
 

Public Attributes

 topic_statistic_msg_map
 

Detailed Description

Definition at line 49 of file test_topic_statistics.py.

Member Function Documentation

◆ assert_eventually()

def test_topic_statistics.TestTopicStatistics.assert_eventually (   self,
  cond,
  timeout = rospy.Duration(5.0),
  interval = rospy.Duration(0.5) 
)

Definition at line 59 of file test_topic_statistics.py.

◆ frequency_acceptable()

def test_topic_statistics.TestTopicStatistics.frequency_acceptable (   self,
  topic,
  expected,
  error_margin = 0.1 
)
return True if topic message's measured frequency
is within some error margin of expected frequency 

Definition at line 69 of file test_topic_statistics.py.

◆ new_msg()

def test_topic_statistics.TestTopicStatistics.new_msg (   self,
  msg 
)

Definition at line 53 of file test_topic_statistics.py.

◆ setUp()

def test_topic_statistics.TestTopicStatistics.setUp (   self)

Definition at line 50 of file test_topic_statistics.py.

◆ test_frequencies()

def test_topic_statistics.TestTopicStatistics.test_frequencies (   self)

Definition at line 81 of file test_topic_statistics.py.

Member Data Documentation

◆ topic_statistic_msg_map

test_topic_statistics.TestTopicStatistics.topic_statistic_msg_map

Definition at line 51 of file test_topic_statistics.py.


The documentation for this class was generated from the following file:


test_rospy
Author(s): Ken Conley, Dirk Thomas , Jacob Perron
autogenerated on Tue May 20 2025 03:00:44