dotbot.server module#

Module for the web server application.

async dotbot.server.controller_add_lh2_calibration_point(point_idx)[source]#

LH2 calibration, add single calibration point.

Parameters:

point_idx (int)

async dotbot.server.controller_apply_lh2_calibration()[source]#

Apply LH2 calibration.

async dotbot.server.controller_get_lh2_calibration()[source]#

LH2 calibration GET handler.

async dotbot.server.dotbot(address, query=Depends(NoneType))[source]#

Dotbot HTTP GET handler.

Parameters:
async dotbot.server.dotbot_positions_history_clear(address)[source]#

Clear the history of positions of a dotbot.

Parameters:

address (str)

async dotbot.server.dotbots(query=Depends(NoneType))[source]#

Dotbots HTTP GET handler.

Parameters:

query (DotBotQueryModel)

async dotbot.server.dotbots_move_raw(address, application, command)[source]#

Set the current active DotBot.

Parameters:
async dotbot.server.dotbots_rgb_led(address, application, command)[source]#

Set the current active DotBot.

Parameters:
async dotbot.server.dotbots_waypoints(address, application, waypoints)[source]#

Set the waypoints of a DotBot.

Parameters:
async dotbot.server.websocket_endpoint(websocket)[source]#

Websocket server endpoint.

Parameters:

websocket (WebSocket)