Public Member Functions | List of all members
test_static_publisher.TestStaticPublisher Class Reference
Inheritance diagram for test_static_publisher.TestStaticPublisher:
Inheritance graph
[legend]

Public Member Functions

def test_publisher_invalid_param (self)
 
def test_publisher_no_args (self)
 
def test_publisher_nonexistent_param (self)
 

Detailed Description

These tests ensure the static transform publisher dies gracefully when
provided with an invalid (or non-existent) transform parameter.

These tests are started by the static_publisher.launch, which loads
parameters into the param server.

We check the output to make sure the correct error is occurring, since the
return code is always -1 (255).

Note that this *could* cause a problem if a valid TF is stored in the param
server for one of the names; in this case the subprocess would never return
and the test would run forever.

Definition at line 45 of file test_static_publisher.py.

Member Function Documentation

◆ test_publisher_invalid_param()

def test_static_publisher.TestStaticPublisher.test_publisher_invalid_param (   self)

Definition at line 81 of file test_static_publisher.py.

◆ test_publisher_no_args()

def test_static_publisher.TestStaticPublisher.test_publisher_no_args (   self)

Definition at line 61 of file test_static_publisher.py.

◆ test_publisher_nonexistent_param()

def test_static_publisher.TestStaticPublisher.test_publisher_nonexistent_param (   self)

Definition at line 71 of file test_static_publisher.py.


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


test_tf2
Author(s): Tully Foote, Eitan Marder-Eppstein
autogenerated on Mon Jun 27 2022 02:43:28