#include <virtual_sensor_node.hpp>
Classes | |
class | Column |
class | Obstacle |
class | Wall |
Public Member Functions | |
void | columnPosesCB (const yocs_msgs::ColumnList::ConstPtr &msg) |
bool | init () |
void | spin () |
VirtualSensorNode () | |
void | wallPosesCB (const yocs_msgs::WallList::ConstPtr &msg) |
~VirtualSensorNode () | |
Private Member Functions | |
bool | add (boost::shared_ptr< Obstacle > &new_obs, std::vector< boost::shared_ptr< Obstacle > > &obstacles) |
Private Attributes | |
double | angle_inc_ |
double | angle_max_ |
double | angle_min_ |
ros::Subscriber | column_poses_sub_ |
std::vector< yocs_msgs::Column > | columns_ |
double | frequency_ |
std::string | global_frame_id_ |
int | hits_count_ |
double | range_max_ |
double | range_min_ |
sensor_msgs::LaserScan | scan_ |
double | scan_time_ |
std::string | sensor_frame_id_ |
ros::Subscriber | table_poses_sub_ |
tf::TransformListener | tf_listener_ |
ros::Publisher | virtual_obs_pub_ |
ros::Subscriber | wall_poses_sub_ |
std::vector< yocs_msgs::Wall > | walls_ |
Definition at line 25 of file virtual_sensor_node.hpp.
Definition at line 14 of file virtual_sensor_node.cpp.
Definition at line 18 of file virtual_sensor_node.cpp.
bool virtual_sensor::VirtualSensorNode::add | ( | boost::shared_ptr< Obstacle > & | new_obs, |
std::vector< boost::shared_ptr< Obstacle > > & | obstacles | ||
) | [private] |
Add a new obstacle to obstacles list with some processing:
new_obs | New obstacle in robot reference system |
obstacles | Current obstacles list |
Definition at line 178 of file virtual_sensor_node.cpp.
void virtual_sensor::VirtualSensorNode::columnPosesCB | ( | const yocs_msgs::ColumnList::ConstPtr & | msg | ) |
Definition at line 70 of file virtual_sensor_node.cpp.
Definition at line 23 of file virtual_sensor_node.cpp.
Definition at line 81 of file virtual_sensor_node.cpp.
void virtual_sensor::VirtualSensorNode::wallPosesCB | ( | const yocs_msgs::WallList::ConstPtr & | msg | ) |
Definition at line 75 of file virtual_sensor_node.cpp.
double virtual_sensor::VirtualSensorNode::angle_inc_ [private] |
Definition at line 128 of file virtual_sensor_node.hpp.
double virtual_sensor::VirtualSensorNode::angle_max_ [private] |
Definition at line 127 of file virtual_sensor_node.hpp.
double virtual_sensor::VirtualSensorNode::angle_min_ [private] |
Definition at line 126 of file virtual_sensor_node.hpp.
Definition at line 138 of file virtual_sensor_node.hpp.
std::vector<yocs_msgs::Column> virtual_sensor::VirtualSensorNode::columns_ [private] |
Definition at line 142 of file virtual_sensor_node.hpp.
double virtual_sensor::VirtualSensorNode::frequency_ [private] |
Definition at line 132 of file virtual_sensor_node.hpp.
std::string virtual_sensor::VirtualSensorNode::global_frame_id_ [private] |
Definition at line 135 of file virtual_sensor_node.hpp.
int virtual_sensor::VirtualSensorNode::hits_count_ [private] |
Definition at line 133 of file virtual_sensor_node.hpp.
double virtual_sensor::VirtualSensorNode::range_max_ [private] |
Definition at line 131 of file virtual_sensor_node.hpp.
double virtual_sensor::VirtualSensorNode::range_min_ [private] |
Definition at line 130 of file virtual_sensor_node.hpp.
sensor_msgs::LaserScan virtual_sensor::VirtualSensorNode::scan_ [private] |
Definition at line 140 of file virtual_sensor_node.hpp.
double virtual_sensor::VirtualSensorNode::scan_time_ [private] |
Definition at line 129 of file virtual_sensor_node.hpp.
std::string virtual_sensor::VirtualSensorNode::sensor_frame_id_ [private] |
Frame id for the output scan
Definition at line 134 of file virtual_sensor_node.hpp.
Definition at line 139 of file virtual_sensor_node.hpp.
Definition at line 141 of file virtual_sensor_node.hpp.
Definition at line 136 of file virtual_sensor_node.hpp.
Definition at line 137 of file virtual_sensor_node.hpp.
std::vector<yocs_msgs::Wall> virtual_sensor::VirtualSensorNode::walls_ [private] |
Definition at line 143 of file virtual_sensor_node.hpp.