ros2_control - humble
Classes | Typedefs | Functions | Variables
realtime_tools Namespace Reference

Classes

class  AsyncFunctionHandler
 Class to handle asynchronous function calls. AsyncFunctionHandler is a class that allows the user to have a asynchronous call to the parsed method and be able to set some thread specific parameters. More...
 
class  RealtimeBox
 
class  RealtimeBoxBestEffort
 
class  RealtimeBuffer
 
class  RealtimeClock
 
class  RealtimePublisher
 
class  RealtimeServerGoalHandle
 

Typedefs

template<class Msg >
using RealtimePublisherSharedPtr = std::shared_ptr< RealtimePublisher< Msg > >
 

Functions

bool has_realtime_kernel ()
 
bool configure_sched_fifo (int priority)
 

Variables

template<typename T >
constexpr auto is_ptr_or_smart_ptr = rcpputils::is_pointer<T>::value
 

Detailed Description

Author
Sai Kishor Kothakota
Stuart Glaser

Function Documentation

◆ configure_sched_fifo()

bool realtime_tools::configure_sched_fifo ( int  priority)

Configure SCHED_FIFO thread priority for the thread that calls this function

Parameters
[in]prioritythe priority of this thread from 0-99
Returns
true if configuring scheduler succeeded

◆ has_realtime_kernel()

bool realtime_tools::has_realtime_kernel ( )

Detect if realtime kernel is present.

Returns
true if realtime kernel is detected