parameters: (args=None)
docstring: Command-line execution of the example.
  
      :param args: arguments for script to parse, if not specified will use sys.argv
docstring_summary: Command-line execution of the example.
docstring_tokens: Command - line execution of the example .
function: def run(args=None):
      """Command-line execution of the example.
  
      :param args: arguments for script to parse, if not specified will use sys.argv
      """
      parser = OptionParser(description='Views a calibration pattern from multiple locations.')
      OpenRAVEGlobalArguments.addOptions(parser)
      parser.add_option('--scene',action="store",type='string',dest='scene',default='data/pa10calib.env.xml',
                        help='Scene file to load (default=%default)')
      parser.add_option('--sensorname',action="store",type='string',dest='sensorname',default=None,
                        help='Name of the sensor whose views to generate (default is first sensor on robot)')
      parser.add_option('--sensorrobot',action="store",type='string',dest='sensorrobot',default=None,
                        help='Name of the robot the sensor is attached to (default=%default)')
      parser.add_option('--norandomize', action='store_false',dest='randomize',default=True,
                        help='If set, will not randomize the bodies and robot position in the scene.')
      parser.add_option('--novisibility', action='store_false',dest='usevisibility',default=True,
                        help='If set, will not perform any visibility searching.')
      parser.add_option('--noshowsensor', action='store_false',dest='showsensor',default=True,
                        help='If set, will not show the sensor.')
      parser.add_option('--posedist',action="store",type='float',dest='posedist',default=0.05,
                        help='An average distance between gathered poses. The smaller the value, the more poses robot will gather close to each other')
      (options, leftargs) = parser.parse_args(args=args)
      OpenRAVEGlobalArguments.parseAndCreateThreadedUser(options,main,defaultviewer=True)
function_tokens: def run ( args = None ) : parser = OptionParser ( description = 'Views a calibration pattern from multiple locations.' ) OpenRAVEGlobalArguments . addOptions ( parser ) parser . add_option ( '--scene' , action = "store" , type = 'string' , dest = 'scene' , default = 'data/pa10calib.env.xml' , help = 'Scene file to load (default=%default)' ) parser . add_option ( '--sensorname' , action = "store" , type = 'string' , dest = 'sensorname' , default = None , help = 'Name of the sensor whose views to generate (default is first sensor on robot)' ) parser . add_option ( '--sensorrobot' , action = "store" , type = 'string' , dest = 'sensorrobot' , default = None , help = 'Name of the robot the sensor is attached to (default=%default)' ) parser . add_option ( '--norandomize' , action = 'store_false' , dest = 'randomize' , default = True , help = 'If set, will not randomize the bodies and robot position in the scene.' ) parser . add_option ( '--novisibility' , action = 'store_false' , dest = 'usevisibility' , default = True , help = 'If set, will not perform any visibility searching.' ) parser . add_option ( '--noshowsensor' , action = 'store_false' , dest = 'showsensor' , default = True , help = 'If set, will not show the sensor.' ) parser . add_option ( '--posedist' , action = "store" , type = 'float' , dest = 'posedist' , default = 0.05 , help = 'An average distance between gathered poses. The smaller the value, the more poses robot will gather close to each other' ) ( options , leftargs ) = parser . parse_args ( args = args ) OpenRAVEGlobalArguments . parseAndCreateThreadedUser ( options , main , defaultviewer = True )