Wizard module

Wizard module This module is used to communicate with the Copilot at the beginning of a game to configure dynamic parameters or play a check-list. It provides predefined Protobuf messages (bool, int, float, str, list, ...) that can be sent using uartpb module. After sending a message, the module waits for a response of the same type, with its value updated. A file uartpb_config.hpp must be provided by the application, either at lib, platform or application level. This file must define the PB_OutputMessage type. This type refers to a Protobuf message that contains a oneof attribute defining a wizard field. More...

Detailed Description

Wizard module This module is used to communicate with the Copilot at the beginning of a game to configure dynamic parameters or play a check-list. It provides predefined Protobuf messages (bool, int, float, str, list, ...) that can be sent using uartpb module. After sending a message, the module waits for a response of the same type, with its value updated. A file uartpb_config.hpp must be provided by the application, either at lib, platform or application level. This file must define the PB_OutputMessage type. This type refers to a Protobuf message that contains a oneof attribute defining a wizard field.

+ Collaboration diagram for Wizard module:

Files

file  Wizard.hpp
 Public API for wizard module.
 

Namespaces

 cogip
 Differential drive controller.
 

Macros

#define WIZARD_NAME_MAX_LENGTH   256
 Maximum length of the message strings.
 
#define WIZARD_REP_MAX   8
 Maximum count of repeated fields.