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 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | |
on_actuator_state(sid, actuator_state)
async
#
Callback on actuator_state message.
Source code in cogip/tools/server/namespaces/copilot.py
89 90 91 92 93 94 | |
on_blocked(sid)
async
#
Callback on blocked message.
Source code in cogip/tools/server/namespaces/copilot.py
69 70 71 72 73 74 | |
on_config(sid, config)
async
#
Callback on config message.
Source code in cogip/tools/server/namespaces/copilot.py
102 103 104 105 106 | |
on_game_end(sid)
async
#
Callback on game end message.
Source code in cogip/tools/server/namespaces/copilot.py
108 109 110 111 112 113 | |
on_get_parameter_response(sid, response)
async
#
Callback on get_parameter_response message from copilot. Forward to firmware parameter manager.
Source code in cogip/tools/server/namespaces/copilot.py
115 116 117 118 119 120 121 | |
on_intermediate_pose_reached(sid)
async
#
Callback on intermediate pose reached message.
Source code in cogip/tools/server/namespaces/copilot.py
62 63 64 65 66 67 | |
on_menu(sid, menu)
async
#
Callback on menu event.
Source code in cogip/tools/server/namespaces/copilot.py
76 77 78 79 80 81 | |
on_pid(sid, pid)
async
#
Callback on pid message.
Source code in cogip/tools/server/namespaces/copilot.py
96 97 98 99 100 | |
on_pose_reached(sid)
async
#
Callback on pose reached message.
Source code in cogip/tools/server/namespaces/copilot.py
53 54 55 56 57 58 59 60 | |
on_register_menu(sid, data)
async
#
Callback on register_menu.
Source code in cogip/tools/server/namespaces/copilot.py
47 48 49 50 51 | |
on_reset(sid)
async
#
Callback on reset event.
Source code in cogip/tools/server/namespaces/copilot.py
40 41 42 43 44 45 | |
on_set_parameter_response(sid, response)
async
#
Callback on set_parameter_response message from copilot. Forward to firmware parameter manager.
Source code in cogip/tools/server/namespaces/copilot.py
123 124 125 126 127 128 129 | |
on_state(sid, state)
async
#
Callback on state event.
Source code in cogip/tools/server/namespaces/copilot.py
83 84 85 86 87 | |
on_telemetry_data(sid, telemetry)
async
#
Callback on telemetry_data message from copilot. Forward to telemetry clients.
Source code in cogip/tools/server/namespaces/copilot.py
131 132 133 134 135 136 137 | |