Doly C++ SDK v1.00
Loading...
Searching...
No Matches
Common

Common/shared SDK types and helper utilities. More...

Files

file  Color.h
 Color utilities and predefined color codes used across the Doly SDK.
file  GpioPin.h
 Common GPIO types used across the Doly SDK.
file  Helper.h
 Shared helper utilities and common types used across the Doly SDK.
file  lccv.hpp
 Camera helper header (third-party component).

Namespaces

namespace  Helper

Classes

struct  Color
 Simple 8-bit RGB color container and conversion helpers. More...
struct  Position
 3D pose-like position with heading and integer XY coordinates. More...
struct  Position2F
 2D position using float coordinates. More...

Enumerations

enum class  ColorCode : uint8_t {
  ColorCode::BLACK , ColorCode::WHITE , ColorCode::GRAY , ColorCode::SALMON ,
  ColorCode::RED , ColorCode::DARK_RED , ColorCode::PINK , ColorCode::ORANGE ,
  ColorCode::GOLD , ColorCode::YELLOW , ColorCode::PURPLE , ColorCode::MAGENTA ,
  ColorCode::LIME , ColorCode::GREEN , ColorCode::DARK_GREEN , ColorCode::CYAN ,
  ColorCode::SKY_BLUE , ColorCode::BLUE , ColorCode::DARK_BLUE , ColorCode::BROWN
}
 Predefined color identifiers. More...
enum class  GpioType : uint8_t { GpioType::INPUT , GpioType::OUTPUT , GpioType::PWM , GpioType::AIN }
 Describes the configured role of a GPIO pin. More...
enum class  GpioState : uint8_t { GpioState::LOW , GpioState::HIGH }
 Represents the digital logic level of a GPIO pin. More...

Detailed Description

Common/shared SDK types and helper utilities.

Common SDK types used across modules (helpers, colors, etc.).

Enumeration Type Documentation

◆ ColorCode

enum class ColorCode : uint8_t
strong

Predefined color identifiers.

These codes map to common RGB values and are used as "semantic colors" across the SDK and examples.

Enumerator
BLACK 
WHITE 
GRAY 
SALMON 
RED 
DARK_RED 
PINK 
ORANGE 
GOLD 
YELLOW 
PURPLE 
MAGENTA 
LIME 
GREEN 
DARK_GREEN 
CYAN 
SKY_BLUE 
BLUE 
DARK_BLUE 
BROWN 

◆ GpioState

enum class GpioState : uint8_t
strong

Represents the digital logic level of a GPIO pin.

  • LOW -> 0
  • HIGH -> 1
Enumerator
LOW 

Logical low (0V).

HIGH 

Logical high (VCC).

Examples
IoControl/main.cpp.

◆ GpioType

enum class GpioType : uint8_t
strong

Describes the configured role of a GPIO pin.

Enumerator
INPUT 

Pin configured as a digital input.

OUTPUT 

Pin configured as a digital output.

PWM 

Pin configured for hardware PWM output.

AIN 

Pin configured as an analog input (ADC).