小乌龟控制完成
This commit is contained in:
1 parent
b09567204c
commit
cdcf44c156
329 files changed
+16783
No files matched your search
@@ -0,0 +1,123 @@
|
||||
// Generated by gencpp from file Aee1220310013/ProcessID.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef AEE1220310013_MESSAGE_PROCESSID_H
|
||||
#define AEE1220310013_MESSAGE_PROCESSID_H
|
||||
|
||||
#include <ros/service_traits.h>
|
||||
|
||||
|
||||
#include <Aee1220310013/ProcessIDRequest.h>
|
||||
#include <Aee1220310013/ProcessIDResponse.h>
|
||||
|
||||
|
||||
namespace Aee1220310013
|
||||
{
|
||||
|
||||
struct ProcessID
|
||||
{
|
||||
|
||||
typedef ProcessIDRequest Request;
|
||||
typedef ProcessIDResponse Response;
|
||||
Request request;
|
||||
Response response;
|
||||
|
||||
typedef Request RequestType;
|
||||
typedef Response ResponseType;
|
||||
|
||||
}; // struct ProcessID
|
||||
} // namespace Aee1220310013
|
||||
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace service_traits
|
||||
{
|
||||
|
||||
|
||||
template<>
|
||||
struct MD5Sum< ::Aee1220310013::ProcessID > {
|
||||
static const char* value()
|
||||
{
|
||||
return "e7263169494a43b7a316d7ec3753d546";
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessID&) { return value(); }
|
||||
};
|
||||
|
||||
template<>
|
||||
struct DataType< ::Aee1220310013::ProcessID > {
|
||||
static const char* value()
|
||||
{
|
||||
return "Aee1220310013/ProcessID";
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessID&) { return value(); }
|
||||
};
|
||||
|
||||
|
||||
// service_traits::MD5Sum< ::Aee1220310013::ProcessIDRequest> should match
|
||||
// service_traits::MD5Sum< ::Aee1220310013::ProcessID >
|
||||
template<>
|
||||
struct MD5Sum< ::Aee1220310013::ProcessIDRequest>
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return MD5Sum< ::Aee1220310013::ProcessID >::value();
|
||||
}
|
||||
static const char* value(const ::Aee1220310013::ProcessIDRequest&)
|
||||
{
|
||||
return value();
|
||||
}
|
||||
};
|
||||
|
||||
// service_traits::DataType< ::Aee1220310013::ProcessIDRequest> should match
|
||||
// service_traits::DataType< ::Aee1220310013::ProcessID >
|
||||
template<>
|
||||
struct DataType< ::Aee1220310013::ProcessIDRequest>
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return DataType< ::Aee1220310013::ProcessID >::value();
|
||||
}
|
||||
static const char* value(const ::Aee1220310013::ProcessIDRequest&)
|
||||
{
|
||||
return value();
|
||||
}
|
||||
};
|
||||
|
||||
// service_traits::MD5Sum< ::Aee1220310013::ProcessIDResponse> should match
|
||||
// service_traits::MD5Sum< ::Aee1220310013::ProcessID >
|
||||
template<>
|
||||
struct MD5Sum< ::Aee1220310013::ProcessIDResponse>
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return MD5Sum< ::Aee1220310013::ProcessID >::value();
|
||||
}
|
||||
static const char* value(const ::Aee1220310013::ProcessIDResponse&)
|
||||
{
|
||||
return value();
|
||||
}
|
||||
};
|
||||
|
||||
// service_traits::DataType< ::Aee1220310013::ProcessIDResponse> should match
|
||||
// service_traits::DataType< ::Aee1220310013::ProcessID >
|
||||
template<>
|
||||
struct DataType< ::Aee1220310013::ProcessIDResponse>
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return DataType< ::Aee1220310013::ProcessID >::value();
|
||||
}
|
||||
static const char* value(const ::Aee1220310013::ProcessIDResponse&)
|
||||
{
|
||||
return value();
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace service_traits
|
||||
} // namespace ros
|
||||
|
||||
#endif // AEE1220310013_MESSAGE_PROCESSID_H
|
||||
@@ -0,0 +1,197 @@
|
||||
// Generated by gencpp from file Aee1220310013/ProcessIDRequest.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef AEE1220310013_MESSAGE_PROCESSIDREQUEST_H
|
||||
#define AEE1220310013_MESSAGE_PROCESSIDREQUEST_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <ros/types.h>
|
||||
#include <ros/serialization.h>
|
||||
#include <ros/builtin_message_traits.h>
|
||||
#include <ros/message_operations.h>
|
||||
|
||||
|
||||
namespace Aee1220310013
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct ProcessIDRequest_
|
||||
{
|
||||
typedef ProcessIDRequest_<ContainerAllocator> Type;
|
||||
|
||||
ProcessIDRequest_()
|
||||
: student_id() {
|
||||
}
|
||||
ProcessIDRequest_(const ContainerAllocator& _alloc)
|
||||
: student_id(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _student_id_type;
|
||||
_student_id_type student_id;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct ProcessIDRequest_
|
||||
|
||||
typedef ::Aee1220310013::ProcessIDRequest_<std::allocator<void> > ProcessIDRequest;
|
||||
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDRequest > ProcessIDRequestPtr;
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDRequest const> ProcessIDRequestConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
|
||||
template<typename ContainerAllocator>
|
||||
std::ostream& operator<<(std::ostream& s, const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> & v)
|
||||
{
|
||||
ros::message_operations::Printer< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >::stream(s, "", v);
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator1> & lhs, const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.student_id == rhs.student_id;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator1> & lhs, const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace Aee1220310013
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace message_traits
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsMessage< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsMessage< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> const>
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsFixedSize< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsFixedSize< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> const>
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct HasHeader< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct HasHeader< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> const>
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct MD5Sum< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "372af5010cb802275110c9bd017544b8";
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator>&) { return value(); }
|
||||
static const uint64_t static_value1 = 0x372af5010cb80227ULL;
|
||||
static const uint64_t static_value2 = 0x5110c9bd017544b8ULL;
|
||||
};
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct DataType< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "Aee1220310013/ProcessIDRequest";
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator>&) { return value(); }
|
||||
};
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct Definition< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "string student_id\n"
|
||||
;
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator>&) { return value(); }
|
||||
};
|
||||
|
||||
} // namespace message_traits
|
||||
} // namespace ros
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace serialization
|
||||
{
|
||||
|
||||
template<class ContainerAllocator> struct Serializer< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
{
|
||||
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
|
||||
{
|
||||
stream.next(m.student_id);
|
||||
}
|
||||
|
||||
ROS_DECLARE_ALLINONE_SERIALIZER
|
||||
}; // struct ProcessIDRequest_
|
||||
|
||||
} // namespace serialization
|
||||
} // namespace ros
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace message_operations
|
||||
{
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct Printer< ::Aee1220310013::ProcessIDRequest_<ContainerAllocator> >
|
||||
{
|
||||
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::Aee1220310013::ProcessIDRequest_<ContainerAllocator>& v)
|
||||
{
|
||||
if (false || !indent.empty())
|
||||
s << std::endl;
|
||||
s << indent << "student_id: ";
|
||||
Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.student_id);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace message_operations
|
||||
} // namespace ros
|
||||
|
||||
#endif // AEE1220310013_MESSAGE_PROCESSIDREQUEST_H
|
||||
@@ -0,0 +1,233 @@
|
||||
// Generated by gencpp from file Aee1220310013/ProcessIDResponse.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef AEE1220310013_MESSAGE_PROCESSIDRESPONSE_H
|
||||
#define AEE1220310013_MESSAGE_PROCESSIDRESPONSE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <ros/types.h>
|
||||
#include <ros/serialization.h>
|
||||
#include <ros/builtin_message_traits.h>
|
||||
#include <ros/message_operations.h>
|
||||
|
||||
|
||||
namespace Aee1220310013
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct ProcessIDResponse_
|
||||
{
|
||||
typedef ProcessIDResponse_<ContainerAllocator> Type;
|
||||
|
||||
ProcessIDResponse_()
|
||||
: x(0.0)
|
||||
, y(0.0)
|
||||
, radius(0.0)
|
||||
, direction(0) {
|
||||
}
|
||||
ProcessIDResponse_(const ContainerAllocator& _alloc)
|
||||
: x(0.0)
|
||||
, y(0.0)
|
||||
, radius(0.0)
|
||||
, direction(0) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef float _x_type;
|
||||
_x_type x;
|
||||
|
||||
typedef float _y_type;
|
||||
_y_type y;
|
||||
|
||||
typedef float _radius_type;
|
||||
_radius_type radius;
|
||||
|
||||
typedef int32_t _direction_type;
|
||||
_direction_type direction;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct ProcessIDResponse_
|
||||
|
||||
typedef ::Aee1220310013::ProcessIDResponse_<std::allocator<void> > ProcessIDResponse;
|
||||
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse > ProcessIDResponsePtr;
|
||||
typedef boost::shared_ptr< ::Aee1220310013::ProcessIDResponse const> ProcessIDResponseConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
|
||||
template<typename ContainerAllocator>
|
||||
std::ostream& operator<<(std::ostream& s, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> & v)
|
||||
{
|
||||
ros::message_operations::Printer< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >::stream(s, "", v);
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator1> & lhs, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.x == rhs.x &&
|
||||
lhs.y == rhs.y &&
|
||||
lhs.radius == rhs.radius &&
|
||||
lhs.direction == rhs.direction;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator1> & lhs, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace Aee1220310013
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace message_traits
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsMessage< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsMessage< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const>
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsFixedSize< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsFixedSize< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const>
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct HasHeader< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct HasHeader< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> const>
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct MD5Sum< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "deec39c810656f01d6b1be82e15bf4e7";
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>&) { return value(); }
|
||||
static const uint64_t static_value1 = 0xdeec39c810656f01ULL;
|
||||
static const uint64_t static_value2 = 0xd6b1be82e15bf4e7ULL;
|
||||
};
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct DataType< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "Aee1220310013/ProcessIDResponse";
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>&) { return value(); }
|
||||
};
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct Definition< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "float32 x\n"
|
||||
"float32 y\n"
|
||||
"float32 radius\n"
|
||||
"int32 direction\n"
|
||||
;
|
||||
}
|
||||
|
||||
static const char* value(const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>&) { return value(); }
|
||||
};
|
||||
|
||||
} // namespace message_traits
|
||||
} // namespace ros
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace serialization
|
||||
{
|
||||
|
||||
template<class ContainerAllocator> struct Serializer< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
{
|
||||
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
|
||||
{
|
||||
stream.next(m.x);
|
||||
stream.next(m.y);
|
||||
stream.next(m.radius);
|
||||
stream.next(m.direction);
|
||||
}
|
||||
|
||||
ROS_DECLARE_ALLINONE_SERIALIZER
|
||||
}; // struct ProcessIDResponse_
|
||||
|
||||
} // namespace serialization
|
||||
} // namespace ros
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace message_operations
|
||||
{
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct Printer< ::Aee1220310013::ProcessIDResponse_<ContainerAllocator> >
|
||||
{
|
||||
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::Aee1220310013::ProcessIDResponse_<ContainerAllocator>& v)
|
||||
{
|
||||
if (false || !indent.empty())
|
||||
s << std::endl;
|
||||
s << indent << "x: ";
|
||||
Printer<float>::stream(s, indent + " ", v.x);
|
||||
if (true || !indent.empty())
|
||||
s << std::endl;
|
||||
s << indent << "y: ";
|
||||
Printer<float>::stream(s, indent + " ", v.y);
|
||||
if (true || !indent.empty())
|
||||
s << std::endl;
|
||||
s << indent << "radius: ";
|
||||
Printer<float>::stream(s, indent + " ", v.radius);
|
||||
if (true || !indent.empty())
|
||||
s << std::endl;
|
||||
s << indent << "direction: ";
|
||||
Printer<int32_t>::stream(s, indent + " ", v.direction);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace message_operations
|
||||
} // namespace ros
|
||||
|
||||
#endif // AEE1220310013_MESSAGE_PROCESSIDRESPONSE_H
|
||||
Reference in new issue
Block a user