GetSnapshotGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_common_actions/doc_stacks/2013-12-28_17-22-14.028454/pr2_common_actions/pr2_tilt_laser_interface/msg/GetSnapshotGoal.msg */
00002 #ifndef PR2_TILT_LASER_INTERFACE_MESSAGE_GETSNAPSHOTGOAL_H
00003 #define PR2_TILT_LASER_INTERFACE_MESSAGE_GETSNAPSHOTGOAL_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 pr2_tilt_laser_interface
00019 {
00020 template <class ContainerAllocator>
00021 struct GetSnapshotGoal_ {
00022   typedef GetSnapshotGoal_<ContainerAllocator> Type;
00023 
00024   GetSnapshotGoal_()
00025   : start_angle(0.0)
00026   , end_angle(0.0)
00027   , speed(0.0)
00028   , hi_fidelity(false)
00029   , continuous(false)
00030   {
00031   }
00032 
00033   GetSnapshotGoal_(const ContainerAllocator& _alloc)
00034   : start_angle(0.0)
00035   , end_angle(0.0)
00036   , speed(0.0)
00037   , hi_fidelity(false)
00038   , continuous(false)
00039   {
00040   }
00041 
00042   typedef float _start_angle_type;
00043   float start_angle;
00044 
00045   typedef float _end_angle_type;
00046   float end_angle;
00047 
00048   typedef float _speed_type;
00049   float speed;
00050 
00051   typedef uint8_t _hi_fidelity_type;
00052   uint8_t hi_fidelity;
00053 
00054   typedef uint8_t _continuous_type;
00055   uint8_t continuous;
00056 
00057 
00058   typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct GetSnapshotGoal
00062 typedef  ::pr2_tilt_laser_interface::GetSnapshotGoal_<std::allocator<void> > GetSnapshotGoal;
00063 
00064 typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotGoal> GetSnapshotGoalPtr;
00065 typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotGoal const> GetSnapshotGoalConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace pr2_tilt_laser_interface
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "464673531a0e6172d0d965e354c952f0";
00087   }
00088 
00089   static const char* value(const  ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0x464673531a0e6172ULL;
00091   static const uint64_t static_value2 = 0xd0d965e354c952f0ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "pr2_tilt_laser_interface/GetSnapshotGoal";
00099   }
00100 
00101   static const char* value(const  ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00109 # Goal\n\
00110 # We always want to command. Don't need this bool\n\
00111 # bool command_laser   # True: Use the command below. False: Use existing profile\n\
00112 float32 start_angle\n\
00113 float32 end_angle\n\
00114 float32 speed\n\
00115 bool hi_fidelity\n\
00116 bool continuous\n\
00117 \n\
00118 ";
00119   }
00120 
00121   static const char* value(const  ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator> struct IsFixedSize< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> > : public TrueType {};
00125 } // namespace message_traits
00126 } // namespace ros
00127 
00128 namespace ros
00129 {
00130 namespace serialization
00131 {
00132 
00133 template<class ContainerAllocator> struct Serializer< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> >
00134 {
00135   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00136   {
00137     stream.next(m.start_angle);
00138     stream.next(m.end_angle);
00139     stream.next(m.speed);
00140     stream.next(m.hi_fidelity);
00141     stream.next(m.continuous);
00142   }
00143 
00144   ROS_DECLARE_ALLINONE_SERIALIZER;
00145 }; // struct GetSnapshotGoal_
00146 } // namespace serialization
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace message_operations
00152 {
00153 
00154 template<class ContainerAllocator>
00155 struct Printer< ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> >
00156 {
00157   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_tilt_laser_interface::GetSnapshotGoal_<ContainerAllocator> & v) 
00158   {
00159     s << indent << "start_angle: ";
00160     Printer<float>::stream(s, indent + "  ", v.start_angle);
00161     s << indent << "end_angle: ";
00162     Printer<float>::stream(s, indent + "  ", v.end_angle);
00163     s << indent << "speed: ";
00164     Printer<float>::stream(s, indent + "  ", v.speed);
00165     s << indent << "hi_fidelity: ";
00166     Printer<uint8_t>::stream(s, indent + "  ", v.hi_fidelity);
00167     s << indent << "continuous: ";
00168     Printer<uint8_t>::stream(s, indent + "  ", v.continuous);
00169   }
00170 };
00171 
00172 
00173 } // namespace message_operations
00174 } // namespace ros
00175 
00176 #endif // PR2_TILT_LASER_INTERFACE_MESSAGE_GETSNAPSHOTGOAL_H
00177 


pr2_tilt_laser_interface
Author(s): Radu Rusu, Wim Meeussen, Vijay Pradeep
autogenerated on Sat Dec 28 2013 17:25:13