Boboter
Loading...
Searching...
No Matches
Flags Namespace Reference

A namespace containing flags for configuring the firmware. More...

Variables

constexpr bool ENABLE_TEST_MODE = false
 Enable the robot's test mode.
constexpr bool ENABLE_COLOR_LOGGING = true
 Enable logging in color over the serial console.
constexpr esp_log_level_t LOWEST_LOG_LEVEL = ESP_LOG_VERBOSE
 Enable logging of debug messages.
constexpr uint32_t ENABLED_VERBOSE_LOG_SOURCES = LOG_SOURCE_DEVICE_IMU
 Enable specific modules to output verbose logs.
constexpr bool ENABLE_DISPLAY = true
 Enables the SSD1306 OLED display.
constexpr bool ENABLE_BUZZER = true
 Enables the buzzer.
constexpr bool ENABLE_IMU = true
 Enables the MPU6050 IMU and DMP.

Detailed Description

A namespace containing flags for configuring the firmware.

Variable Documentation

◆ ENABLE_BUZZER

bool Flags::ENABLE_BUZZER = true
constexpr

Enables the buzzer.

Note
Default Value: false

◆ ENABLE_COLOR_LOGGING

bool Flags::ENABLE_COLOR_LOGGING = true
constexpr

Enable logging in color over the serial console.

Note
Default Value: true

◆ ENABLE_DISPLAY

bool Flags::ENABLE_DISPLAY = true
constexpr

Enables the SSD1306 OLED display.

Note
Default Value: false

◆ ENABLE_IMU

bool Flags::ENABLE_IMU = true
constexpr

Enables the MPU6050 IMU and DMP.

Note
Default Value: false

◆ ENABLE_TEST_MODE

bool Flags::ENABLE_TEST_MODE = false
constexpr

Enable the robot's test mode.

Note
Default Value: false

This disables most of the robot's tasks and enables a special test task, which goes through most of the robot's devices and tests them one by one.

◆ ENABLED_VERBOSE_LOG_SOURCES

uint32_t Flags::ENABLED_VERBOSE_LOG_SOURCES = LOG_SOURCE_DEVICE_IMU
constexpr

Enable specific modules to output verbose logs.

Note
Default Value: LOG_SOURCE_NONE

◆ LOWEST_LOG_LEVEL

esp_log_level_t Flags::LOWEST_LOG_LEVEL = ESP_LOG_VERBOSE
constexpr

Enable logging of debug messages.

Note
Default Value: ESP_LOG_INFO