] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.SwitchState = msgbuffers.Namespace() class Codelab__Music_Tiny_Orchestra(object): "Automatically-generated uint_32 enumeration." Invalid = 0 Tiny_Orchestra_Bass_Mode_1_Off = 2773389205 Tiny_Orchestra_Bass_Mode_1_On = 4225872937 Tiny_Orchestra_Bass_Mode_2_Off = 3114422790 Tiny_Orchestra_Bass_Mode_2_On = 2510905384 Tiny_Orchestra_Bass_Mode_3_Off = 1797181875 Tiny_Orchestra_Bass_Mode_3_On = 36806655 Tiny_Orchestra_Glock_Pluck_Mode_1_Off = 1674194378 Tiny_Orchestra_Glock_Pluck_Mode_1_On = 2421905196
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.GameState = msgbuffers.Namespace() Anki.AudioMetaData.SwitchState = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() Anki.Cozmo.ExternalInterface = msgbuffers.Namespace() from clad.audio.audioStateTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) from clad.audio.audioSwitchTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) from clad.types.behaviorTypes import Anki as _Anki Anki.update(_Anki.deep_clone())
from __future__ import print_function def _modify_path(): import inspect, os, sys search_paths = [ '../..', '../../../../tools/message-buffers/support/python', ] currentpath = os.path.abspath(os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath(os.path.abspath(os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Vision = msgbuffers.Namespace() class PetType(object): "Automatically-generated uint_8 enumeration." Unknown = 0 Cat = 1 Dog = 2 Anki.Vision.PetType = PetType del PetType
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() Anki.Cozmo.PhysicsInterface = msgbuffers.Namespace() class ApplyForce(object): "Generated message-passing message." __slots__ = ( '_xForce', # float_32 '_yForce', # float_32 '_zForce', # float_32 '_DefName', # string[uint_8] ) @property
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.GameParameter = msgbuffers.Namespace() class ParameterType(object): "Automatically-generated uint_32 enumeration." Behavior_Cubes_Stacked = 871787998 Behavior_Lift_Cube = 1379688411 Behavior_Request_Game = 4023609046 Cozmo_Singing_Phaser = 265118809 Cozmo_Singing_Tremolo = 1391957216 Cozmo_Singing_Vibrato = 3255781855 Dev_Tone_Freq = 2324555758 Event_Volume = 3530059848 External_Name_Duration = 2145805753
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() class GameObjectType(object): "Automatically-generated uint_32 enumeration." Invalid = 0 Default = 1 UI = 2 SFX = 3 Aria = 4 Cozmo_OnDevice = 5 CozmoBus_1 = 6 CozmoBus_2 = 7 CozmoBus_3 = 8 CozmoBus_4 = 9
def _modify_path(): import inspect, os, sys search_paths = [ '../..', '../../../../tools/message-buffers/support/python', ] currentpath = os.path.abspath(os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath(os.path.abspath(os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() Anki.Cozmo.VoiceCommand = msgbuffers.Namespace() class VoiceCommandType(object): "Automatically-generated uint_8 enumeration." HeyCozmo = 0 LetsPlay = 1 YesPlease = 2 NoThankYou = 3 Count = 4 Anki.Cozmo.VoiceCommand.VoiceCommandType = VoiceCommandType del VoiceCommandType
def _modify_path(): import inspect, os, sys search_paths = [ '../..', '../../../../tools/message-buffers/support/python', ] currentpath = os.path.abspath(os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath(os.path.abspath(os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.GameEvent = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() Anki.Cozmo.ExternalInterface = msgbuffers.Namespace() from clad.types.actionTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) from clad.types.advertisementTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) class CommsConstants(object): "Automatically-generated uint_32 enumeration." kDirectCommsBufferSize = 1048576 kVizCommsBufferSize = 131072
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() Anki.Cozmo.RobotInterface = msgbuffers.Namespace() from clad.types.imu import Anki as _Anki Anki.update(_Anki.deep_clone()) class RobotStatusFlag(object): "Automatically-generated uint_32 enumeration." NoneRobotStatusFlag = 0 IS_MOVING = 0x1 IS_CARRYING_BLOCK = 0x2 IS_PICKING_OR_PLACING = 0x4 IS_PICKED_UP = 0x8 IS_BODY_ACC_MODE = 0x10
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.GameState = msgbuffers.Namespace() class External_Language(object): "Automatically-generated uint_32 enumeration." English = 3383237639 French = 3133094709 German = 4290373403 Invalid = 0 Japanese = 2008704848 Anki.AudioMetaData.GameState.External_Language = External_Language del External_Language
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioEngine = msgbuffers.Namespace() Anki.AudioEngine.Multiplexer = msgbuffers.Namespace() class AudioCallbackFlag(object): "Automatically-generated uint_8 enumeration." EventNone = 0x0 EventDuration = 0x1 EventMarker = 0x2 EventComplete = 0x4 EventAll = 0x7 EventError = 0xff Anki.AudioEngine.Multiplexer.AudioCallbackFlag = AudioCallbackFlag
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioEngine = msgbuffers.Namespace() Anki.AudioEngine.Multiplexer = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.GameEvent = msgbuffers.Namespace() from clad.audio.audioEventTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) class AudioCallbackDuration(object): "Generated message-passing structure." __slots__ = ( '_duration', # float_32 '_estimatedDuration', # float_32
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() Anki.Cozmo.ExternalInterface = msgbuffers.Namespace() class MemoryMapInfo(object): "Generated message-passing structure." __slots__ = ( '_rootDepth', # int_32 '_rootSize_mm', # float_32 '_rootCenterX', # float_32 '_rootCenterY', # float_32 '_rootCenterZ', # float_32 '_identifier', # string[uint_8] )
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.GameEvent = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() from clad.audio.audioEventTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) from clad.types.toolCodes import Anki as _Anki Anki.update(_Anki.deep_clone()) from clad.types.unexpectedMovementTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) class ActionConstants(object):
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() Anki.Cozmo.NVStorage = msgbuffers.Namespace() class NVConst(object): "Automatically-generated uint_32 enumeration." NVConst_MIN_ADDRESS = 0x180000 NVConst_MAX_ADDRESS = 0x1fc000 NVConst_FACTORY_DATA_BIT = 0x80000000 NVConst_FIXTURE_DATA_BIT = 0xc0000000 NVConst_VERSION_MAGIC = 0x15 NVConst_FACTORY_BLOCK_SIZE = 0x1e000 NVConst_SIZE_OF_VERSION_AND_BC = 0x30
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.SoundBank = msgbuffers.Namespace() class BankType(object): "Automatically-generated uint_32 enumeration." Cozmo = 2386142475 Dev_Debug = 1453038702 Init = 1355168291 Invalid = 0 Music = 3991942870 Sfx = 393239870 Ui = 1551306167
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() class CladPoint2d(object): "Generated message-passing structure." __slots__ = ( '_x', # float_32 '_y', # float_32 ) @property def x(self): "float_32 x struct property." return self._x
def _modify_path(): import inspect, os, sys search_paths = [ '../..', '../../../../tools/message-buffers/support/python', ] currentpath = os.path.abspath(os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath(os.path.abspath(os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.AudioEngine = msgbuffers.Namespace() Anki.AudioEngine.Multiplexer = msgbuffers.Namespace() Anki.AudioMetaData = msgbuffers.Namespace() Anki.AudioMetaData.GameEvent = msgbuffers.Namespace() Anki.AudioMetaData.GameParameter = msgbuffers.Namespace() Anki.AudioMetaData.GameState = msgbuffers.Namespace() Anki.AudioMetaData.SwitchState = msgbuffers.Namespace() from clad.audio.audioEventTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) from clad.audio.audioGameObjectTypes import Anki as _Anki Anki.update(_Anki.deep_clone()) from clad.audio.audioMessageTypes import Anki as _Anki
] currentpath = os.path.abspath( os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath( os.path.abspath( os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Cozmo = msgbuffers.Namespace() class BackpackLayer(object): "Automatically-generated uint_8 enumeration." BPL_USER = 0 BPL_ANIMATION = 1 BPL_IMPULSE = 2 BACKPACK_LAYERS = 3 Anki.Cozmo.BackpackLayer = BackpackLayer del BackpackLayer
def _modify_path(): import inspect, os, sys search_paths = [ '../..', '../../../../tools/message-buffers/support/python', ] currentpath = os.path.abspath(os.path.dirname(inspect.getfile(inspect.currentframe()))) for search_path in search_paths: search_path = os.path.normpath(os.path.abspath(os.path.realpath(os.path.join(currentpath, search_path)))) if search_path not in sys.path: sys.path.insert(0, search_path) _modify_path() import msgbuffers Anki = msgbuffers.Namespace() Anki.Util = msgbuffers.Namespace() Anki.Util.AnkiLab = msgbuffers.Namespace() class Metadata(object): "Generated message-passing structure." __slots__ = ( '_project_id', # string[uint_8] '_version', # uint_32 '_revision', # uint_32 ) @property def project_id(self): "string[uint_8] project_id struct property."