Public Member Functions | |
| def | __init__ |
| def | get_scan |
Public Attributes | |
| flip | |
| hokuyo | |
| hokuyo_type | |
common class for getting scans from both urg and utm.
Definition at line 210 of file hokuyo_scan.py.
| def hrl_hokuyo.hokuyo_scan.Hokuyo.__init__ | ( | self, | |
| hokuyo_type, | |||
| hokuyo_number, | |||
start_angle = None, |
|||
end_angle = None, |
|||
flip = False, |
|||
ros_init_node = True |
|||
| ) |
hokuyo_type - 'urg', 'utm'
- 'utm' requires ros revision 2536
ros-kg revision 5612
hokuyo_number - 0,1,2 ...
start_angle, end_angle - unoccluded part of the scan. (radians)
flip - whether to flip the scans (hokuyo upside-down)
Definition at line 214 of file hokuyo_scan.py.
| def hrl_hokuyo.hokuyo_scan.Hokuyo.get_scan | ( | self, | |
avoid_duplicate = False, |
|||
avg = 1, |
|||
remove_graze = True |
|||
| ) |
avoid_duplicate - prevent duplicate scans which will happen if get_scan is
called at a rate faster than the scanning rate of the hokuyo.
avoid_duplicate == True, get_scan will block till new scan is received.
(~.2s for urg and 0.05s for utm)
Definition at line 233 of file hokuyo_scan.py.
Definition at line 220 of file hokuyo_scan.py.
Definition at line 220 of file hokuyo_scan.py.
Definition at line 220 of file hokuyo_scan.py.