BUILD_ROBOT_NAV_MSGS_TESTS now defaults to OFF in both build modes instead of following
BUILDING_WITH_CATKIN. Enable the tests with -DBUILD_ROBOT_NAV_MSGS_TESTS=ON.
The previous commit deleted ros::message_operations::Printer but left the
operator<< that called it, so any translation unit including Imu.h failed to
compile. Remove that operator, include <boost/array.hpp> directly since the
covariance fields are boost::array<double, 9> and no longer get it through
the removed ROS blocks, drop the duplicate Vector3.h include, and correct the
include guard to match the package name.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Accel.h and Imu.h still carried the generated ros::message_traits,
ros::serialization and ros::message_operations blocks (MD5Sum, DataType,
Definition, Serializer, Printer). Nothing in the nav core links roscpp, so
those blocks only pulled ROS symbols into headers that must stay ROS-free.
This matches the cleanup already applied to the other messages in the
package.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The standalone CMake build is the robot deployment path and must not produce
test executables; a catkin workspace is a development machine and keeps them.
Force with -D<option>=ON to build the tests from a standalone build.