Classes | Functions | Variables
gear Namespace Reference

Classes

class  ArmInfo
 
class  DroppedPartInfo
 
class  DropRegionInfo
 
class  ModelInfo
 
class  PoseInfo
 
class  SensorInfo
 

Functions

def create_arm_info (arm_dict)
 
def create_belt_part_infos (belt_parts_dict)
 
def create_bin_infos ()
 
def create_drops_info (drops_dict)
 
def create_model_info (model_name, model_data)
 
def create_models_over_bins_infos (models_over_bins_dict)
 
def create_models_to_spawn_infos (models_to_spawn_dict)
 
def create_options_info (options_dict)
 
def create_order_info (name, order_dict)
 
def create_order_infos (orders_dict)
 
def create_pose_info (pose_dict)
 
def create_sensor_info (name, sensor_data)
 
def create_sensor_infos (sensors_dict)
 
def expand_to_float (val)
 
def expand_yaml_substitutions (yaml_dict)
 
def generate_files (template_data)
 
def get_field_with_default (data_dict, entry, default_value)
 
def get_required_field (entry_name, data_dict, required_entry)
 
def main (sysargv=None)
 
def prepare_arguments (parser)
 
def prepare_template_data (config_dict)
 
def replace_type_aliases (model_type)
 

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
 
 this_dir = os.path.abspath(os.path.dirname(__file__))
 

Function Documentation

def gear.create_arm_info (   arm_dict)

Definition at line 169 of file gear.py.

def gear.create_belt_part_infos (   belt_parts_dict)

Definition at line 302 of file gear.py.

def gear.create_bin_infos ( )

Definition at line 348 of file gear.py.

def gear.create_drops_info (   drops_dict)

Definition at line 309 of file gear.py.

def gear.create_model_info (   model_name,
  model_data 
)

Definition at line 219 of file gear.py.

def gear.create_models_over_bins_infos (   models_over_bins_dict)

Definition at line 249 of file gear.py.

def gear.create_models_to_spawn_infos (   models_to_spawn_dict)

Definition at line 232 of file gear.py.

def gear.create_options_info (   options_dict)

Definition at line 355 of file gear.py.

def gear.create_order_info (   name,
  order_dict 
)

Definition at line 332 of file gear.py.

def gear.create_order_infos (   orders_dict)

Definition at line 341 of file gear.py.

def gear.create_pose_info (   pose_dict)

Definition at line 189 of file gear.py.

def gear.create_sensor_info (   name,
  sensor_data 
)

Definition at line 198 of file gear.py.

def gear.create_sensor_infos (   sensors_dict)

Definition at line 212 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 404 of file gear.py.

def gear.get_field_with_default (   data_dict,
  entry,
  default_value 
)

Definition at line 147 of file gear.py.

def gear.get_required_field (   entry_name,
  data_dict,
  required_entry 
)

Definition at line 154 of file gear.py.

def gear.main (   sysargv = None)

Definition at line 413 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 362 of file gear.py.

def gear.replace_type_aliases (   model_type)

Definition at line 163 of file gear.py.

Variable Documentation

dictionary gear.arm_configs
Initial value:
1 = {
2  'ur10': {
3  'default_initial_joint_states': {
4  'linear_arm_actuator_joint': 0,
5  'shoulder_pan_joint': 0,
6  'shoulder_lift_joint': -1.13,
7  'elbow_joint': 1.51,
8  'wrist_1_joint': 3.77,
9  'wrist_2_joint': -1.51,
10  'wrist_3_joint': 0,
11  }
12  },
13 }

Definition at line 35 of file gear.py.

dictionary gear.configurable_options
Initial value:
1 = {
2  'insert_models_over_bins': False,
3  'disable_shadows': False,
4  'fill_demo_tray': False,
5  'spawn_extra_models': False,
6  'model_type_aliases': {
7  'belt_model_type1': 'part1',
8  'belt_model_type2': 'part2',
9  },
10 }

Definition at line 64 of file gear.py.

dictionary gear.default_bin_origins
Initial value:
1 = {
2  'bin1': [-1.0, -1.33, 0],
3  'bin2': [-1.0, -0.535, 0],
4  'bin3': [-1.0, 0.23, 0],
5  'bin4': [-1.0, 0.995, 0],
6  'bin5': [-0.3, -1.33, 0],
7  'bin6': [-0.3, -0.535, 0],
8  'bin7': [-0.3, 0.23, 0],
9  'bin8': [-0.3, 0.995, 0],
10 }

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.

dictionary gear.sensor_configs
Initial value:
1 = {
2  'break_beam': None,
3  'proximity_sensor': None,
4  'logical_camera': None,
5  'laser_profiler': None,
6 }

Definition at line 48 of file gear.py.

list gear.template_files
Initial value:
1 = [
2  os.path.join(this_dir, '..', '..', 'share', 'osrf_gear', 'worlds', 'gear.world.template'),
3  os.path.join(this_dir, '..', '..', 'share', 'osrf_gear', 'launch', 'gear.launch.template'),
4  os.path.join(this_dir, '..', '..', 'share', 'osrf_gear', 'launch', 'gear.urdf.xacro.template'),
5 ]

Definition at line 30 of file gear.py.

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

Definition at line 29 of file gear.py.



osrf_gear
Author(s):
autogenerated on Wed Sep 7 2016 03:48:13