RobotState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-arm_navigation/doc_stacks/2013-12-02_12-23-34.850326/arm_navigation/arm_navigation_msgs/msg/RobotState.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_ROBOTSTATE_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_ROBOTSTATE_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 "sensor_msgs/JointState.h"
00018 #include "arm_navigation_msgs/MultiDOFJointState.h"
00019 
00020 namespace arm_navigation_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct RobotState_ {
00024   typedef RobotState_<ContainerAllocator> Type;
00025 
00026   RobotState_()
00027   : joint_state()
00028   , multi_dof_joint_state()
00029   {
00030   }
00031 
00032   RobotState_(const ContainerAllocator& _alloc)
00033   : joint_state(_alloc)
00034   , multi_dof_joint_state(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::sensor_msgs::JointState_<ContainerAllocator>  _joint_state_type;
00039    ::sensor_msgs::JointState_<ContainerAllocator>  joint_state;
00040 
00041   typedef  ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator>  _multi_dof_joint_state_type;
00042    ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator>  multi_dof_joint_state;
00043 
00044 
00045   typedef boost::shared_ptr< ::arm_navigation_msgs::RobotState_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::arm_navigation_msgs::RobotState_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct RobotState
00049 typedef  ::arm_navigation_msgs::RobotState_<std::allocator<void> > RobotState;
00050 
00051 typedef boost::shared_ptr< ::arm_navigation_msgs::RobotState> RobotStatePtr;
00052 typedef boost::shared_ptr< ::arm_navigation_msgs::RobotState const> RobotStateConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::RobotState_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace arm_navigation_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::RobotState_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::RobotState_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::arm_navigation_msgs::RobotState_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "970d46b2ca41b9686adbdaeb592d97a7";
00074   }
00075 
00076   static const char* value(const  ::arm_navigation_msgs::RobotState_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x970d46b2ca41b968ULL;
00078   static const uint64_t static_value2 = 0x6adbdaeb592d97a7ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::arm_navigation_msgs::RobotState_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "arm_navigation_msgs/RobotState";
00086   }
00087 
00088   static const char* value(const  ::arm_navigation_msgs::RobotState_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::arm_navigation_msgs::RobotState_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# This message contains information about the robot state, i.e. the positions of its joints and links\n\
00096 sensor_msgs/JointState joint_state\n\
00097 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00098 \n\
00099 ================================================================================\n\
00100 MSG: sensor_msgs/JointState\n\
00101 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00102 #\n\
00103 # The state of each joint (revolute or prismatic) is defined by:\n\
00104 #  * the position of the joint (rad or m),\n\
00105 #  * the velocity of the joint (rad/s or m/s) and \n\
00106 #  * the effort that is applied in the joint (Nm or N).\n\
00107 #\n\
00108 # Each joint is uniquely identified by its name\n\
00109 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00110 # in one message have to be recorded at the same time.\n\
00111 #\n\
00112 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00113 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00114 # effort associated with them, you can leave the effort array empty. \n\
00115 #\n\
00116 # All arrays in this message should have the same size, or be empty.\n\
00117 # This is the only way to uniquely associate the joint name with the correct\n\
00118 # states.\n\
00119 \n\
00120 \n\
00121 Header header\n\
00122 \n\
00123 string[] name\n\
00124 float64[] position\n\
00125 float64[] velocity\n\
00126 float64[] effort\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Header\n\
00130 # Standard metadata for higher-level stamped data types.\n\
00131 # This is generally used to communicate timestamped data \n\
00132 # in a particular coordinate frame.\n\
00133 # \n\
00134 # sequence ID: consecutively increasing ID \n\
00135 uint32 seq\n\
00136 #Two-integer timestamp that is expressed as:\n\
00137 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00138 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00139 # time-handling sugar is provided by the client library\n\
00140 time stamp\n\
00141 #Frame this data is associated with\n\
00142 # 0: no frame\n\
00143 # 1: global frame\n\
00144 string frame_id\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00148 #A representation of a multi-dof joint state\n\
00149 time stamp\n\
00150 string[] joint_names\n\
00151 string[] frame_ids\n\
00152 string[] child_frame_ids\n\
00153 geometry_msgs/Pose[] poses\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: geometry_msgs/Pose\n\
00157 # A representation of pose in free space, composed of postion and orientation. \n\
00158 Point position\n\
00159 Quaternion orientation\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Point\n\
00163 # This contains the position of a point in free space\n\
00164 float64 x\n\
00165 float64 y\n\
00166 float64 z\n\
00167 \n\
00168 ================================================================================\n\
00169 MSG: geometry_msgs/Quaternion\n\
00170 # This represents an orientation in free space in quaternion form.\n\
00171 \n\
00172 float64 x\n\
00173 float64 y\n\
00174 float64 z\n\
00175 float64 w\n\
00176 \n\
00177 ";
00178   }
00179 
00180   static const char* value(const  ::arm_navigation_msgs::RobotState_<ContainerAllocator> &) { return value(); } 
00181 };
00182 
00183 } // namespace message_traits
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace serialization
00189 {
00190 
00191 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >
00192 {
00193   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00194   {
00195     stream.next(m.joint_state);
00196     stream.next(m.multi_dof_joint_state);
00197   }
00198 
00199   ROS_DECLARE_ALLINONE_SERIALIZER;
00200 }; // struct RobotState_
00201 } // namespace serialization
00202 } // namespace ros
00203 
00204 namespace ros
00205 {
00206 namespace message_operations
00207 {
00208 
00209 template<class ContainerAllocator>
00210 struct Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >
00211 {
00212   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::RobotState_<ContainerAllocator> & v) 
00213   {
00214     s << indent << "joint_state: ";
00215 s << std::endl;
00216     Printer< ::sensor_msgs::JointState_<ContainerAllocator> >::stream(s, indent + "  ", v.joint_state);
00217     s << indent << "multi_dof_joint_state: ";
00218 s << std::endl;
00219     Printer< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> >::stream(s, indent + "  ", v.multi_dof_joint_state);
00220   }
00221 };
00222 
00223 
00224 } // namespace message_operations
00225 } // namespace ros
00226 
00227 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ROBOTSTATE_H
00228 


arm_navigation_msgs
Author(s): Gil Jones
autogenerated on Mon Dec 2 2013 12:31:51