sio_events
SioEvents
#
Bases: AsyncClientNamespace
Handle all SocketIO events received by the odometry calibration tool.
Source code in cogip/tools/firmware_odometry_calibration/sio_events.py
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_connect()
async
#
On connection to cogip-server.
Source code in cogip/tools/firmware_odometry_calibration/sio_events.py
23 24 25 26 27 28 29 30 31 32 33 34 35 | |
on_connect_error(data)
async
#
On connection error.
Source code in cogip/tools/firmware_odometry_calibration/sio_events.py
44 45 46 47 48 49 50 51 52 | |
on_disconnect()
async
#
On disconnection from cogip-server.
Source code in cogip/tools/firmware_odometry_calibration/sio_events.py
37 38 39 40 41 42 | |
on_pose_reached()
async
#
Handle pose_reached event from copilot (via server). Signal that the robot has reached its target position.
Source code in cogip/tools/firmware_odometry_calibration/sio_events.py
54 55 56 57 58 59 60 | |