Skip to content

communication_constraints_violation with Ubuntu PREEMPT_RT kernel #207

@christian-rauch

Description

@christian-rauch

I am using libfranka 0.9.2 on Ubuntu 24.04 with kernel 6.8.1-1015-realtime, installed via sudo apt install ubuntu-realtime. The robot is connected via a dedicated ethernet card.

Still, I am frequently getting the communication_constraints_violation error: libfranka: Move command aborted: motion aborted by reflex! ["communication_constraints_violation"].

I previously used the XanMod kernel 6.12.49-rt-x64v3-xanmod1, installed via sudo apt install linux-xanmod-rt-x64v3. The XanMod kernel runs much smother with communication_constraints_violation occurring very rare. However, for some reason, the /sys/kernel/realtime file does not exist, so I am getting the warning [FrankaHardwareInterface]: You are not using a real-time kernel. Using a real-time kernel is strongly recommended! with the ROS node.

Does someone have experienced similar issues with libfranka and the Ubuntu realtime kernel and know how to avoid this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions