Mentions légales du service

Skip to content

Bug: buttons_msg not published correctly for Omega device

Description: When using the Omega haptic device, the buttons_msg was always reset to zero before being published. This was due to buttons_pub.publish(buttons_msg); being inside updateButtons(), which is exclusively used for the Falcon device. As a result, the buttons_msg.data reflecting the haptic gripper switch state was never correctly published for the Omega device.

**Expected Behavior ** : The buttons_msg.data should correctly reflect the gripper switch state (0 or 1) when using the Omega device.