30 #ifndef TRAJECTORY_TRACKER_RVIZ_PLUGINS_VALIDATE_FLOATS_H 31 #define TRAJECTORY_TRACKER_RVIZ_PLUGINS_VALIDATE_FLOATS_H 36 #ifdef HAVE_VALIDATE_QUATERNION_H 40 #include <trajectory_tracker_msgs/PathWithVelocity.h> 41 #include <trajectory_tracker_msgs/PoseStampedWithVelocity.h> 45 inline bool validateFloats(
const trajectory_tracker_msgs::PoseStampedWithVelocity& msg)
55 for (
const T& e : vec)
63 inline bool validateFloats(
const trajectory_tracker_msgs::PathWithVelocity& msg)
68 #ifdef HAVE_VALIDATE_QUATERNION_H 69 inline bool validateQuaternions(
const trajectory_tracker_msgs::PoseStampedWithVelocity& msg)
77 for (
const T& e : vec)
88 #endif // TRAJECTORY_TRACKER_RVIZ_PLUGINS_VALIDATE_FLOATS_H bool validateFloats(const trajectory_tracker_msgs::PoseStampedWithVelocity &msg)
bool validateQuaternions(float w, float x, float y, float z)
bool validateFloats(const visualization_msgs::InteractiveMarker &msg)
bool validateQuaternions(const visualization_msgs::InteractiveMarker &marker)