28 #ifndef TRAJECTORY_SIMULATOR_MESSAGE_TRAJECTORYOBSERVATION_H
29 #define TRAJECTORY_SIMULATOR_MESSAGE_TRAJECTORYOBSERVATION_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"
44 #include "geometry_msgs/Pose2D.h"
45 #include "geometry_msgs/Pose2D.h"
47 namespace trajectory_simulator
49 template <
class ContainerAllocator>
72 ::std_msgs::Header_<ContainerAllocator>
header;
80 typedef ::geometry_msgs::Pose2D_<ContainerAllocator>
_pose_type;
81 ::geometry_msgs::Pose2D_<ContainerAllocator>
pose;
84 ::geometry_msgs::Pose2D_<ContainerAllocator>
velocity;
90 static const char*
__s_getDataType_() {
return "trajectory_simulator/TrajectoryObservation"; }
97 static const char*
__s_getMD5Sum_() {
return "9a527b2825637f568c9382ecb8750bba"; }
109 geometry_msgs/Pose2D pose\n\
110 geometry_msgs/Pose2D velocity\n\
112 ================================================================================\n\
113 MSG: std_msgs/Header\n\
114 # Standard metadata for higher-level stamped data types.\n\
115 # This is generally used to communicate timestamped data \n\
116 # in a particular coordinate frame.\n\
118 # sequence ID: consecutively increasing ID \n\
120 #Two-integer timestamp that is expressed as:\n\
121 # * stamp.secs: seconds (stamp_secs) since epoch\n\
122 # * stamp.nsecs: nanoseconds since stamp_secs\n\
123 # time-handling sugar is provided by the client library\n\
125 #Frame this data is associated with\n\
130 ================================================================================\n\
131 MSG: geometry_msgs/Pose2D\n\
132 # This expresses a position and orientation on a 2D manifold.\n\
143 ROS_DEPRECATED
virtual uint8_t *
serialize(uint8_t *write_ptr, uint32_t seq)
const
145 ros::serialization::OStream stream(write_ptr, 1000000000);
146 ros::serialization::serialize(stream,
header);
147 ros::serialization::serialize(stream,
object_id);
148 ros::serialization::serialize(stream,
type);
149 ros::serialization::serialize(stream,
pose);
150 ros::serialization::serialize(stream,
velocity);
151 return stream.getData();
156 ros::serialization::IStream stream(read_ptr, 1000000000);
157 ros::serialization::deserialize(stream,
header);
158 ros::serialization::deserialize(stream,
object_id);
159 ros::serialization::deserialize(stream,
type);
160 ros::serialization::deserialize(stream,
pose);
161 ros::serialization::deserialize(stream,
velocity);
162 return stream.getData();
168 size += ros::serialization::serializationLength(
header);
169 size += ros::serialization::serializationLength(
object_id);
170 size += ros::serialization::serializationLength(
type);
171 size += ros::serialization::serializationLength(
pose);
172 size += ros::serialization::serializationLength(
velocity);
176 typedef boost::shared_ptr< ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator> >
Ptr;
177 typedef boost::shared_ptr< ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator>
const>
ConstPtr;
186 template<
typename ContainerAllocator>
187 std::ostream& operator<<(std::ostream& s, const ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator> & v)
189 ros::message_operations::Printer< ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator> >::stream(s,
"", v);
196 namespace message_traits
200 template<
class ContainerAllocator>
204 return "9a527b2825637f568c9382ecb8750bba";
207 static const char*
value(const ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator> &) {
return value(); }
208 static const uint64_t static_value1 = 0x9a527b2825637f56ULL;
209 static const uint64_t static_value2 = 0x8c9382ecb8750bbaULL;
212 template<
class ContainerAllocator>
216 return "trajectory_simulator/TrajectoryObservation";
219 static const char*
value(const ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator> &) {
return value(); }
222 template<
class ContainerAllocator>
226 return "uint8 FIRST = 1\n\
231 geometry_msgs/Pose2D pose\n\
232 geometry_msgs/Pose2D velocity\n\
234 ================================================================================\n\
235 MSG: std_msgs/Header\n\
236 # Standard metadata for higher-level stamped data types.\n\
237 # This is generally used to communicate timestamped data \n\
238 # in a particular coordinate frame.\n\
240 # sequence ID: consecutively increasing ID \n\
242 #Two-integer timestamp that is expressed as:\n\
243 # * stamp.secs: seconds (stamp_secs) since epoch\n\
244 # * stamp.nsecs: nanoseconds since stamp_secs\n\
245 # time-handling sugar is provided by the client library\n\
247 #Frame this data is associated with\n\
252 ================================================================================\n\
253 MSG: geometry_msgs/Pose2D\n\
254 # This expresses a position and orientation on a 2D manifold.\n\
262 static const char*
value(const ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator> &) {
return value(); }
272 namespace serialization
277 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
279 stream.next(m.header);
280 stream.next(m.object_id);
283 stream.next(m.velocity);
293 namespace message_operations
296 template<
class ContainerAllocator>
299 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::trajectory_simulator::TrajectoryObservation_<ContainerAllocator> & v)
301 s << indent <<
"header: ";
303 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent +
" ", v.header);
304 s << indent <<
"object_id: ";
305 Printer<uint32_t>::stream(s, indent +
" ", v.object_id);
306 s << indent <<
"type: ";
307 Printer<uint8_t>::stream(s, indent +
" ", v.type);
308 s << indent <<
"pose: ";
310 Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >::stream(s, indent +
" ", v.pose);
311 s << indent <<
"velocity: ";
313 Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >::stream(s, indent +
" ", v.velocity);
321 #endif // TRAJECTORY_SIMULATOR_MESSAGE_TRAJECTORYOBSERVATION_H
::geometry_msgs::Pose2D_< ContainerAllocator > _pose_type
virtual ROS_DEPRECATED uint8_t * deserialize(uint8_t *read_ptr)
static const char * value(const ::trajectory_simulator::TrajectoryObservation_< ContainerAllocator > &)
static ROS_DEPRECATED const std::string __s_getDataType()
virtual ROS_DEPRECATED uint8_t * serialize(uint8_t *write_ptr, uint32_t seq) const
static const char * value(const ::trajectory_simulator::TrajectoryObservation_< ContainerAllocator > &)
static const char * __s_getDataType_()
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
static const char * value()
static const char * value(const ::trajectory_simulator::TrajectoryObservation_< ContainerAllocator > &)
static const char * __s_getMessageDefinition_()
boost::shared_ptr< ::trajectory_simulator::TrajectoryObservation_< ContainerAllocator > > Ptr
TrajectoryObservation_(const ContainerAllocator &_alloc)
static const char * __s_getMD5Sum_()
::std_msgs::Header_< ContainerAllocator > _header_type
::geometry_msgs::Pose2D_< ContainerAllocator > velocity
static ROS_DEPRECATED const std::string __s_getMessageDefinition()
TrajectoryObservation_< ContainerAllocator > Type
::geometry_msgs::Pose2D_< ContainerAllocator > _velocity_type
boost::shared_ptr< ::trajectory_simulator::TrajectoryObservation const > TrajectoryObservationConstPtr
boost::shared_ptr< ::trajectory_simulator::TrajectoryObservation_< ContainerAllocator > const > ConstPtr
ROS_DEPRECATED const std::string __getMD5Sum() const
static ROS_DEPRECATED const std::string __s_getMD5Sum()
ROS_DEPRECATED const std::string __getMessageDefinition() const
static const char * value()
static const char * value()
static void stream(Stream &s, const std::string &indent, const ::trajectory_simulator::TrajectoryObservation_< ContainerAllocator > &v)
static void allInOne(Stream &stream, T m)
::geometry_msgs::Pose2D_< ContainerAllocator > pose
::std_msgs::Header_< ContainerAllocator > header
ROS_DECLARE_ALLINONE_SERIALIZER
virtual ROS_DEPRECATED uint32_t serializationLength() const
ROS_DEPRECATED const std::string __getDataType() const
::trajectory_simulator::TrajectoryObservation_< std::allocator< void > > TrajectoryObservation
boost::shared_ptr< ::trajectory_simulator::TrajectoryObservation > TrajectoryObservationPtr