common_msgs/geometry_msgs/include/robot_geometry_msgs/AccelWithCovariance.h
2025-12-30 09:10:03 +07:00

66 lines
2.2 KiB
C++

// Generated by gencpp from file robot_geometry_msgs/AccelWithCovariance.msg
// DO NOT EDIT!
#ifndef GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H
#define GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H
#include <string>
#include <vector>
#include <memory>
#include <boost/shared_ptr.hpp>
#include <boost/array.hpp>
#include <robot_geometry_msgs/Accel.h>
namespace robot_geometry_msgs
{
template <class ContainerAllocator>
struct AccelWithCovariance_
{
typedef AccelWithCovariance_<ContainerAllocator> Type;
AccelWithCovariance_()
: accel(), covariance()
{
covariance.assign(0.0);
}
AccelWithCovariance_(const ContainerAllocator &_alloc)
: accel(_alloc), covariance()
{
(void)_alloc;
covariance.assign(0.0);
}
typedef ::robot_geometry_msgs::Accel_<ContainerAllocator> _accel_type;
_accel_type accel;
typedef boost::array<double, 36> _covariance_type;
_covariance_type covariance;
typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance_<ContainerAllocator>> Ptr;
typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance_<ContainerAllocator> const> ConstPtr;
}; // struct AccelWithCovariance_
typedef ::robot_geometry_msgs::AccelWithCovariance_<std::allocator<void>> AccelWithCovariance;
typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance> AccelWithCovariancePtr;
typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance const> AccelWithCovarianceConstPtr;
// constants requiring out of line definition
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::robot_geometry_msgs::AccelWithCovariance_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::AccelWithCovariance_<ContainerAllocator2> &rhs)
{
return lhs.accel == rhs.accel &&
lhs.covariance == rhs.covariance;
}
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::robot_geometry_msgs::AccelWithCovariance_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::AccelWithCovariance_<ContainerAllocator2> &rhs)
{
return !(lhs == rhs);
}
} // namespace robot_geometry_msgs
#endif // GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H