Diferencia entre revisiones de «APIenglish»
De Proyecto Butiá
Línea 12: | Línea 12: | ||
robot = butiaAPI.robot() | robot = butiaAPI.robot() | ||
− | ''' | + | '__doc__' |
− | + | '__init__' | |
− | + | '__module__' | |
− | + | 'bb' | |
− | + | 'callModule' | |
− | + | 'close' | |
+ | 'debug' | ||
+ | 'drivers_loaded' | ||
+ | 'find_butias' | ||
+ | 'getBatteryCharge' | ||
+ | 'getButton' | ||
+ | 'getDistance' | ||
+ | 'getFirmwareVersion' | ||
+ | 'getGray' | ||
+ | 'getHack' | ||
+ | 'getLight' | ||
+ | 'getResistance' | ||
+ | 'getTemperature' | ||
+ | 'getVersion' | ||
+ | 'getVoltage' | ||
+ | 'get_all_drivers' | ||
+ | 'get_butia_count' | ||
+ | 'get_driver' | ||
+ | 'get_modules_list' | ||
+ | 'hotplug' | ||
+ | 'isPresent' | ||
+ | 'loopBack' | ||
+ | 'modeHack' | ||
+ | 'modules' | ||
+ | 'openables' | ||
+ | 'reconnect' | ||
+ | 'refresh' | ||
+ | 'set2MotorSpeed' | ||
+ | 'setHack' | ||
+ | 'setLed' | ||
+ | 'setMotorSpeed' |
Revisión del 06:07 24 feb 2013
See also API in Spanish Note, the API now uses English syntax as from V?
Butiá can be used in many forms as a consumable service through the network as is the case of the bobot server directly using the bobot library or through various APIs such as C, Java, Python
The Butiá API in Python
Description of the function and various examples.
Instanciate the class:
robot = butiaAPI.robot()
'__doc__' '__init__' '__module__' 'bb' 'callModule' 'close' 'debug' 'drivers_loaded' 'find_butias' 'getBatteryCharge' 'getButton' 'getDistance' 'getFirmwareVersion' 'getGray' 'getHack' 'getLight' 'getResistance' 'getTemperature' 'getVersion' 'getVoltage' 'get_all_drivers' 'get_butia_count' 'get_driver' 'get_modules_list' 'hotplug' 'isPresent' 'loopBack' 'modeHack' 'modules' 'openables' 'reconnect' 'refresh' 'set2MotorSpeed' 'setHack' 'setLed' 'setMotorSpeed'