28 #ifndef SOCIAL_FILTER_MESSAGE_HUMANPOSE_H
29 #define SOCIAL_FILTER_MESSAGE_HUMANPOSE_H
34 #include "ros/serialization.h"
35 #include "ros/builtin_message_traits.h"
36 #include "ros/message_operations.h"
39 #include "ros/macros.h"
41 #include "ros/assert.h"
43 #include "std_msgs/Header.h"
45 namespace social_filter
47 template <
class ContainerAllocator>
74 ::std_msgs::Header_<ContainerAllocator>
header;
103 static const char*
__s_getMD5Sum_() {
return "ceacb455de3799af175bff49a64446eb"; }
116 float32 linear_velocity\n\
117 float32 angular_velocity\n\
118 ================================================================================\n\
119 MSG: std_msgs/Header\n\
120 # Standard metadata for higher-level stamped data types.\n\
121 # This is generally used to communicate timestamped data \n\
122 # in a particular coordinate frame.\n\
124 # sequence ID: consecutively increasing ID \n\
126 #Two-integer timestamp that is expressed as:\n\
127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
129 # time-handling sugar is provided by the client library\n\
131 #Frame this data is associated with\n\
142 ROS_DEPRECATED
virtual uint8_t *
serialize(uint8_t *write_ptr, uint32_t seq)
const
144 ros::serialization::OStream stream(write_ptr, 1000000000);
145 ros::serialization::serialize(stream,
header);
146 ros::serialization::serialize(stream,
id);
147 ros::serialization::serialize(stream,
x);
148 ros::serialization::serialize(stream,
y);
149 ros::serialization::serialize(stream,
theta);
152 return stream.getData();
157 ros::serialization::IStream stream(read_ptr, 1000000000);
158 ros::serialization::deserialize(stream,
header);
159 ros::serialization::deserialize(stream,
id);
160 ros::serialization::deserialize(stream,
x);
161 ros::serialization::deserialize(stream,
y);
162 ros::serialization::deserialize(stream,
theta);
165 return stream.getData();
171 size += ros::serialization::serializationLength(
header);
172 size += ros::serialization::serializationLength(
id);
173 size += ros::serialization::serializationLength(
x);
174 size += ros::serialization::serializationLength(
y);
175 size += ros::serialization::serializationLength(
theta);
181 typedef boost::shared_ptr< ::social_filter::humanPose_<ContainerAllocator> >
Ptr;
182 typedef boost::shared_ptr< ::social_filter::humanPose_<ContainerAllocator>
const>
ConstPtr;
185 typedef ::social_filter::humanPose_<std::allocator<void> >
humanPose;
191 template<
typename ContainerAllocator>
192 std::ostream& operator<<(std::ostream& s, const ::social_filter::humanPose_<ContainerAllocator> & v)
194 ros::message_operations::Printer< ::social_filter::humanPose_<ContainerAllocator> >::stream(s,
"", v);
201 namespace message_traits
205 template<
class ContainerAllocator>
209 return "ceacb455de3799af175bff49a64446eb";
212 static const char*
value(const ::social_filter::humanPose_<ContainerAllocator> &) {
return value(); }
213 static const uint64_t static_value1 = 0xceacb455de3799afULL;
214 static const uint64_t static_value2 = 0x175bff49a64446ebULL;
217 template<
class ContainerAllocator>
221 return "social_filter/humanPose";
224 static const char*
value(const ::social_filter::humanPose_<ContainerAllocator> &) {
return value(); }
227 template<
class ContainerAllocator>
231 return "Header header\n\
237 float32 linear_velocity\n\
238 float32 angular_velocity\n\
239 ================================================================================\n\
240 MSG: std_msgs/Header\n\
241 # Standard metadata for higher-level stamped data types.\n\
242 # This is generally used to communicate timestamped data \n\
243 # in a particular coordinate frame.\n\
245 # sequence ID: consecutively increasing ID \n\
247 #Two-integer timestamp that is expressed as:\n\
248 # * stamp.secs: seconds (stamp_secs) since epoch\n\
249 # * stamp.nsecs: nanoseconds since stamp_secs\n\
250 # time-handling sugar is provided by the client library\n\
252 #Frame this data is associated with\n\
260 static const char*
value(const ::social_filter::humanPose_<ContainerAllocator> &) {
return value(); }
270 namespace serialization
275 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
277 stream.next(m.header);
281 stream.next(m.theta);
282 stream.next(m.linear_velocity);
283 stream.next(m.angular_velocity);
293 namespace message_operations
296 template<
class ContainerAllocator>
299 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::social_filter::humanPose_<ContainerAllocator> & v)
301 s << indent <<
"header: ";
303 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent +
" ", v.header);
304 s << indent <<
"id: ";
305 Printer<int8_t>::stream(s, indent +
" ", v.id);
306 s << indent <<
"x: ";
307 Printer<float>::stream(s, indent +
" ", v.x);
308 s << indent <<
"y: ";
309 Printer<float>::stream(s, indent +
" ", v.y);
310 s << indent <<
"theta: ";
311 Printer<float>::stream(s, indent +
" ", v.theta);
312 s << indent <<
"linear_velocity: ";
313 Printer<float>::stream(s, indent +
" ", v.linear_velocity);
314 s << indent <<
"angular_velocity: ";
315 Printer<float>::stream(s, indent +
" ", v.angular_velocity);
323 #endif // SOCIAL_FILTER_MESSAGE_HUMANPOSE_H
static const char * __s_getMD5Sum_()
boost::shared_ptr< ::social_filter::humanPose_< ContainerAllocator > const > ConstPtr
ROS_DEPRECATED const std::string __getMD5Sum() const
static const char * __s_getMessageDefinition_()
static const char * __s_getDataType_()
boost::shared_ptr< ::social_filter::humanPose_< ContainerAllocator > > Ptr
static const char * value()
static const char * value()
static const char * value()
static const char * value(const ::social_filter::humanPose_< ContainerAllocator > &)
static ROS_DEPRECATED const std::string __s_getDataType()
float _angular_velocity_type
static const char * value(const ::social_filter::humanPose_< ContainerAllocator > &)
ROS_DEPRECATED const std::string __getDataType() const
static void stream(Stream &s, const std::string &indent, const ::social_filter::humanPose_< ContainerAllocator > &v)
::std_msgs::Header_< ContainerAllocator > _header_type
float _linear_velocity_type
virtual ROS_DEPRECATED uint32_t serializationLength() const
humanPose_< ContainerAllocator > Type
::social_filter::humanPose_< std::allocator< void > > humanPose
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
static ROS_DEPRECATED const std::string __s_getMessageDefinition()
static const char * value(const ::social_filter::humanPose_< ContainerAllocator > &)
humanPose_(const ContainerAllocator &_alloc)
boost::shared_ptr< ::social_filter::humanPose > humanPosePtr
static void allInOne(Stream &stream, T m)
::std_msgs::Header_< ContainerAllocator > header
boost::shared_ptr< ::social_filter::humanPose const > humanPoseConstPtr
static ROS_DEPRECATED const std::string __s_getMD5Sum()
ROS_DEPRECATED const std::string __getMessageDefinition() const
ROS_DECLARE_ALLINONE_SERIALIZER
virtual ROS_DEPRECATED uint8_t * deserialize(uint8_t *read_ptr)
virtual ROS_DEPRECATED uint8_t * serialize(uint8_t *write_ptr, uint32_t seq) const