Function nav2_util::validateTwist

Function Documentation

bool nav2_util::validateTwist(const geometry_msgs::msg::Twist &msg)

Validates a twist message contains no nans or infs.

Parameters:

msg – Twist message to validate

Returns:

True if valid, false if contains unactionable values