Root namespace for the ROS part. More...
Classes | |
class | ActiveZonesetNode |
ROS Node that continuously publishes a marker for the active_zoneset. More... | |
class | ConfigServerNode |
ROS Node that publishes a latched topic containing the configured zonesets. More... | |
class | ParamMissingOnServer |
Exception thrown if a parameter of a certain type cannot be found on the ROS parameter server. More... | |
class | ROSScannerNodeT |
ROS Node that continuously publishes scan data of a single PSENscan laser scanner. More... | |
class | WrongParameterType |
Exception thrown if a parameter can be found on the ROS parameter server but with an unexpected type. More... | |
class | ZoneSetMsgBuilder |
Typedefs | |
typedef ROSScannerNodeT | ROSScannerNode |
Functions | |
visualization_msgs::Marker | createMarker (const std::string &ns, const std_msgs::ColorRGBA &color, const std::string &frame_id, const std::vector< geometry_msgs::Point32 > &points, const double &z_offset=0) |
geometry_msgs::Point | createPoint (const double &x, const double &y, const double &z) |
std_msgs::ColorRGBA | createRGBA (const float &r, const float &g, const float &b, const float &a) |
template<class T > | |
T | getOptionalParamFromServer (const ros::NodeHandle &node_handle, const std::string &key, const T &default_value) |
template<class T > | |
boost::optional< T > | getParam (const ros::NodeHandle &node_handle, const std::string &key) |
std::string | getRangeInfo (const ZoneSet &zoneset) |
template<class T > | |
T | getRequiredParamFromServer (const ros::NodeHandle &node_handle, const std::string &key) |
psen_scan_v2::IOState | toIOStateMsg (const psen_scan_v2_standalone::IOState &io_state, const std::string &frame_id) |
sensor_msgs::LaserScan | toLaserScanMsg (const LaserScan &laserscan, const std::string &frame_id, const double x_axis_rotation) |
std::vector< visualization_msgs::Marker > | toMarkers (const ZoneSet &zoneset) |
template<typename PinStateType > | |
PinStateType | toPinStateMsg (const psen_scan_v2_standalone::PinState &pin) |
Variables | |
static const std::string | DEFAULT_ACTIVE_ZONESET_TOPIC = "active_zoneset" |
static constexpr double | DEFAULT_X_AXIS_ROTATION = psen_scan_v2_standalone::data_conversion_layer::degreeToRadian(137.5) |
The 2D scan will be rotated around the z-axis. More... | |
static const std::string | DEFAULT_ZONECONFIGURATION_TOPIC = "zoneconfiguration" |
static const std::string | DEFAULT_ZONESET_MARKER_ARRAY_TOPIC = "active_zoneset_markers" |
static const std::string | DEFAULT_ZONESET_TOPIC = "zoneconfiguration" |
Root namespace for the ROS part.
Definition at line 113 of file ros_scanner_node.h.
visualization_msgs::Marker psen_scan_v2::createMarker | ( | const std::string & | ns, |
const std_msgs::ColorRGBA & | color, | ||
const std::string & | frame_id, | ||
const std::vector< geometry_msgs::Point32 > & | points, | ||
const double & | z_offset = 0 |
||
) |
Definition at line 62 of file zoneset_to_marker_conversion.h.
geometry_msgs::Point psen_scan_v2::createPoint | ( | const double & | x, |
const double & | y, | ||
const double & | z | ||
) |
Definition at line 43 of file zoneset_to_marker_conversion.h.
std_msgs::ColorRGBA psen_scan_v2::createRGBA | ( | const float & | r, |
const float & | g, | ||
const float & | b, | ||
const float & | a | ||
) |
Definition at line 52 of file zoneset_to_marker_conversion.h.
T psen_scan_v2::getOptionalParamFromServer | ( | const ros::NodeHandle & | node_handle, |
const std::string & | key, | ||
const T & | default_value | ||
) |
Definition at line 48 of file ros_parameter_handler.h.
boost::optional<T> psen_scan_v2::getParam | ( | const ros::NodeHandle & | node_handle, |
const std::string & | key | ||
) |
Definition at line 30 of file ros_parameter_handler.h.
std::string psen_scan_v2::getRangeInfo | ( | const ZoneSet & | zoneset | ) |
Definition at line 105 of file zoneset_to_marker_conversion.h.
T psen_scan_v2::getRequiredParamFromServer | ( | const ros::NodeHandle & | node_handle, |
const std::string & | key | ||
) |
Definition at line 59 of file ros_parameter_handler.h.
psen_scan_v2::IOState psen_scan_v2::toIOStateMsg | ( | const psen_scan_v2_standalone::IOState & | io_state, |
const std::string & | frame_id | ||
) |
Definition at line 39 of file io_state_ros_conversion.h.
sensor_msgs::LaserScan psen_scan_v2::toLaserScanMsg | ( | const LaserScan & | laserscan, |
const std::string & | frame_id, | ||
const double | x_axis_rotation | ||
) |
Definition at line 28 of file laserscan_ros_conversions.h.
std::vector<visualization_msgs::Marker> psen_scan_v2::toMarkers | ( | const ZoneSet & | zoneset | ) |
Definition at line 115 of file zoneset_to_marker_conversion.h.
PinStateType psen_scan_v2::toPinStateMsg | ( | const psen_scan_v2_standalone::PinState & | pin | ) |
Definition at line 30 of file io_state_ros_conversion.h.
|
static |
Definition at line 31 of file active_zoneset_node.h.
|
staticconstexpr |
The 2D scan will be rotated around the z-axis.
Definition at line 24 of file default_ros_parameters.h.
|
static |
Definition at line 32 of file active_zoneset_node.h.
|
static |
Definition at line 33 of file active_zoneset_node.h.
|
static |
Definition at line 33 of file config_server_node.h.