Arduino Mavlink
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ParameterStore Class Reference

Flexible parameter storage for MAVLink drone applications. More...

#include <ParameterStore.h>

Public Member Functions

 ParameterStore (uint16_t size=10)
 
 ~ParameterStore ()
 
float getValue (uint16_t id)
 
void setValue (uint16_t id, float value)
 

Detailed Description

Flexible parameter storage for MAVLink drone applications.

This class provides a simple, extensible parameter storage mechanism for drone applications. It manages an array of float values, indexed by parameter ID, and can be extended or replaced with custom implementations as needed.

Features:

Usage: ParameterStore params; params.setValue(THROTTLE, 0.5f); float throttle = params.getValue(THROTTLE);

Constructor & Destructor Documentation

◆ ParameterStore()

ParameterStore ( uint16_t  size = 10)
inline

◆ ~ParameterStore()

~ParameterStore ( )
inline

Member Function Documentation

◆ getValue()

float getValue ( uint16_t  id)
inline

◆ setValue()

void setValue ( uint16_t  id,
float  value 
)
inline

The documentation for this class was generated from the following file: