Messages creates custom ROS messages to publish the results of the localization. The messages that can be created are: CylinderArray, Cylinder, and HandleList. More...
#include <messages.h>
Public Member Functions | |
handle_detector::CylinderMsg | createCylinder (const CylindricalShell &shell, std::string frame) |
Create a Cylinder message from a cylindrical shell. More... | |
handle_detector::CylinderArrayMsg | createCylinderArray (const std::vector< CylindricalShell > &list, std::string frame) |
Create a CylinderArray message from a list of cylindrical shells. More... | |
handle_detector::HandleListMsg | createHandleList (const std::vector< std::vector< CylindricalShell > > &handles, std::string frame) |
Create a HandleList message from a list of cylindrical shells. More... | |
Messages creates custom ROS messages to publish the results of the localization. The messages that can be created are: CylinderArray, Cylinder, and HandleList.
Definition at line 50 of file messages.h.
handle_detector::CylinderMsg Messages::createCylinder | ( | const CylindricalShell & | shell, |
std::string | frame | ||
) |
Create a Cylinder message from a cylindrical shell.
shell | the cylindrical shell |
frame | the frame in which the shell is located |
Definition at line 19 of file messages.cpp.
handle_detector::CylinderArrayMsg Messages::createCylinderArray | ( | const std::vector< CylindricalShell > & | list, |
std::string | frame | ||
) |
Create a CylinderArray message from a list of cylindrical shells.
list | the list of cylindrical shells |
frame | the frame in which the shells are located |
Definition at line 3 of file messages.cpp.
handle_detector::HandleListMsg Messages::createHandleList | ( | const std::vector< std::vector< CylindricalShell > > & | handles, |
std::string | frame | ||
) |
Create a HandleList message from a list of cylindrical shells.
handles | the list of handles |
frame | the frame in which the shells are located |
Definition at line 55 of file messages.cpp.