Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial motor_sn7544
Diff: stringlb/flaw_info.h
- Revision:
- 11:2228e8931266
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stringlb/flaw_info.h Thu Jul 11 13:30:27 2019 +0000 @@ -0,0 +1,196 @@ +// Generated by gencpp from file stringlb/flaw_info.msg +// DO NOT EDIT! + + +#ifndef STRINGLB_MESSAGE_FLAW_INFO_H +#define STRINGLB_MESSAGE_FLAW_INFO_H + + +#include <string> +#include <vector> +#include <map> + +#include <ros/types.h> +#include <ros/serialization.h> +#include <ros/builtin_message_traits.h> +#include <ros/message_operations.h> + + +namespace stringlb +{ +template <class ContainerAllocator> +struct flaw_info_ +{ + typedef flaw_info_<ContainerAllocator> Type; + + flaw_info_() + : cum_dist(0.0) + , flaw_loca(0.0) { + } + flaw_info_(const ContainerAllocator& _alloc) + : cum_dist(0.0) + , flaw_loca(0.0) { + (void)_alloc; + } + + + + typedef double _cum_dist_type; + _cum_dist_type cum_dist; + + typedef double _flaw_loca_type; + _flaw_loca_type flaw_loca; + + + + + + typedef boost::shared_ptr< ::stringlb::flaw_info_<ContainerAllocator> > Ptr; + typedef boost::shared_ptr< ::stringlb::flaw_info_<ContainerAllocator> const> ConstPtr; + +}; // struct flaw_info_ + +typedef ::stringlb::flaw_info_<std::allocator<void> > flaw_info; + +typedef boost::shared_ptr< ::stringlb::flaw_info > flaw_infoPtr; +typedef boost::shared_ptr< ::stringlb::flaw_info const> flaw_infoConstPtr; + +// constants requiring out of line definition + + + +template<typename ContainerAllocator> +std::ostream& operator<<(std::ostream& s, const ::stringlb::flaw_info_<ContainerAllocator> & v) +{ +ros::message_operations::Printer< ::stringlb::flaw_info_<ContainerAllocator> >::stream(s, "", v); +return s; +} + +} // namespace stringlb + +namespace ros +{ +namespace message_traits +{ + + + +// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False} +// {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'stringlb': ['/home/hdmmic/catkin_ws/src/stringlb/msg']} + +// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] + + + + +template <class ContainerAllocator> +struct IsFixedSize< ::stringlb::flaw_info_<ContainerAllocator> > + : TrueType + { }; + +template <class ContainerAllocator> +struct IsFixedSize< ::stringlb::flaw_info_<ContainerAllocator> const> + : TrueType + { }; + +template <class ContainerAllocator> +struct IsMessage< ::stringlb::flaw_info_<ContainerAllocator> > + : TrueType + { }; + +template <class ContainerAllocator> +struct IsMessage< ::stringlb::flaw_info_<ContainerAllocator> const> + : TrueType + { }; + +template <class ContainerAllocator> +struct HasHeader< ::stringlb::flaw_info_<ContainerAllocator> > + : FalseType + { }; + +template <class ContainerAllocator> +struct HasHeader< ::stringlb::flaw_info_<ContainerAllocator> const> + : FalseType + { }; + + +template<class ContainerAllocator> +struct MD5Sum< ::stringlb::flaw_info_<ContainerAllocator> > +{ + static const char* value() + { + return "6f77fb297fa2be6bf375bba6047af121"; + } + + static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); } + static const uint64_t static_value1 = 0x6f77fb297fa2be6bULL; + static const uint64_t static_value2 = 0xf375bba6047af121ULL; +}; + +template<class ContainerAllocator> +struct DataType< ::stringlb::flaw_info_<ContainerAllocator> > +{ + static const char* value() + { + return "stringlb/flaw_info"; + } + + static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); } +}; + +template<class ContainerAllocator> +struct Definition< ::stringlb::flaw_info_<ContainerAllocator> > +{ + static const char* value() + { + return "float64 cum_dist\n\ +float64 flaw_loca\n\ +"; + } + + static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); } +}; + +} // namespace message_traits +} // namespace ros + +namespace ros +{ +namespace serialization +{ + + template<class ContainerAllocator> struct Serializer< ::stringlb::flaw_info_<ContainerAllocator> > + { + template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) + { + stream.next(m.cum_dist); + stream.next(m.flaw_loca); + } + + ROS_DECLARE_ALLINONE_SERIALIZER + }; // struct flaw_info_ + +} // namespace serialization +} // namespace ros + +namespace ros +{ +namespace message_operations +{ + +template<class ContainerAllocator> +struct Printer< ::stringlb::flaw_info_<ContainerAllocator> > +{ + template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::stringlb::flaw_info_<ContainerAllocator>& v) + { + s << indent << "cum_dist: "; + Printer<double>::stream(s, indent + " ", v.cum_dist); + s << indent << "flaw_loca: "; + Printer<double>::stream(s, indent + " ", v.flaw_loca); + } +}; + +} // namespace message_operations +} // namespace ros + +#endif // STRINGLB_MESSAGE_FLAW_INFO_H \ No newline at end of file