From 211501b4af44b3ab30461359eaf53ed8fd34c296 Mon Sep 17 00:00:00 2001 From: Thibault Poignonec Date: Wed, 28 Aug 2024 11:12:37 +0200 Subject: [PATCH] fix ignore_orientation_ --- fd_hardware/src/fd_effort_hi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fd_hardware/src/fd_effort_hi.cpp b/fd_hardware/src/fd_effort_hi.cpp index c8173a3..70fd1b0 100644 --- a/fd_hardware/src/fd_effort_hi.cpp +++ b/fd_hardware/src/fd_effort_hi.cpp @@ -534,7 +534,7 @@ bool FDEffortHardwareInterface::connectToDevice() return false; } - ignore_orientation_ &= !dhdHasWrist(interface_ID_); + ignore_orientation_ |= !dhdHasWrist(interface_ID_); if (ignore_orientation_) { RCLCPP_INFO(LOGGER, "dhd : Orientation will be ignored !"); }