Closed alexunder closed 5 years ago
Sorry, we have not tried to run the dVRK with Xenomai lately, mostly because you gain very little performance because the FireWire driver is not real-time. The last person who did FireWire testing on Xenomai was @zchen24, but that was quite some time ago.
@alexunder As Peter mentioned, the default Linux FireWire driver is not real-time. I did some testing a while ago and confirmed that running on Xenomai patched kernel still has overrun. If hard RT is crucial to you, the most promising route is to use the RT-FireWire (Zhang2005) driver. However, the driver was written for a really old kernel (2.6) and is no longer maintained. On the other hand, hard-RT is not necessary for the majority of applications including rendering haptics at multi kHz rate.
@pkazanzides @zchen24 Thanks for your replies. I have done some work-arounds.
So I should close it. Thanks!
I am using Xenomai patched ubuntu workstation. But when some Xenomai tasks ran with the 1k frequency, there would generate the memory exception, actually, these tasks wound invoke FirewirePort::WriteAllBoards. It seems that the real core-dump event happened inside libraw1394, but I think you guys may meet with this problem before, can you give me some hints to fix it, thanks very much. The core dump call trace is below: