planner
PlannerNamespace
#
Bases: AsyncNamespace
Handle all SocketIO events related to planner.
Source code in cogip/tools/server/namespaces/planner.py
10 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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
|
on_actuator_command(sid, data)
async
#
Callback on actuator_command message.
Source code in cogip/tools/server/namespaces/planner.py
146 147 148 149 150 |
|
on_brake(sid)
async
#
Callback on brake message.
Source code in cogip/tools/server/namespaces/planner.py
164 165 166 167 168 |
|
on_close_wizard(sid)
async
#
Callback on close_wizard message.
Source code in cogip/tools/server/namespaces/planner.py
110 111 112 113 114 |
|
on_cmd_reset(sid)
async
#
Callback on cmd_reset message.
Source code in cogip/tools/server/namespaces/planner.py
98 99 100 101 102 |
|
on_config(sid, config)
async
#
Callback on config message.
Source code in cogip/tools/server/namespaces/planner.py
92 93 94 95 96 |
|
on_game_end(sid)
async
#
Callback on game_end message.
Source code in cogip/tools/server/namespaces/planner.py
122 123 124 125 126 |
|
on_game_reset(sid)
async
#
Callback on game_reset message.
Source code in cogip/tools/server/namespaces/planner.py
134 135 136 137 138 |
|
on_game_start(sid)
async
#
Callback on game_start message.
Source code in cogip/tools/server/namespaces/planner.py
116 117 118 119 120 |
|
on_obstacles(sid, obstacles)
async
#
Callback on obstacles message.
Receive a list of all obstacles. These obstacles are sent to planner to monitor/dashboards for display.
Source code in cogip/tools/server/namespaces/planner.py
60 61 62 63 64 65 66 67 |
|
on_pami_camp(sid, data)
async
#
Callback on pami_camp message.
Source code in cogip/tools/server/namespaces/planner.py
176 177 178 179 180 |
|
on_pami_play(sid)
async
#
Callback on pami_play message.
Source code in cogip/tools/server/namespaces/planner.py
188 189 190 191 192 |
|
on_pami_reset(sid)
async
#
Callback on pami_reset message.
Source code in cogip/tools/server/namespaces/planner.py
170 171 172 173 174 |
|
on_pami_table(sid, data)
async
#
Callback on pami_table message.
Source code in cogip/tools/server/namespaces/planner.py
182 183 184 185 186 |
|
on_path(sid, path)
async
#
Callback on robot path. Forward the path to dashboard.
Source code in cogip/tools/server/namespaces/planner.py
84 85 86 87 88 89 90 |
|
on_pose_order(sid, pose)
async
#
Callback on pose order. Forward to pose to copilot and dashboards.
Source code in cogip/tools/server/namespaces/planner.py
51 52 53 54 55 56 57 58 |
|
on_pose_start(sid, pose)
async
#
Callback on pose start. Forward to pose to copilot.
Source code in cogip/tools/server/namespaces/planner.py
44 45 46 47 48 49 |
|
on_register_menu(sid, data)
async
#
Callback on register_menu.
Source code in cogip/tools/server/namespaces/planner.py
38 39 40 41 42 |
|
on_robot_end(sid)
async
#
Callback on robot_end message.
Source code in cogip/tools/server/namespaces/planner.py
128 129 130 131 132 |
|
on_score(sid, score)
async
#
Callback on score message.
Source code in cogip/tools/server/namespaces/planner.py
140 141 142 143 144 |
|
on_set_controller(sid, controller)
async
#
Callback on set_controller message. Forward to copilot.
Source code in cogip/tools/server/namespaces/planner.py
77 78 79 80 81 82 |
|
on_start_video_record(sid)
async
#
Callback on start_video_record message.
Source code in cogip/tools/server/namespaces/planner.py
152 153 154 155 156 |
|
on_starter_changed(sid, pushed)
async
#
Callback on starter_pushed message.
Source code in cogip/tools/server/namespaces/planner.py
104 105 106 107 108 |
|
on_stop_video_record(sid)
async
#
Callback on stop_video_record message.
Source code in cogip/tools/server/namespaces/planner.py
158 159 160 161 162 |
|
on_wizard(sid, message)
async
#
Callback on wizard message. Forward to dashboard.
Source code in cogip/tools/server/namespaces/planner.py
69 70 71 72 73 74 75 |
|