// Generated by gencpp from file geometry_msgs/AccelWithCovariance.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H #define GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H #include #include #include #include #include #include #include #include namespace geometry_msgs { template struct AccelWithCovariance_ { typedef AccelWithCovariance_ Type; AccelWithCovariance_() : accel() , covariance() { covariance.assign(0.0); } AccelWithCovariance_(const ContainerAllocator& _alloc) : accel(_alloc) , covariance() { (void)_alloc; covariance.assign(0.0); } typedef ::geometry_msgs::Accel_ _accel_type; _accel_type accel; typedef boost::array _covariance_type; _covariance_type covariance; typedef boost::shared_ptr< ::geometry_msgs::AccelWithCovariance_ > Ptr; typedef boost::shared_ptr< ::geometry_msgs::AccelWithCovariance_ const> ConstPtr; }; // struct AccelWithCovariance_ typedef ::geometry_msgs::AccelWithCovariance_ > AccelWithCovariance; typedef boost::shared_ptr< ::geometry_msgs::AccelWithCovariance > AccelWithCovariancePtr; typedef boost::shared_ptr< ::geometry_msgs::AccelWithCovariance const> AccelWithCovarianceConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::AccelWithCovariance_ & v) { ros::message_operations::Printer< ::geometry_msgs::AccelWithCovariance_ >::stream(s, "", v); return s; } template bool operator==(const ::geometry_msgs::AccelWithCovariance_ & lhs, const ::geometry_msgs::AccelWithCovariance_ & rhs) { return lhs.accel == rhs.accel && lhs.covariance == rhs.covariance; } template bool operator!=(const ::geometry_msgs::AccelWithCovariance_ & lhs, const ::geometry_msgs::AccelWithCovariance_ & rhs) { return !(lhs == rhs); } } // namespace geometry_msgs namespace ros { namespace message_traits { template struct IsMessage< ::geometry_msgs::AccelWithCovariance_ > : TrueType { }; template struct IsMessage< ::geometry_msgs::AccelWithCovariance_ const> : TrueType { }; template struct IsFixedSize< ::geometry_msgs::AccelWithCovariance_ > : TrueType { }; template struct IsFixedSize< ::geometry_msgs::AccelWithCovariance_ const> : TrueType { }; template struct HasHeader< ::geometry_msgs::AccelWithCovariance_ > : FalseType { }; template struct HasHeader< ::geometry_msgs::AccelWithCovariance_ const> : FalseType { }; template struct MD5Sum< ::geometry_msgs::AccelWithCovariance_ > { static const char* value() { return "ad5a718d699c6be72a02b8d6a139f334"; } static const char* value(const ::geometry_msgs::AccelWithCovariance_&) { return value(); } static const uint64_t static_value1 = 0xad5a718d699c6be7ULL; static const uint64_t static_value2 = 0x2a02b8d6a139f334ULL; }; template struct DataType< ::geometry_msgs::AccelWithCovariance_ > { static const char* value() { return "geometry_msgs/AccelWithCovariance"; } static const char* value(const ::geometry_msgs::AccelWithCovariance_&) { return value(); } }; template struct Definition< ::geometry_msgs::AccelWithCovariance_ > { static const char* value() { return "# This expresses acceleration in free space with uncertainty.\n" "\n" "Accel accel\n" "\n" "# Row-major representation of the 6x6 covariance matrix\n" "# The orientation parameters use a fixed-axis representation.\n" "# In order, the parameters are:\n" "# (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n" "float64[36] covariance\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Accel\n" "# This expresses acceleration in free space broken into its linear and angular parts.\n" "Vector3 linear\n" "Vector3 angular\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Vector3\n" "# This represents a vector in free space. \n" "# It is only meant to represent a direction. Therefore, it does not\n" "# make sense to apply a translation to it (e.g., when applying a \n" "# generic rigid transformation to a Vector3, tf2 will only apply the\n" "# rotation). If you want your data to be translatable too, use the\n" "# geometry_msgs/Point message instead.\n" "\n" "float64 x\n" "float64 y\n" "float64 z\n" ; } static const char* value(const ::geometry_msgs::AccelWithCovariance_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::geometry_msgs::AccelWithCovariance_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.accel); stream.next(m.covariance); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct AccelWithCovariance_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::geometry_msgs::AccelWithCovariance_ > { template static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::AccelWithCovariance_& v) { s << indent << "accel: "; s << std::endl; Printer< ::geometry_msgs::Accel_ >::stream(s, indent + " ", v.accel); s << indent << "covariance[]" << std::endl; for (size_t i = 0; i < v.covariance.size(); ++i) { s << indent << " covariance[" << i << "]: "; Printer::stream(s, indent + " ", v.covariance[i]); } } }; } // namespace message_operations } // namespace ros #endif // GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H