Go to the documentation of this file.00001
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_CONTROLLERPOSESETTINGS_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_CONTROLLERPOSESETTINGS_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017
00018 namespace nasa_r2_common_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ControllerPoseSettings_ {
00022 typedef ControllerPoseSettings_<ContainerAllocator> Type;
00023
00024 ControllerPoseSettings_()
00025 : maxLinearVelocity(0.0)
00026 , maxRotationalVelocity(0.0)
00027 , maxLinearAcceleration(0.0)
00028 , maxRotationalAcceleration(0.0)
00029 {
00030 }
00031
00032 ControllerPoseSettings_(const ContainerAllocator& _alloc)
00033 : maxLinearVelocity(0.0)
00034 , maxRotationalVelocity(0.0)
00035 , maxLinearAcceleration(0.0)
00036 , maxRotationalAcceleration(0.0)
00037 {
00038 }
00039
00040 typedef double _maxLinearVelocity_type;
00041 double maxLinearVelocity;
00042
00043 typedef double _maxRotationalVelocity_type;
00044 double maxRotationalVelocity;
00045
00046 typedef double _maxLinearAcceleration_type;
00047 double maxLinearAcceleration;
00048
00049 typedef double _maxRotationalAcceleration_type;
00050 double maxRotationalAcceleration;
00051
00052
00053 typedef boost::shared_ptr< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::nasa_r2_common_msgs::ControllerPoseSettings_<std::allocator<void> > ControllerPoseSettings;
00058
00059 typedef boost::shared_ptr< ::nasa_r2_common_msgs::ControllerPoseSettings> ControllerPoseSettingsPtr;
00060 typedef boost::shared_ptr< ::nasa_r2_common_msgs::ControllerPoseSettings const> ControllerPoseSettingsConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> >::stream(s, "", v);
00067 return s;}
00068
00069 }
00070
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "f62b594a8f4b5a5afec86445f0b7a4f2";
00082 }
00083
00084 static const char* value(const ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0xf62b594a8f4b5a5aULL;
00086 static const uint64_t static_value2 = 0xfec86445f0b7a4f2ULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "nasa_r2_common_msgs/ControllerPoseSettings";
00094 }
00095
00096 static const char* value(const ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "float64 maxLinearVelocity\n\
00104 float64 maxRotationalVelocity\n\
00105 float64 maxLinearAcceleration\n\
00106 float64 maxRotationalAcceleration\n\
00107 \n\
00108 ";
00109 }
00110
00111 static const char* value(const ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> &) { return value(); }
00112 };
00113
00114 template<class ContainerAllocator> struct IsFixedSize< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> > : public TrueType {};
00115 }
00116 }
00117
00118 namespace ros
00119 {
00120 namespace serialization
00121 {
00122
00123 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> >
00124 {
00125 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00126 {
00127 stream.next(m.maxLinearVelocity);
00128 stream.next(m.maxRotationalVelocity);
00129 stream.next(m.maxLinearAcceleration);
00130 stream.next(m.maxRotationalAcceleration);
00131 }
00132
00133 ROS_DECLARE_ALLINONE_SERIALIZER;
00134 };
00135 }
00136 }
00137
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142
00143 template<class ContainerAllocator>
00144 struct Printer< ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> >
00145 {
00146 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nasa_r2_common_msgs::ControllerPoseSettings_<ContainerAllocator> & v)
00147 {
00148 s << indent << "maxLinearVelocity: ";
00149 Printer<double>::stream(s, indent + " ", v.maxLinearVelocity);
00150 s << indent << "maxRotationalVelocity: ";
00151 Printer<double>::stream(s, indent + " ", v.maxRotationalVelocity);
00152 s << indent << "maxLinearAcceleration: ";
00153 Printer<double>::stream(s, indent + " ", v.maxLinearAcceleration);
00154 s << indent << "maxRotationalAcceleration: ";
00155 Printer<double>::stream(s, indent + " ", v.maxRotationalAcceleration);
00156 }
00157 };
00158
00159
00160 }
00161 }
00162
00163 #endif // NASA_R2_COMMON_MSGS_MESSAGE_CONTROLLERPOSESETTINGS_H
00164