This package contains various executables to work with mc_rtc with a Linux PREEMPT RT kernel
MCLinuxRTMeasureLatency: measure RT latency for an empty loopMCLinuxRT: runs mc_rtc inside the RT loopMCLinuxRTServer: runs an UDP server inside the RT loop, connection can be established usingMCUDPControlfrom the mc_udp package
By setting the MC_RTC_FREQ environment variable, one can set the desired loop frequency (in millisecond)
Run the latency measurer with a 1ms loop (default):
sudo MCLinuxRTMeasureLatencyRun the latency measurer with a 5ms loop:
sudo MC_RTC_FREQ=5 MCLinuxRTMeasureLatencyRun mc_rtc in Linux RT with a 5ms loop (frequency is deduced from mc_rtc configuration):
sudo MCLinuxRT $HOME/.config/mc_rtc/mc_rtc.confRun the UDP server on port 4444 (default):
sudo MC_RTC_FREQ=5 MCLinuxRTServer 4444