Module Assign NameStore Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad Num BinOpMult Call NameLoad Num Num BinOpMult Call NameLoad Num Num Assign AttributeStore NameLoad attr Call NameLoad ListLoad Num Num Num Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Num Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Num Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Num Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Num Num NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMult ListLoad Num Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Num Num NameLoad Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore Num For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpAdd BinOpAdd Call NameLoad BinOpSub NameLoad NameLoad Call NameLoad BinOpSub NameLoad NameLoad Call NameLoad BinOpSub NameLoad NameLoad If BoolOpAnd CompareEq NameLoad Num CompareLtE NameLoad NameLoad CompareLtE NameLoad NameLoad CompareLtE NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad NameLoad AugAssignAdd NameStore Num AugAssignAdd NameStore Num AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpMult Call NameLoad TupleLoad Num Num NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd BinOpAdd BinOpMult NameLoad Num BinOpMult NameLoad Num NameLoad ListLoad BinOpSub BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num Num BinOpAdd BinOpSub BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num Num AttributeLoad NameLoad attr BinOpSub BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Num Num NameLoad Assign NameStore Call AttributeLoad Call NameLoad Num attr Num Assign NameStore Call NameLoad BinOpMult Call NameLoad Call NameLoad Num Num Assign AttributeStore NameLoad attr BinOpSub SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index NameLoad Slice SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index NameLoad Slice Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad BinOpPow AttributeLoad NameLoad attr Num attr keyword Num attr Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr body Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd BinOpMult SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd BinOpMult SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpDiv AttributeLoad NameLoad attr NameLoad AugAssignMult NameStore BinOpMult BinOpMult NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num For NameStore Call NameLoad Num body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad SubscriptLoad NameLoad ExtSlice Index BinOpAdd NameLoad BinOpMult NameLoad Num Slice attr keyword Num AugAssignAdd AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignSub AttributeStore NameLoad attr BinOpMult BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num body If CompareLt SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad Num Num Num Assign AttributeStore NameLoad attr BinOpDiv Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Num Assign NameStore Call AttributeLoad Call NameLoad Num attr Num Assign NameStore Call NameLoad BinOpMult Call NameLoad Call NameLoad Num Num Assign AttributeStore NameLoad attr BinOpSub SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index NameLoad Slice SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index NameLoad Slice Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad BinOpPow AttributeLoad NameLoad attr Num attr keyword Num attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad decorator_list
N/A N/A __author__ Frank Sehnke, sehnke@in.tum.de N/A sensors N/A threading pybrain.utilities threaded pybrain.tools.networking.udpconnection UDPServer pybrain.rl.environments.environment Environment scipy ones zeros array clip arange sqrt time sleep FlexCubeEnvironment N/A Environment N/A __init__ N/A N/A self render realtime ip port N/A True True 127.0.0.1 21560 N/A N/A N/A self render render N/A N/A self render N/A N/A N/A self updateDone True N/A N/A self updateLock N/A N/A threading Lock N/A N/A self server N/A UDPServer ip port N/A N/A self actLen 12 N/A N/A self mySensors N/A N/A sensors Sensors N/A EdgesReal N/A N/A self dists N/A array N/A 20.0 N/A N/A sqrt 2.0 20 N/A N/A sqrt 3.0 20 N/A N/A self gravVect N/A array N/A 0.0 -100.0 0.0 N/A N/A self centerOfGrav N/A zeros N/A 1 3 float N/A N/A self pos N/A ones N/A 8 3 float N/A N/A self vel N/A zeros N/A 8 3 float N/A N/A self SpringM N/A ones N/A 8 8 float N/A N/A self d 60.0 N/A N/A self dt 0.02 N/A N/A self startHight 10.0 N/A N/A self dumping 0.4 N/A N/A self fraktMin 0.7 N/A N/A self fraktMax 1.3 N/A N/A self minAkt N/A N/A N/A self dists N/A 0 N/A self fraktMin N/A N/A self maxAkt N/A N/A N/A self dists N/A 0 N/A self fraktMax N/A N/A N/A self reset N/A N/A self count 0 N/A N/A N/A self setEdges N/A N/A N/A self act N/A array N/A N/A 20.0 12 N/A N/A N/A self euler N/A N/A self realtime realtime N/A N/A self step 0 N/A closeSocket N/A N/A self N/A N/A N/A N/A N/A N/A N/A self server UDPInSock close N/A N/A sleep 10 N/A setEdges N/A N/A self N/A N/A N/A N/A self edges N/A zeros N/A 12 2 int N/A count 0 N/A c1 0 N/A i N/A range 2 N/A N/A j N/A range 2 N/A N/A k N/A range 2 N/A N/A c2 0 N/A i2 N/A range 2 N/A N/A j2 N/A range 2 N/A N/A k2 N/A range 2 N/A N/A sum N/A N/A N/A abs N/A i i2 N/A abs N/A j j2 N/A abs N/A k k2 N/A N/A N/A sum 1 N/A i i2 N/A j j2 N/A k k2 N/A N/A N/A N/A self edges N/A count N/A c1 c2 N/A count 1 N/A c2 1 N/A c1 1 N/A reset N/A N/A self N/A N/A N/A N/A self action N/A N/A ones N/A 1 12 float N/A N/A self dists N/A 0 N/A i N/A range 2 N/A N/A j N/A range 2 N/A N/A k N/A range 2 N/A N/A N/A N/A self pos N/A N/A N/A N/A i 4 N/A j 2 k N/A N/A N/A i N/A N/A self dists N/A 0 N/A N/A N/A self dists N/A 0 2.0 N/A N/A N/A j N/A N/A self dists N/A 0 N/A N/A N/A self dists N/A 0 2.0 N/A self startHight N/A N/A k N/A N/A self dists N/A 0 N/A N/A N/A self dists N/A 0 2.0 N/A N/A self vel N/A zeros N/A 8 3 float N/A idx0 N/A N/A N/A arange 8 repeat 8 N/A idx1 N/A array N/A N/A list N/A range 8 8 N/A N/A self difM N/A N/A N/A self pos N/A N/A idx0 N/A N/A N/A self pos N/A N/A idx1 N/A N/A N/A self springM N/A N/A N/A sqrt N/A N/A N/A N/A self difM 2 sum axis 1 reshape 64 1 N/A N/A self distM N/A N/A N/A self springM copy N/A N/A self step 0 N/A N/A N/A N/A self mySensors updateSensor N/A self pos N/A self vel N/A self distM N/A self centerOfGrav N/A self step N/A self action N/A N/A self render N/A N/A N/A N/A N/A self server clients 0 N/A N/A N/A N/A N/A self server send N/A r r N/A performAction N/A N/A self action N/A N/A N/A action N/A N/A self normAct action N/A N/A self action N/A N/A action copy N/A N/A N/A self act action N/A N/A N/A self euler N/A N/A self step 1 N/A N/A self render N/A N/A N/A self updateDone N/A N/A N/A N/A self updateRenderer N/A N/A N/A N/A N/A self server clients 0 N/A self realtime N/A N/A N/A sleep 0.02 N/A getSensors N/A N/A self N/A N/A N/A N/A N/A N/A self mySensors updateSensor N/A self pos N/A self vel N/A self distM N/A self centerOfGrav N/A self step N/A self action N/A N/A N/A N/A N/A self mySensors getSensor N/A N/A normAct N/A N/A self s N/A N/A N/A N/A clip s N/A self minAkt N/A self maxAkt N/A act N/A N/A self a N/A N/A N/A count 0 N/A i N/A self edges N/A N/A N/A N/A self springM N/A N/A N/A N/A i N/A 0 8 N/A i N/A 1 N/A a N/A count N/A N/A N/A self springM N/A N/A N/A N/A i N/A 1 8 N/A i N/A 0 N/A a N/A count N/A count 1 N/A euler N/A N/A self N/A N/A N/A N/A self count 1 N/A distM N/A N/A N/A self distM copy N/A disM N/A N/A self springM distM N/A disM N/A N/A disM reshape 64 1 N/A distM N/A distM 1e-10 N/A vel N/A N/A self difM distM N/A vel N/A N/A disM N/A self d N/A self dt N/A idx2 N/A arange 8 N/A i N/A range 8 N/A N/A N/A N/A self vel N/A i N/A N/A N/A vel N/A N/A N/A idx2 N/A i 8 N/A sum axis 0 N/A N/A self vel N/A N/A self gravVect N/A self dt N/A N/A self vel N/A N/A N/A self vel N/A self dumping N/A self dt N/A N/A self pos N/A N/A self dt N/A self vel N/A i N/A range 8 N/A N/A N/A N/A N/A N/A self pos N/A i N/A 1 0.0 N/A N/A N/A N/A N/A self pos N/A i N/A 1 0.0 N/A N/A N/A self vel N/A i N/A N/A N/A self vel N/A i N/A 0.0 -1.0 0.0 N/A N/A self centerOfGrav N/A N/A N/A N/A self pos sum axis 0 8.0 N/A idx0 N/A N/A N/A arange 8 repeat 8 N/A idx1 N/A array N/A N/A list N/A range 8 8 N/A N/A self difM N/A N/A N/A self pos N/A N/A idx0 N/A N/A N/A self pos N/A N/A idx1 N/A N/A N/A self distM N/A N/A N/A sqrt N/A N/A N/A N/A self difM 2 sum axis 1 reshape 64 1 N/A updateRenderer N/A N/A self N/A N/A N/A N/A self updateDone False N/A N/A N/A N/A N/A self updateLock acquire False N/A N/A N/A N/A N/A N/A self server listen N/A N/A N/A N/A self server clients 0 N/A N/A N/A N/A N/A self server send N/A repr N/A N/A self pos N/A self centerOfGrav N/A N/A sleep 0.02 N/A N/A N/A N/A self updateLock release N/A N/A self updateDone True N/A N/A threaded N/A