RBControl
Library for the RB3201-RBControl board with the ESP32 by RoboticsBrno.
Namespaces | Functions
RBControl_util.hpp File Reference
#include <chrono>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <ratio>
#include "RBControl_logger.hpp"

Go to the source code of this file.

Namespaces

 rb
 The base namespace. Contains some logging functions, too.
 

Functions

template<typename T , typename... Args>
rb::clamp (T value, T min, T max, const char *tag="", const char *msg=NULL, Args... args)
 
void rb::delayMs (int ms)
 
void rb::delay (std::chrono::duration< uint32_t, std::milli > delay)