rosserial library for mbed Inspired by nucho's rosserial library This library is still under development
Dependents: mbed_roshydro_test
Library still under development!
Diff: moveit_msgs/RobotTrajectory.h
- Revision:
- 0:30537dec6e0b
diff -r 000000000000 -r 30537dec6e0b moveit_msgs/RobotTrajectory.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/moveit_msgs/RobotTrajectory.h Sun Feb 15 10:53:43 2015 +0000 @@ -0,0 +1,48 @@ +#ifndef _ROS_moveit_msgs_RobotTrajectory_h +#define _ROS_moveit_msgs_RobotTrajectory_h + +#include <stdint.h> +#include <string.h> +#include <stdlib.h> +#include "ros/msg.h" +#include "trajectory_msgs/JointTrajectory.h" +#include "trajectory_msgs/MultiDOFJointTrajectory.h" + +namespace moveit_msgs +{ + + class RobotTrajectory : public ros::Msg + { + public: + trajectory_msgs::JointTrajectory joint_trajectory; + trajectory_msgs::MultiDOFJointTrajectory multi_dof_joint_trajectory; + + RobotTrajectory(): + joint_trajectory(), + multi_dof_joint_trajectory() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + offset += this->joint_trajectory.serialize(outbuffer + offset); + offset += this->multi_dof_joint_trajectory.serialize(outbuffer + offset); + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + offset += this->joint_trajectory.deserialize(inbuffer + offset); + offset += this->multi_dof_joint_trajectory.deserialize(inbuffer + offset); + return offset; + } + + const char * getType(){ return "moveit_msgs/RobotTrajectory"; }; + const char * getMD5(){ return "dfa9556423d709a3729bcef664bddf67"; }; + + }; + +} +#endif