parameters: (self, *args)
return_statement: return _robotsim.SimRobotController_sensor(self, *args)
docstring: r"""
          sensor(SimRobotController self, int index) -> SimRobotSensor
          sensor(SimRobotController self, char const * name) -> SimRobotSensor
  
  
          Returns a sensor by index or by name. If out of bounds or unavailable, a null
          sensor is returned (i.e., SimRobotSensor.name() or SimRobotSensor.type()) will
          return the empty string.)
docstring_summary: r"""
          sensor(SimRobotController self, int index) -> SimRobotSensor
          sensor(SimRobotController self, char const * name) -> SimRobotSensor
docstring_tokens: r sensor ( SimRobotController self int index ) - > SimRobotSensor sensor ( SimRobotController self char const * name ) - > SimRobotSensor
function: def sensor(self, *args) -> "SimRobotSensor":
          r"""
          sensor(SimRobotController self, int index) -> SimRobotSensor
          sensor(SimRobotController self, char const * name) -> SimRobotSensor
  
  
          Returns a sensor by index or by name. If out of bounds or unavailable, a null
          sensor is returned (i.e., SimRobotSensor.name() or SimRobotSensor.type()) will
          return the empty string.)  
  
          """
          return _robotsim.SimRobotController_sensor(self, *args)
function_tokens: def sensor ( self , * args ) -> "SimRobotSensor" : return _robotsim . SimRobotController_sensor ( self , * args )