Skip to content

Commit c3946d0

Browse files
Wrench accepth nan values fix (#1141) (#1150)
Signed-off-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit 82385de) Co-authored-by: Alejandro Hernández Cordero <[email protected]>
1 parent d497014 commit c3946d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rviz_default_plugins/src/rviz_default_plugins/displays/wrench/wrench_display.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,8 @@ void WrenchDisplay::processMessage(geometry_msgs::msg::WrenchStamped::ConstShare
156156

157157
if (!validateFloats(*msg)) {
158158
setStatus(
159-
rviz_common::properties::StatusProperty::Error, "Topic",
160-
"Message contained invalid floating point values (nans or infs)");
161-
return;
159+
rviz_common::properties::StatusProperty::Ok, "Topic",
160+
"Message might contain floating point values (nans or infs)");
162161
}
163162
}
164163

0 commit comments

Comments
 (0)