Skip to content

Commit 7560198

Browse files
Update joy_linux_node.cpp (#189)
Switch logger to warning for non-severe diagnostic reporting
1 parent d8b7494 commit 7560198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

joy_linux/src/joy_linux_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ class Joystick
346346
ie.value = 0xFFFFUL * gain / 100;
347347

348348
if (write(ff_fd_, &ie, sizeof(ie)) == -1) {
349-
RCLCPP_ERROR(
349+
RCLCPP_WARN(
350350
node_->get_logger(), "Couldn't open joystick force feedback: %s", strerror(errno));
351351
}
352352

0 commit comments

Comments
 (0)