Skip to content

xeroxx/mc_linuxrt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MC Linux RT

This package contains various executables to work with mc_rtc with a Linux PREEMPT RT kernel

Available executable

  • MCLinuxRTMeasureLatency: measure RT latency for an empty loop
  • MCLinuxRT: runs mc_rtc inside the RT loop
  • MCLinuxRTServer: runs an UDP server inside the RT loop, connection can be established using MCUDPControl from the mc_udp package

Environment variables

By setting the MC_RTC_FREQ environment variable, one can set the desired loop frequency (in millisecond)

Examples

Run the latency measurer with a 1ms loop (default):

sudo MCLinuxRTMeasureLatency

Run the latency measurer with a 5ms loop:

sudo MC_RTC_FREQ=5 MCLinuxRTMeasureLatency

Run mc_rtc in Linux RT with a 5ms loop (frequency is deduced from mc_rtc configuration):

sudo MCLinuxRT $HOME/.config/mc_rtc/mc_rtc.conf

Run the UDP server on port 4444 (default):

sudo MC_RTC_FREQ=5 MCLinuxRTServer 4444

About

Sample for using mc_rtc on Linux with PREEMPT RT patch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.5%
  • CMake 11.2%
  • C 5.2%
  • Shell 4.1%