Classes | Functions | Variables
gear Namespace Reference

Classes

class  ArmInfo
class  ModelInfo
class  PoseInfo
class  SensorInfo

Functions

def create_arm_info
def create_belt_part_infos
def create_bin_infos
def create_drops_info
def create_model_info
def create_models_over_bins_infos
def create_models_to_spawn_infos
def create_options_info
def create_order_info
def create_order_infos
def create_pose_info
def create_sensor_info
def create_sensor_infos
def expand_to_float
def expand_yaml_substitutions
def generate_files
def get_required_field
def main
def prepare_arguments
def prepare_template_data

Variables

dictionary arm_configs
dictionary configurable_options
dictionary default_bin_origins
dictionary eval_local_vars = {n: getattr(math, n) for n in dir(math) if not n.startswith('__')}
dictionary sensor_configs
list template_files
tuple this_dir = os.path.abspath(os.path.dirname(__file__))

Function Documentation

def gear.create_arm_info (   arm_dict)

Definition at line 144 of file gear.py.

def gear.create_belt_part_infos (   belt_parts_dict)

Definition at line 280 of file gear.py.

Definition at line 325 of file gear.py.

def gear.create_drops_info (   drops_dict)

Definition at line 287 of file gear.py.

def gear.create_model_info (   model_name,
  model_data 
)

Definition at line 194 of file gear.py.

def gear.create_models_over_bins_infos (   models_over_bins_dict)

Definition at line 227 of file gear.py.

def gear.create_models_to_spawn_infos (   models_to_spawn_dict)

Definition at line 210 of file gear.py.

def gear.create_options_info (   options_dict)

Definition at line 332 of file gear.py.

def gear.create_order_info (   name,
  order_dict 
)

Definition at line 309 of file gear.py.

def gear.create_order_infos (   orders_dict)

Definition at line 318 of file gear.py.

def gear.create_pose_info (   pose_dict)

Definition at line 164 of file gear.py.

def gear.create_sensor_info (   name,
  sensor_data 
)

Definition at line 173 of file gear.py.

def gear.create_sensor_infos (   sensors_dict)

Definition at line 187 of file gear.py.

def gear.expand_to_float (   val)

Definition at line 93 of file gear.py.

def gear.expand_yaml_substitutions (   yaml_dict)

Definition at line 99 of file gear.py.

def gear.generate_files (   template_data)

Definition at line 383 of file gear.py.

def gear.get_required_field (   entry_name,
  data_dict,
  required_entry 
)

Definition at line 135 of file gear.py.

def gear.main (   sysargv = None)

Definition at line 392 of file gear.py.

def gear.prepare_arguments (   parser)

Definition at line 76 of file gear.py.

def gear.prepare_template_data (   config_dict)

Definition at line 339 of file gear.py.


Variable Documentation

dictionary gear::arm_configs
Initial value:
00001 {
00002     'ur10': {
00003         'default_initial_joint_states': {
00004             'linear_arm_actuator_joint': 0,
00005             'shoulder_pan_joint': 0,
00006             'shoulder_lift_joint': -1.13,
00007             'elbow_joint': 1.51,
00008             'wrist_1_joint': 3.77,
00009             'wrist_2_joint': -1.51,
00010             'wrist_3_joint': 0,
00011         }
00012     },
00013 }

Definition at line 35 of file gear.py.

Initial value:
00001 {
00002     'insert_models_over_bins': False,
00003     'disable_shadows': False,
00004     'fill_demo_tray': False,
00005     'spawn_extra_models': False,
00006     'model_type_aliases': {
00007         'belt_model_type1': 'part1',
00008         'belt_model_type2': 'part2',
00009     },
00010 }

Definition at line 64 of file gear.py.

Initial value:
00001 {
00002     'bin1': [-1.0, -1.33, 0],
00003     'bin2': [-1.0, -0.535, 0],
00004     'bin3': [-1.0, 0.23, 0],
00005     'bin4': [-1.0, 0.995, 0],
00006     'bin5': [-0.3, -1.33, 0],
00007     'bin6': [-0.3, -0.535, 0],
00008     'bin7': [-0.3, 0.23, 0],
00009     'bin8': [-0.3, 0.995, 0],
00010 }

Definition at line 54 of file gear.py.

dictionary gear::eval_local_vars = {n: getattr(math, n) for n in dir(math) if not n.startswith('__')}

Definition at line 90 of file gear.py.

Initial value:
00001 {
00002     'break_beam': None,
00003     'proximity_sensor': None,
00004     'logical_camera': None,
00005     'laser_profiler': None,
00006 }

Definition at line 48 of file gear.py.

Initial value:
00001 [
00002     os.path.join(this_dir, '..', '..', 'share', 'osrf_gear', 'worlds', 'gear.world.template'),
00003     os.path.join(this_dir, '..', '..', 'share', 'osrf_gear', 'launch', 'gear.launch.template'),
00004     os.path.join(this_dir, '..', '..', 'share', 'osrf_gear', 'launch', 'gear.urdf.xacro.template'),
00005 ]

Definition at line 30 of file gear.py.

tuple gear::this_dir = os.path.abspath(os.path.dirname(__file__))

Definition at line 29 of file gear.py.



osrf_gear
Author(s):
autogenerated on Mon Sep 5 2016 03:41:33