detector
DetectorNamespace
#
Bases: AsyncNamespace
Handle all SocketIO events related to detector.
Source code in cogip/tools/server/namespaces/detector.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 |
|
on_config(sid, config)
async
#
Callback on config message.
Source code in cogip/tools/server/namespaces/detector.py
56 57 58 59 60 |
|
on_obstacles(sid, obstacles)
async
#
Callback on obstacles message.
Receive a list of obstacles, computed from sensors data by the Detector. These obstacles are sent to planner to compute avoidance path.
Source code in cogip/tools/server/namespaces/detector.py
46 47 48 49 50 51 52 53 54 |
|
on_register_menu(sid, data)
async
#
Callback on register_menu.
Source code in cogip/tools/server/namespaces/detector.py
40 41 42 43 44 |
|