Functions | Variables
set_cams_transforms Namespace Reference

Functions

def getch ()
 
def main ()
 
def print_status (status)
 
def publish_status (broadcaster, status)
 

Variables

 broadcaster = tf2_ros.StaticTransformBroadcaster()
 
 filename = sys.argv[sys.argv.index('--file')+1]
 
 from_cam
 
 indent
 
 key_idx = status_keys.index(kk)
 
 kk = getch()
 
 pitch
 
 roll
 
dictionary status
 
list status_keys = [key[0] for key in status.keys()]
 
 to_cam
 
 x
 
 y
 
 yaw
 
 z
 

Function Documentation

def set_cams_transforms.getch ( )

Definition at line 15 of file set_cams_transforms.py.

def set_cams_transforms.main ( void  )

Definition at line 27 of file set_cams_transforms.py.

def set_cams_transforms.print_status (   status)

Definition at line 31 of file set_cams_transforms.py.

def set_cams_transforms.publish_status (   broadcaster,
  status 
)

Definition at line 35 of file set_cams_transforms.py.

Variable Documentation

set_cams_transforms.broadcaster = tf2_ros.StaticTransformBroadcaster()

Definition at line 97 of file set_cams_transforms.py.

set_cams_transforms.filename = sys.argv[sys.argv.index('--file')+1]

Definition at line 70 of file set_cams_transforms.py.

set_cams_transforms.from_cam

Definition at line 68 of file set_cams_transforms.py.

set_cams_transforms.indent

Definition at line 134 of file set_cams_transforms.py.

set_cams_transforms.key_idx = status_keys.index(kk)

Definition at line 115 of file set_cams_transforms.py.

set_cams_transforms.kk = getch()

Definition at line 112 of file set_cams_transforms.py.

set_cams_transforms.pitch

Definition at line 77 of file set_cams_transforms.py.

set_cams_transforms.roll

Definition at line 77 of file set_cams_transforms.py.

set_cams_transforms.status
Initial value:
1 = {'mode': 'pitch',
2  'x': {'value': x, 'step': 0.1},
3  'y': {'value': y, 'step': 0.1},
4  'z': {'value': z, 'step': 0.1},
5  'azimuth': {'value': yaw, 'step': 1},
6  'pitch': {'value': pitch, 'step': 1},
7  'roll': {'value': roll, 'step': 1},
8  'message': ''}

Definition at line 78 of file set_cams_transforms.py.

list set_cams_transforms.status_keys = [key[0] for key in status.keys()]

Definition at line 107 of file set_cams_transforms.py.

set_cams_transforms.to_cam

Definition at line 68 of file set_cams_transforms.py.

set_cams_transforms.x

Definition at line 77 of file set_cams_transforms.py.

set_cams_transforms.y

Definition at line 77 of file set_cams_transforms.py.

set_cams_transforms.yaw

Definition at line 77 of file set_cams_transforms.py.

set_cams_transforms.z

Definition at line 77 of file set_cams_transforms.py.



realsense2_camera
Author(s): Sergey Dorodnicov , Doron Hirshberg
autogenerated on Thu May 13 2021 02:33:12