Function husarion_ugv_utils::ConfigureRT

Function Documentation

inline void husarion_ugv_utils::ConfigureRT(const unsigned priority)

Configures thread that calls this function to FIFO scheduler with RT priority.

Parameters:

priority – RT priority of thread (value in [0, 99] range)

Throws:

std::runtime_error – if invalid priority is set, kernel isn’t RT or configuration fails.