To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 0bd72d4d authored by Andrew's avatar Andrew
Browse files

Ros Message

parent 6b0a577e
......@@ -188,6 +188,8 @@ add_message_files(
CrazyflieContext.msg
AreaBounds.msg
Setpoint.msg
CameraData.msg
RelativeCameraData.msg
SetpointV2.msg
CrazyflieEntry.msg
CrazyflieDB.msg
......@@ -329,6 +331,8 @@ add_executable(PickerControllerService src/nodes/PickerControllerService.cpp
src/classes/GetParamtersAndNamespaces.cpp)
add_executable(TemplateControllerService src/nodes/TemplateControllerService.cpp
src/classes/GetParamtersAndNamespaces.cpp)
add_executable(TemplateControllerVisionService src/nodes/TemplateControllerVisionService.cpp
src/classes/GetParamtersAndNamespaces.cpp)
add_executable(TestMotorsControllerService src/nodes/TestMotorsControllerService.cpp
src/classes/GetParamtersAndNamespaces.cpp)
add_executable(CentralManagerService src/nodes/CentralManagerService.cpp src/CrazyflieIO.cpp)
......@@ -406,6 +410,7 @@ add_dependencies(RemoteControllerService dfall_pkg_generate_messages_cpp ${cat
add_dependencies(TuningControllerService dfall_pkg_generate_messages_cpp ${catkin_EXPORTED_TARGETS})
add_dependencies(PickerControllerService dfall_pkg_generate_messages_cpp ${catkin_EXPORTED_TARGETS})
add_dependencies(TemplateControllerService dfall_pkg_generate_messages_cpp ${catkin_EXPORTED_TARGETS})
add_dependencies(TemplateControllerVisionService dfall_pkg_generate_messages_cpp ${catkin_EXPORTED_TARGETS})
add_dependencies(TestMotorsControllerService dfall_pkg_generate_messages_cpp ${catkin_EXPORTED_TARGETS})
add_dependencies(CentralManagerService dfall_pkg_generate_messages_cpp ${catkin_EXPORTED_TARGETS})
add_dependencies(ParameterService dfall_pkg_generate_messages_cpp ${catkin_EXPORTED_TARGETS})
......@@ -459,6 +464,7 @@ target_link_libraries(RemoteControllerService ${catkin_LIBRARIES})
target_link_libraries(TuningControllerService ${catkin_LIBRARIES})
target_link_libraries(PickerControllerService ${catkin_LIBRARIES})
target_link_libraries(TemplateControllerService ${catkin_LIBRARIES})
target_link_libraries(TemplateControllerVisionService ${catkin_LIBRARIES})
target_link_libraries(TestMotorsControllerService ${catkin_LIBRARIES})
target_link_libraries(CentralManagerService ${catkin_LIBRARIES})
target_link_libraries(ParameterService ${catkin_LIBRARIES})
......
// Generated by gencpp from file dfall_pkg/AreaBounds.msg
// DO NOT EDIT!
#ifndef DFALL_PKG_MESSAGE_AREABOUNDS_H
#define DFALL_PKG_MESSAGE_AREABOUNDS_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 dfall_pkg
{
template <class ContainerAllocator>
struct AreaBounds_
{
typedef AreaBounds_<ContainerAllocator> Type;
AreaBounds_()
: crazyfly_zone_index(0)
, xmin(0.0)
, xmax(0.0)
, ymin(0.0)
, ymax(0.0)
, zmin(0.0)
, zmax(0.0) {
}
AreaBounds_(const ContainerAllocator& _alloc)
: crazyfly_zone_index(0)
, xmin(0.0)
, xmax(0.0)
, ymin(0.0)
, ymax(0.0)
, zmin(0.0)
, zmax(0.0) {
(void)_alloc;
}
typedef uint32_t _crazyfly_zone_index_type;
_crazyfly_zone_index_type crazyfly_zone_index;
typedef float _xmin_type;
_xmin_type xmin;
typedef float _xmax_type;
_xmax_type xmax;
typedef float _ymin_type;
_ymin_type ymin;
typedef float _ymax_type;
_ymax_type ymax;
typedef float _zmin_type;
_zmin_type zmin;
typedef float _zmax_type;
_zmax_type zmax;
typedef boost::shared_ptr< ::dfall_pkg::AreaBounds_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::dfall_pkg::AreaBounds_<ContainerAllocator> const> ConstPtr;
}; // struct AreaBounds_
typedef ::dfall_pkg::AreaBounds_<std::allocator<void> > AreaBounds;
typedef boost::shared_ptr< ::dfall_pkg::AreaBounds > AreaBoundsPtr;
typedef boost::shared_ptr< ::dfall_pkg::AreaBounds const> AreaBoundsConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::dfall_pkg::AreaBounds_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::dfall_pkg::AreaBounds_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace dfall_pkg
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'dfall_pkg': ['/home/vision-crazyflie2/work/D-FaLL-System/dfall_ws/src/dfall_pkg/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< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::dfall_pkg::AreaBounds_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::dfall_pkg::AreaBounds_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::dfall_pkg::AreaBounds_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
{
static const char* value()
{
return "b5843e64570678c9fcc74c80ddcf904a";
}
static const char* value(const ::dfall_pkg::AreaBounds_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xb5843e64570678c9ULL;
static const uint64_t static_value2 = 0xfcc74c80ddcf904aULL;
};
template<class ContainerAllocator>
struct DataType< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
{
static const char* value()
{
return "dfall_pkg/AreaBounds";
}
static const char* value(const ::dfall_pkg::AreaBounds_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
{
static const char* value()
{
return "uint32 crazyfly_zone_index\n\
float32 xmin\n\
float32 xmax\n\
float32 ymin\n\
float32 ymax\n\
float32 zmin\n\
float32 zmax\n\
\n\
";
}
static const char* value(const ::dfall_pkg::AreaBounds_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.crazyfly_zone_index);
stream.next(m.xmin);
stream.next(m.xmax);
stream.next(m.ymin);
stream.next(m.ymax);
stream.next(m.zmin);
stream.next(m.zmax);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct AreaBounds_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::dfall_pkg::AreaBounds_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::dfall_pkg::AreaBounds_<ContainerAllocator>& v)
{
s << indent << "crazyfly_zone_index: ";
Printer<uint32_t>::stream(s, indent + " ", v.crazyfly_zone_index);
s << indent << "xmin: ";
Printer<float>::stream(s, indent + " ", v.xmin);
s << indent << "xmax: ";
Printer<float>::stream(s, indent + " ", v.xmax);
s << indent << "ymin: ";
Printer<float>::stream(s, indent + " ", v.ymin);
s << indent << "ymax: ";
Printer<float>::stream(s, indent + " ", v.ymax);
s << indent << "zmin: ";
Printer<float>::stream(s, indent + " ", v.zmin);
s << indent << "zmax: ";
Printer<float>::stream(s, indent + " ", v.zmax);
}
};
} // namespace message_operations
} // namespace ros
#endif // DFALL_PKG_MESSAGE_AREABOUNDS_H
// Generated by gencpp from file dfall_pkg/CMCommand.msg
// DO NOT EDIT!
#ifndef DFALL_PKG_MESSAGE_CMCOMMAND_H
#define DFALL_PKG_MESSAGE_CMCOMMAND_H
#include <ros/service_traits.h>
#include <dfall_pkg/CMCommandRequest.h>
#include <dfall_pkg/CMCommandResponse.h>
namespace dfall_pkg
{
struct CMCommand
{
typedef CMCommandRequest Request;
typedef CMCommandResponse Response;
Request request;
Response response;
typedef Request RequestType;
typedef Response ResponseType;
}; // struct CMCommand
} // namespace dfall_pkg
namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum< ::dfall_pkg::CMCommand > {
static const char* value()
{
return "ca33a29803a57039e45a94cf9bb85f5c";
}
static const char* value(const ::dfall_pkg::CMCommand&) { return value(); }
};
template<>
struct DataType< ::dfall_pkg::CMCommand > {
static const char* value()
{
return "dfall_pkg/CMCommand";
}
static const char* value(const ::dfall_pkg::CMCommand&) { return value(); }
};
// service_traits::MD5Sum< ::dfall_pkg::CMCommandRequest> should match
// service_traits::MD5Sum< ::dfall_pkg::CMCommand >
template<>
struct MD5Sum< ::dfall_pkg::CMCommandRequest>
{
static const char* value()
{
return MD5Sum< ::dfall_pkg::CMCommand >::value();
}
static const char* value(const ::dfall_pkg::CMCommandRequest&)
{
return value();
}
};
// service_traits::DataType< ::dfall_pkg::CMCommandRequest> should match
// service_traits::DataType< ::dfall_pkg::CMCommand >
template<>
struct DataType< ::dfall_pkg::CMCommandRequest>
{
static const char* value()
{
return DataType< ::dfall_pkg::CMCommand >::value();
}
static const char* value(const ::dfall_pkg::CMCommandRequest&)
{
return value();
}
};
// service_traits::MD5Sum< ::dfall_pkg::CMCommandResponse> should match
// service_traits::MD5Sum< ::dfall_pkg::CMCommand >
template<>
struct MD5Sum< ::dfall_pkg::CMCommandResponse>
{
static const char* value()
{
return MD5Sum< ::dfall_pkg::CMCommand >::value();
}
static const char* value(const ::dfall_pkg::CMCommandResponse&)
{
return value();
}
};
// service_traits::DataType< ::dfall_pkg::CMCommandResponse> should match
// service_traits::DataType< ::dfall_pkg::CMCommand >
template<>
struct DataType< ::dfall_pkg::CMCommandResponse>
{
static const char* value()
{
return DataType< ::dfall_pkg::CMCommand >::value();
}
static const char* value(const ::dfall_pkg::CMCommandResponse&)
{
return value();
}
};
} // namespace service_traits
} // namespace ros
#endif // DFALL_PKG_MESSAGE_CMCOMMAND_H
// Generated by gencpp from file dfall_pkg/CMCommandRequest.msg
// DO NOT EDIT!
#ifndef DFALL_PKG_MESSAGE_CMCOMMANDREQUEST_H
#define DFALL_PKG_MESSAGE_CMCOMMANDREQUEST_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 dfall_pkg
{
template <class ContainerAllocator>
struct CMCommandRequest_
{
typedef CMCommandRequest_<ContainerAllocator> Type;
CMCommandRequest_()
: command(0) {
}
CMCommandRequest_(const ContainerAllocator& _alloc)
: command(0) {
(void)_alloc;
}
typedef uint32_t _command_type;
_command_type command;
typedef boost::shared_ptr< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> const> ConstPtr;
}; // struct CMCommandRequest_
typedef ::dfall_pkg::CMCommandRequest_<std::allocator<void> > CMCommandRequest;
typedef boost::shared_ptr< ::dfall_pkg::CMCommandRequest > CMCommandRequestPtr;
typedef boost::shared_ptr< ::dfall_pkg::CMCommandRequest const> CMCommandRequestConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::dfall_pkg::CMCommandRequest_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace dfall_pkg
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'dfall_pkg': ['/home/vision-crazyflie2/work/D-FaLL-System/dfall_ws/src/dfall_pkg/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< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
{
static const char* value()
{
return "ca33a29803a57039e45a94cf9bb85f5c";
}
static const char* value(const ::dfall_pkg::CMCommandRequest_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xca33a29803a57039ULL;
static const uint64_t static_value2 = 0xe45a94cf9bb85f5cULL;
};
template<class ContainerAllocator>
struct DataType< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
{
static const char* value()
{
return "dfall_pkg/CMCommandRequest";
}
static const char* value(const ::dfall_pkg::CMCommandRequest_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
{
static const char* value()
{
return "uint32 command\n\
";
}
static const char* value(const ::dfall_pkg::CMCommandRequest_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.command);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct CMCommandRequest_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::dfall_pkg::CMCommandRequest_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::dfall_pkg::CMCommandRequest_<ContainerAllocator>& v)
{
s << indent << "command: ";
Printer<uint32_t>::stream(s, indent + " ", v.command);
}
};
} // namespace message_operations
} // namespace ros
#endif // DFALL_PKG_MESSAGE_CMCOMMANDREQUEST_H
// Generated by gencpp from file dfall_pkg/CMCommandResponse.msg
// DO NOT EDIT!
#ifndef DFALL_PKG_MESSAGE_CMCOMMANDRESPONSE_H
#define DFALL_PKG_MESSAGE_CMCOMMANDRESPONSE_H