Go to the documentation of this file.00001
00002 #ifndef IRI_SEGWAY_RMP_MSGS_MESSAGE_SEGWAYRMP400STATUS_H
00003 #define IRI_SEGWAY_RMP_MSGS_MESSAGE_SEGWAYRMP400STATUS_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 #include "iri_segway_rmp_msgs/SegwayRMP200Status.h"
00018
00019 namespace iri_segway_rmp_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SegwayRMP400Status_ {
00023 typedef SegwayRMP400Status_<ContainerAllocator> Type;
00024
00025 SegwayRMP400Status_()
00026 : rmp200()
00027 {
00028 }
00029
00030 SegwayRMP400Status_(const ContainerAllocator& _alloc)
00031 : rmp200()
00032 {
00033 rmp200.assign( ::iri_segway_rmp_msgs::SegwayRMP200Status_<ContainerAllocator> (_alloc));
00034 }
00035
00036 typedef boost::array< ::iri_segway_rmp_msgs::SegwayRMP200Status_<ContainerAllocator> , 2> _rmp200_type;
00037 boost::array< ::iri_segway_rmp_msgs::SegwayRMP200Status_<ContainerAllocator> , 2> rmp200;
00038
00039
00040 typedef boost::shared_ptr< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> > Ptr;
00041 typedef boost::shared_ptr< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> const> ConstPtr;
00042 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00043 };
00044 typedef ::iri_segway_rmp_msgs::SegwayRMP400Status_<std::allocator<void> > SegwayRMP400Status;
00045
00046 typedef boost::shared_ptr< ::iri_segway_rmp_msgs::SegwayRMP400Status> SegwayRMP400StatusPtr;
00047 typedef boost::shared_ptr< ::iri_segway_rmp_msgs::SegwayRMP400Status const> SegwayRMP400StatusConstPtr;
00048
00049
00050 template<typename ContainerAllocator>
00051 std::ostream& operator<<(std::ostream& s, const ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> & v)
00052 {
00053 ros::message_operations::Printer< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> >::stream(s, "", v);
00054 return s;}
00055
00056 }
00057
00058 namespace ros
00059 {
00060 namespace message_traits
00061 {
00062 template<class ContainerAllocator> struct IsMessage< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> > : public TrueType {};
00063 template<class ContainerAllocator> struct IsMessage< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> const> : public TrueType {};
00064 template<class ContainerAllocator>
00065 struct MD5Sum< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> > {
00066 static const char* value()
00067 {
00068 return "a9cfb6fa904ed9bed91fd4248f49e1f0";
00069 }
00070
00071 static const char* value(const ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> &) { return value(); }
00072 static const uint64_t static_value1 = 0xa9cfb6fa904ed9beULL;
00073 static const uint64_t static_value2 = 0xd91fd4248f49e1f0ULL;
00074 };
00075
00076 template<class ContainerAllocator>
00077 struct DataType< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> > {
00078 static const char* value()
00079 {
00080 return "iri_segway_rmp_msgs/SegwayRMP400Status";
00081 }
00082
00083 static const char* value(const ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> &) { return value(); }
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct Definition< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "iri_segway_rmp_msgs/SegwayRMP200Status[2] rmp200\n\
00091 \n\
00092 ================================================================================\n\
00093 MSG: iri_segway_rmp_msgs/SegwayRMP200Status\n\
00094 Header header\n\
00095 float32 pitch_angle\n\
00096 float32 pitch_rate\n\
00097 float32 roll_angle\n\
00098 float32 roll_rate\n\
00099 float32 left_wheel_velocity\n\
00100 float32 right_wheel_velocity\n\
00101 float32 yaw_rate\n\
00102 float32 uptime\n\
00103 float32 left_wheel_displacement\n\
00104 float32 right_wheel_displacement\n\
00105 float32 forward_displacement\n\
00106 float32 yaw_displacement\n\
00107 float32 left_motor_torque\n\
00108 float32 right_motor_torque\n\
00109 int8 operation_mode\n\
00110 int8 gain_schedule\n\
00111 float32 ui_battery\n\
00112 float32 powerbase_battery\n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: std_msgs/Header\n\
00116 # Standard metadata for higher-level stamped data types.\n\
00117 # This is generally used to communicate timestamped data \n\
00118 # in a particular coordinate frame.\n\
00119 # \n\
00120 # sequence ID: consecutively increasing ID \n\
00121 uint32 seq\n\
00122 #Two-integer timestamp that is expressed as:\n\
00123 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00124 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00125 # time-handling sugar is provided by the client library\n\
00126 time stamp\n\
00127 #Frame this data is associated with\n\
00128 # 0: no frame\n\
00129 # 1: global frame\n\
00130 string frame_id\n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 }
00139 }
00140
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145
00146 template<class ContainerAllocator> struct Serializer< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> >
00147 {
00148 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149 {
00150 stream.next(m.rmp200);
00151 }
00152
00153 ROS_DECLARE_ALLINONE_SERIALIZER;
00154 };
00155 }
00156 }
00157
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162
00163 template<class ContainerAllocator>
00164 struct Printer< ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> >
00165 {
00166 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::iri_segway_rmp_msgs::SegwayRMP400Status_<ContainerAllocator> & v)
00167 {
00168 s << indent << "rmp200[]" << std::endl;
00169 for (size_t i = 0; i < v.rmp200.size(); ++i)
00170 {
00171 s << indent << " rmp200[" << i << "]: ";
00172 s << std::endl;
00173 s << indent;
00174 Printer< ::iri_segway_rmp_msgs::SegwayRMP200Status_<ContainerAllocator> >::stream(s, indent + " ", v.rmp200[i]);
00175 }
00176 }
00177 };
00178
00179
00180 }
00181 }
00182
00183 #endif // IRI_SEGWAY_RMP_MSGS_MESSAGE_SEGWAYRMP400STATUS_H
00184