common_msgs/robot_geometry_msgs/include/robot_geometry_msgs/Twist.h
2025-12-30 10:23:55 +07:00

66 lines
1.9 KiB
C++

// Generated by gencpp from file robot_geometry_msgs/Twist.msg
// DO NOT EDIT!
#ifndef ROBOT_GEOMETRY_MSGS_MESSAGE_TWIST_H
#define ROBOT_GEOMETRY_MSGS_MESSAGE_TWIST_H
#include <string>
#include <vector>
#include <memory>
#include <boost/shared_ptr.hpp>
#include <robot_geometry_msgs/Vector3.h>
#include <robot_geometry_msgs/Vector3.h>
namespace robot_geometry_msgs
{
template <class ContainerAllocator>
struct Twist_
{
typedef Twist_<ContainerAllocator> Type;
Twist_()
: linear(), angular()
{
}
Twist_(const ContainerAllocator &_alloc)
: linear(_alloc), angular(_alloc)
{
(void)_alloc;
}
typedef ::robot_geometry_msgs::Vector3_<ContainerAllocator> _linear_type;
_linear_type linear;
typedef ::robot_geometry_msgs::Vector3_<ContainerAllocator> _angular_type;
_angular_type angular;
typedef boost::shared_ptr<::robot_geometry_msgs::Twist_<ContainerAllocator>> Ptr;
typedef boost::shared_ptr<::robot_geometry_msgs::Twist_<ContainerAllocator> const> ConstPtr;
}; // struct Twist_
typedef ::robot_geometry_msgs::Twist_<std::allocator<void>> Twist;
typedef boost::shared_ptr<::robot_geometry_msgs::Twist> TwistPtr;
typedef boost::shared_ptr<::robot_geometry_msgs::Twist const> TwistConstPtr;
// constants requiring out of line definition
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::robot_geometry_msgs::Twist_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::Twist_<ContainerAllocator2> &rhs)
{
return lhs.linear == rhs.linear &&
lhs.angular == rhs.angular;
}
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::robot_geometry_msgs::Twist_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::Twist_<ContainerAllocator2> &rhs)
{
return !(lhs == rhs);
}
} // namespace robot_geometry_msgs
#endif // ROBOT_GEOMETRY_MSGS_MESSAGE_TWIST_H