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

Public Member Functions

def setUp (self)
 
def tearDown (self)
 
def test_intensity_greater_than_256 (self)
 

Private Member Functions

def _scan_callback (self, scan_msg)
 
def _wait_for_scan (self, timeout=1.0)
 

Private Attributes

 _scan_q
 
 _scan_topic
 
 _subscriber
 

Detailed Description

Definition at line 12 of file intensity_test.py.

Member Function Documentation

def intensity_test.RangerIntensityTests._scan_callback (   self,
  scan_msg 
)
private
Called every time a scan is received

Definition at line 29 of file intensity_test.py.

def intensity_test.RangerIntensityTests._wait_for_scan (   self,
  timeout = 1.0 
)
private
Wait for a laser scan to be received

Definition at line 34 of file intensity_test.py.

def intensity_test.RangerIntensityTests.setUp (   self)
Called before every test. Set up a LaserScan subscriber

Definition at line 13 of file intensity_test.py.

def intensity_test.RangerIntensityTests.tearDown (   self)
Called after every test. Cancel the scan subscription

Definition at line 22 of file intensity_test.py.

def intensity_test.RangerIntensityTests.test_intensity_greater_than_256 (   self)
Make sure stage_ros returns intensity values higher than 256

Definition at line 46 of file intensity_test.py.

Member Data Documentation

intensity_test.RangerIntensityTests._scan_q
private

Definition at line 17 of file intensity_test.py.

intensity_test.RangerIntensityTests._scan_topic
private

Definition at line 18 of file intensity_test.py.

intensity_test.RangerIntensityTests._subscriber
private

Definition at line 19 of file intensity_test.py.


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


stage_ros
Author(s): Brian Gerky
autogenerated on Sat Apr 24 2021 02:23:34