copilot
CopilotNamespace
#
Bases: AsyncNamespace
Handle all SocketIO events related to copilot.
Source code in cogip/tools/server/namespaces/copilot.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
|
on_actuator_state(sid, actuator_state)
async
#
Callback on actuator_state message.
Source code in cogip/tools/server/namespaces/copilot.py
83 84 85 86 87 88 |
|
on_config(sid, config)
async
#
Callback on config message.
Source code in cogip/tools/server/namespaces/copilot.py
96 97 98 99 100 |
|
on_game_end(sid)
async
#
Callback on game end message.
Source code in cogip/tools/server/namespaces/copilot.py
102 103 104 105 106 |
|
on_menu(sid, menu)
async
#
Callback on menu event.
Source code in cogip/tools/server/namespaces/copilot.py
60 61 62 63 64 65 |
|
on_pid(sid, pid)
async
#
Callback on pid message.
Source code in cogip/tools/server/namespaces/copilot.py
90 91 92 93 94 |
|
on_pose(sid, pose)
async
#
Callback on pose event.
Source code in cogip/tools/server/namespaces/copilot.py
67 68 69 70 71 72 73 74 |
|
on_pose_reached(sid)
async
#
Callback on pose reached message.
Source code in cogip/tools/server/namespaces/copilot.py
54 55 56 57 58 |
|
on_register_menu(sid, data)
async
#
Callback on register_menu.
Source code in cogip/tools/server/namespaces/copilot.py
48 49 50 51 52 |
|
on_reset(sid)
async
#
Callback on reset event.
Source code in cogip/tools/server/namespaces/copilot.py
40 41 42 43 44 45 46 |
|
on_state(sid, state)
async
#
Callback on state event.
Source code in cogip/tools/server/namespaces/copilot.py
76 77 78 79 80 81 |
|