arduino代码
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
#ifndef _ROS_control_msgs_FollowJointTrajectoryAction_h
|
||||
#define _ROS_control_msgs_FollowJointTrajectoryAction_h
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "ros/msg.h"
|
||||
#include "control_msgs/FollowJointTrajectoryActionGoal.h"
|
||||
#include "control_msgs/FollowJointTrajectoryActionResult.h"
|
||||
#include "control_msgs/FollowJointTrajectoryActionFeedback.h"
|
||||
|
||||
namespace control_msgs
|
||||
{
|
||||
|
||||
class FollowJointTrajectoryAction : public ros::Msg
|
||||
{
|
||||
public:
|
||||
control_msgs::FollowJointTrajectoryActionGoal action_goal;
|
||||
control_msgs::FollowJointTrajectoryActionResult action_result;
|
||||
control_msgs::FollowJointTrajectoryActionFeedback action_feedback;
|
||||
|
||||
FollowJointTrajectoryAction():
|
||||
action_goal(),
|
||||
action_result(),
|
||||
action_feedback()
|
||||
{
|
||||
}
|
||||
|
||||
virtual int serialize(unsigned char *outbuffer) const
|
||||
{
|
||||
int offset = 0;
|
||||
offset += this->action_goal.serialize(outbuffer + offset);
|
||||
offset += this->action_result.serialize(outbuffer + offset);
|
||||
offset += this->action_feedback.serialize(outbuffer + offset);
|
||||
return offset;
|
||||
}
|
||||
|
||||
virtual int deserialize(unsigned char *inbuffer)
|
||||
{
|
||||
int offset = 0;
|
||||
offset += this->action_goal.deserialize(inbuffer + offset);
|
||||
offset += this->action_result.deserialize(inbuffer + offset);
|
||||
offset += this->action_feedback.deserialize(inbuffer + offset);
|
||||
return offset;
|
||||
}
|
||||
|
||||
const char * getType(){ return "control_msgs/FollowJointTrajectoryAction"; };
|
||||
const char * getMD5(){ return "bc4f9b743838566551c0390c65f1a248"; };
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user