libstp
Robotics library for Botball
Loading...
Searching...
No Matches
IRSensorCalibration.hpp
Go to the documentation of this file.
1
//
2
// Created by eternalRose on 12/6/25.
3
//
4
5
#ifndef VERSION_IRSENSORCALIBRATION_HPP
6
#define VERSION_IRSENSORCALIBRATION_HPP
7
#include <string>
8
#include <vector>
9
10
#include "
IRSensor.hpp
"
11
12
#endif
//VERSION_IRSENSORCALIBRATION_HPP
13
14
namespace
libstp::sensors::ir
{
15
class
IRSensorCalibration
{
16
public
:
19
static
std::vector<std::vector<float>>
collectValues
(
const
std::vector<IRSensor*>&
sensors
,
float
durationSeconds = 5.0f);
20
22
static
bool
calibrateSensors
(
const
std::vector<IRSensor*>&
sensors
,
float
durationSeconds = 5.0f,
23
bool
usePre =
false
,
const
std::string& set_name =
"default"
);
24
};
25
}
IRSensor.hpp
libstp::sensors::ir::IRSensorCalibration
Definition
IRSensorCalibration.hpp:15
libstp::sensors::ir::IRSensorCalibration::calibrateSensors
static bool calibrateSensors(const std::vector< IRSensor * > &sensors, float durationSeconds=5.0f, bool usePre=false, const std::string &set_name="default")
libstp::sensors::ir::IRSensorCalibration::collectValues
static std::vector< std::vector< float > > collectValues(const std::vector< IRSensor * > &sensors, float durationSeconds=5.0f)
libstp::sensors::ir
Definition
IRSensor.hpp:12
libstp::sensors
Definition
ETSensor.hpp:9
modules
libstp-sensor-ir
include
IRSensorCalibration.hpp
Generated by
1.15.0