Wrench.h
Go to the documentation of this file.
00001 #ifndef ros_geometry_msgs_Wrench_h
00002 #define ros_geometry_msgs_Wrench_h
00003 
00004 #include <stdint.h>
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include "../ros/msg.h"
00008 #include "geometry_msgs/Vector3.h"
00009 
00010 namespace geometry_msgs
00011 {
00012 
00013   class Wrench : public ros::Msg
00014   {
00015     public:
00016       geometry_msgs::Vector3 force;
00017       geometry_msgs::Vector3 torque;
00018 
00019     virtual int serialize(unsigned char *outbuffer)
00020     {
00021       int offset = 0;
00022       offset += this->force.serialize(outbuffer + offset);
00023       offset += this->torque.serialize(outbuffer + offset);
00024       return offset;
00025     }
00026 
00027     virtual int deserialize(unsigned char *inbuffer)
00028     {
00029       int offset = 0;
00030       offset += this->force.deserialize(inbuffer + offset);
00031       offset += this->torque.deserialize(inbuffer + offset);
00032      return offset;
00033     }
00034 
00035     const char * getType(){ return "geometry_msgs/Wrench"; };
00036 
00037   };
00038 
00039 }
00040 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


traxbot_robot
Author(s): André Gonçalves Araújo
autogenerated on Fri Feb 1 2013 13:21:12