#include <ROSAgent.h>
Definition at line 60 of file ROSAgent.h.
typedef boost::shared_ptr<ROSAgent> collvoid::ROSAgent::ROSAgentPtr |
Definition at line 62 of file ROSAgent.h.
Definition at line 65 of file ROSAgent.cpp.
virtual collvoid::ROSAgent::~ROSAgent | ( | ) | [inline, virtual] |
Definition at line 66 of file ROSAgent.h.
void collvoid::ROSAgent::addNHConstraints | ( | double | min_dist, |
Vector2 | pref_velocity | ||
) |
Definition at line 356 of file ROSAgent.cpp.
void collvoid::ROSAgent::amclPoseArrayWeightedCallback | ( | const amcl::PoseArrayWeighted::ConstPtr & | msg | ) |
Definition at line 839 of file ROSAgent.cpp.
void collvoid::ROSAgent::baseScanCallback | ( | const sensor_msgs::LaserScan::ConstPtr & | msg | ) |
Definition at line 1109 of file ROSAgent.cpp.
bool collvoid::ROSAgent::compareConvexHullPointsPosition | ( | const ConvexHullPoint & | p1, |
const ConvexHullPoint & | p2 | ||
) |
Definition at line 437 of file ROSAgent.cpp.
bool collvoid::ROSAgent::compareNeighborsPositions | ( | const AgentPtr & | agent1, |
const AgentPtr & | agent2 | ||
) |
Definition at line 432 of file ROSAgent.cpp.
bool collvoid::ROSAgent::compareVectorPosition | ( | const collvoid::Vector2 & | v1, |
const collvoid::Vector2 & | v2 | ||
) |
Definition at line 442 of file ROSAgent.cpp.
void collvoid::ROSAgent::computeClearpathVelocity | ( | Vector2 | pref_velocity | ) |
Reimplemented from collvoid::Agent.
Definition at line 311 of file ROSAgent.cpp.
Definition at line 1016 of file ROSAgent.cpp.
Definition at line 1040 of file ROSAgent.cpp.
void collvoid::ROSAgent::computeNewVelocity | ( | Vector2 | pref_velocity, |
geometry_msgs::Twist & | cmd_vel | ||
) |
Definition at line 215 of file ROSAgent.cpp.
void collvoid::ROSAgent::computeObstacleLine | ( | Vector2 & | point | ) |
Definition at line 494 of file ROSAgent.cpp.
void collvoid::ROSAgent::computeObstacles | ( | ) |
Definition at line 390 of file ROSAgent.cpp.
void collvoid::ROSAgent::computeOrcaVelocity | ( | Vector2 | pref_velocity | ) |
Definition at line 347 of file ROSAgent.cpp.
void collvoid::ROSAgent::computeSampledVelocity | ( | Vector2 | pref_velocity | ) |
Reimplemented from collvoid::Agent.
Definition at line 327 of file ROSAgent.cpp.
geometry_msgs::PolygonStamped collvoid::ROSAgent::createFootprintMsgFromVector2 | ( | const std::vector< Vector2 > & | footprint | ) |
Definition at line 978 of file ROSAgent.cpp.
void collvoid::ROSAgent::createObstacleLine | ( | std::vector< Vector2 > & | own_footprint, |
Vector2 & | obst1, | ||
Vector2 & | obst2 | ||
) |
Definition at line 517 of file ROSAgent.cpp.
double collvoid::ROSAgent::getDistToFootprint | ( | collvoid::Vector2 & | point | ) |
Definition at line 478 of file ROSAgent.cpp.
void collvoid::ROSAgent::init | ( | ros::NodeHandle | private_nh, |
tf::TransformListener * | tf | ||
) |
Definition at line 72 of file ROSAgent.cpp.
void collvoid::ROSAgent::initAsMe | ( | tf::TransformListener * | tf | ) |
Definition at line 172 of file ROSAgent.cpp.
void collvoid::ROSAgent::initCommon | ( | ros::NodeHandle | nh | ) |
Definition at line 183 of file ROSAgent.cpp.
void collvoid::ROSAgent::initParams | ( | ros::NodeHandle | private_nh | ) |
Definition at line 143 of file ROSAgent.cpp.
bool collvoid::ROSAgent::isHoloRobot | ( | ) |
Definition at line 788 of file ROSAgent.cpp.
Definition at line 792 of file ROSAgent.cpp.
collvoid::Vector2 collvoid::ROSAgent::LineSegmentToLineSegmentIntersection | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x3, | ||
double | y3, | ||
double | x4, | ||
double | y4 | ||
) |
Definition at line 451 of file ROSAgent.cpp.
void collvoid::ROSAgent::odomCallback | ( | const nav_msgs::Odometry::ConstPtr & | msg | ) |
Definition at line 868 of file ROSAgent.cpp.
bool collvoid::ROSAgent::pointInNeighbor | ( | collvoid::Vector2 & | point | ) |
Definition at line 470 of file ROSAgent.cpp.
void collvoid::ROSAgent::positionShareCallback | ( | const collvoid_msgs::PoseTwistWithCovariance::ConstPtr & | msg | ) |
Definition at line 796 of file ROSAgent.cpp.
Definition at line 956 of file ROSAgent.cpp.
std::vector< Vector2 > collvoid::ROSAgent::rotateFootprint | ( | const std::vector< Vector2 > & | footprint, |
double | angle | ||
) |
Definition at line 993 of file ROSAgent.cpp.
void collvoid::ROSAgent::setAccelerationConstraints | ( | double | acc_lim_x, |
double | acc_lim_y, | ||
double | acc_lim_th | ||
) |
Definition at line 706 of file ROSAgent.cpp.
void collvoid::ROSAgent::setAgentParams | ( | ROSAgent * | agent | ) |
Definition at line 913 of file ROSAgent.cpp.
void collvoid::ROSAgent::setClearpath | ( | bool | clearpath | ) |
Definition at line 776 of file ROSAgent.cpp.
void collvoid::ROSAgent::setConvex | ( | bool | convex | ) |
Definition at line 772 of file ROSAgent.cpp.
void collvoid::ROSAgent::setDeleteObservations | ( | bool | delete_observations | ) |
Definition at line 743 of file ROSAgent.cpp.
void collvoid::ROSAgent::setFootprint | ( | geometry_msgs::PolygonStamped | footprint | ) |
Definition at line 646 of file ROSAgent.cpp.
void collvoid::ROSAgent::setFootprintRadius | ( | double | footprint_radius | ) |
Definition at line 670 of file ROSAgent.cpp.
void collvoid::ROSAgent::setGlobalFrame | ( | std::string | global_frame | ) |
Definition at line 690 of file ROSAgent.cpp.
void collvoid::ROSAgent::setId | ( | std::string | id | ) |
Definition at line 694 of file ROSAgent.cpp.
void collvoid::ROSAgent::setIsHoloRobot | ( | bool | holo_robot | ) |
Definition at line 682 of file ROSAgent.cpp.
void collvoid::ROSAgent::setLocalizationEps | ( | double | eps | ) |
Definition at line 751 of file ROSAgent.cpp.
void collvoid::ROSAgent::setMaxVelWithObstacles | ( | double | max_vel_with_obstacles | ) |
Definition at line 698 of file ROSAgent.cpp.
void collvoid::ROSAgent::setMinkowskiFootprintVector2 | ( | geometry_msgs::PolygonStamped | minkowski_footprint | ) |
Definition at line 675 of file ROSAgent.cpp.
void collvoid::ROSAgent::setMinMaxErrorHolo | ( | double | min_error_holo, |
double | max_error_holo | ||
) |
Definition at line 738 of file ROSAgent.cpp.
void collvoid::ROSAgent::setMinMaxSpeeds | ( | double | min_vel_x, |
double | max_vel_x, | ||
double | min_vel_y, | ||
double | max_vel_y, | ||
double | min_vel_th, | ||
double | max_vel_th, | ||
double | min_vel_th_inplace | ||
) |
Definition at line 712 of file ROSAgent.cpp.
void collvoid::ROSAgent::setNumSamples | ( | int | num_samples | ) |
Definition at line 784 of file ROSAgent.cpp.
void collvoid::ROSAgent::setOrca | ( | bool | orca | ) |
Definition at line 768 of file ROSAgent.cpp.
void collvoid::ROSAgent::setPublishMePeriod | ( | double | publish_me_period | ) |
Definition at line 726 of file ROSAgent.cpp.
void collvoid::ROSAgent::setPublishPositionsPeriod | ( | double | publish_positions_period | ) |
Definition at line 722 of file ROSAgent.cpp.
void collvoid::ROSAgent::setRobotBaseFrame | ( | std::string | base_link | ) |
Definition at line 686 of file ROSAgent.cpp.
void collvoid::ROSAgent::setThresholdLastSeen | ( | double | threshold_last_seen | ) |
Definition at line 747 of file ROSAgent.cpp.
void collvoid::ROSAgent::setTimeHorizonObst | ( | double | time_horizon_obst | ) |
Definition at line 734 of file ROSAgent.cpp.
void collvoid::ROSAgent::setTimeToHolo | ( | double | time_to_holo | ) |
Definition at line 730 of file ROSAgent.cpp.
void collvoid::ROSAgent::setTypeVO | ( | int | type_vo | ) |
Definition at line 764 of file ROSAgent.cpp.
void collvoid::ROSAgent::setUseTruncation | ( | bool | use_truncation | ) |
Definition at line 780 of file ROSAgent.cpp.
void collvoid::ROSAgent::setWheelBase | ( | double | wheel_base | ) |
Definition at line 702 of file ROSAgent.cpp.
Definition at line 446 of file ROSAgent.cpp.
geometry_msgs::PoseStamped collvoid::ROSAgent::transformMapPoseToBaseLink | ( | geometry_msgs::PoseStamped | in | ) |
Definition at line 1002 of file ROSAgent.cpp.
Definition at line 903 of file ROSAgent.cpp.
double collvoid::ROSAgent::vMaxAng | ( | ) |
Definition at line 948 of file ROSAgent.cpp.
Definition at line 210 of file ROSAgent.h.
Definition at line 210 of file ROSAgent.h.
Definition at line 210 of file ROSAgent.h.
Definition at line 241 of file ROSAgent.h.
std::string collvoid::ROSAgent::base_frame_ |
Definition at line 207 of file ROSAgent.h.
nav_msgs::Odometry collvoid::ROSAgent::base_odom_ |
Definition at line 224 of file ROSAgent.h.
boost::mutex collvoid::ROSAgent::convex_lock_ |
Definition at line 234 of file ROSAgent.h.
Definition at line 228 of file ROSAgent.h.
Definition at line 200 of file ROSAgent.h.
double collvoid::ROSAgent::eps_ |
Definition at line 227 of file ROSAgent.h.
std::vector< std::pair< collvoid::Vector2,collvoid::Vector2 > > collvoid::ROSAgent::footprint_lines_ |
Definition at line 220 of file ROSAgent.h.
geometry_msgs::PolygonStamped collvoid::ROSAgent::footprint_msg_ |
Definition at line 209 of file ROSAgent.h.
Definition at line 212 of file ROSAgent.h.
std::string collvoid::ROSAgent::global_frame_ |
Definition at line 207 of file ROSAgent.h.
Definition at line 218 of file ROSAgent.h.
Definition at line 181 of file ROSAgent.h.
Definition at line 186 of file ROSAgent.h.
std::string collvoid::ROSAgent::id_ |
Definition at line 206 of file ROSAgent.h.
Definition at line 217 of file ROSAgent.h.
boost::shared_ptr<tf::MessageFilter<sensor_msgs::LaserScan> > collvoid::ROSAgent::laser_notifier |
Definition at line 195 of file ROSAgent.h.
message_filters::Subscriber<sensor_msgs::LaserScan> collvoid::ROSAgent::laser_scan_sub_ |
Definition at line 194 of file ROSAgent.h.
Definition at line 223 of file ROSAgent.h.
Definition at line 176 of file ROSAgent.h.
Definition at line 175 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 180 of file ROSAgent.h.
Definition at line 211 of file ROSAgent.h.
Definition at line 185 of file ROSAgent.h.
Definition at line 211 of file ROSAgent.h.
Definition at line 211 of file ROSAgent.h.
boost::mutex collvoid::ROSAgent::me_lock_ |
Definition at line 234 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 197 of file ROSAgent.h.
Definition at line 179 of file ROSAgent.h.
Definition at line 211 of file ROSAgent.h.
Definition at line 211 of file ROSAgent.h.
Definition at line 211 of file ROSAgent.h.
Definition at line 211 of file ROSAgent.h.
std::vector<Vector2> collvoid::ROSAgent::minkowski_footprint_ |
Definition at line 231 of file ROSAgent.h.
boost::mutex collvoid::ROSAgent::neighbors_lock_ |
Definition at line 234 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 172 of file ROSAgent.h.
boost::mutex collvoid::ROSAgent::obstacle_lock_ |
Definition at line 234 of file ROSAgent.h.
std::vector<collvoid::Vector2> collvoid::ROSAgent::obstacle_points_ |
Definition at line 202 of file ROSAgent.h.
std::vector<Obstacle> collvoid::ROSAgent::obstacles_from_laser_ |
Definition at line 193 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 241 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
std::vector<std::pair<double, geometry_msgs::PoseStamped> > collvoid::ROSAgent::pose_array_weighted_ |
Definition at line 232 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 241 of file ROSAgent.h.
Definition at line 190 of file ROSAgent.h.
Definition at line 169 of file ROSAgent.h.
Definition at line 168 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 215 of file ROSAgent.h.
Definition at line 237 of file ROSAgent.h.
Definition at line 171 of file ROSAgent.h.
Definition at line 203 of file ROSAgent.h.
Definition at line 182 of file ROSAgent.h.
Definition at line 201 of file ROSAgent.h.
Definition at line 240 of file ROSAgent.h.
Definition at line 208 of file ROSAgent.h.