#include <sbpl_subscriber.h>
Public Types | |
| typedef std::vector < geometry_msgs::PoseStamped > | MBPlan |
Public Member Functions | |
| boost::optional< SBPLPlan > | lookupPlan (const MBPlan &mb_plan) const |
| SBPLSubscriber (const ros::NodeHandle &nh, const std::string &topic, const double timeout=0.01, const unsigned buffer_size=10) | |
Private Member Functions | |
| void | planCB (const SBPLPlan &sbpl_plan) |
Private Attributes | |
| boost::mutex | mutex_ |
| ros::NodeHandle | nh_ |
| boost::circular_buffer< SBPLPlan > | plan_buffer_ |
| ros::Subscriber | sub_ |
| const double | timeout_ |
Definition at line 53 of file sbpl_subscriber.h.
| typedef std::vector<geometry_msgs::PoseStamped> cart_local_planner::SBPLSubscriber< SBPLPlan >::MBPlan |
Definition at line 56 of file sbpl_subscriber.h.
| cart_local_planner::SBPLSubscriber< SBPLPlan >::SBPLSubscriber | ( | const ros::NodeHandle & | nh, | |
| const std::string & | topic, | |||
| const double | timeout = 0.01, |
|||
| const unsigned | buffer_size = 10 | |||
| ) | [inline] |
Definition at line 58 of file sbpl_subscriber.h.
| boost::optional<SBPLPlan> cart_local_planner::SBPLSubscriber< SBPLPlan >::lookupPlan | ( | const MBPlan & | mb_plan | ) | const [inline] |
Definition at line 65 of file sbpl_subscriber.h.
| void cart_local_planner::SBPLSubscriber< SBPLPlan >::planCB | ( | const SBPLPlan & | sbpl_plan | ) | [inline, private] |
Definition at line 92 of file sbpl_subscriber.h.
boost::mutex cart_local_planner::SBPLSubscriber< SBPLPlan >::mutex_ [mutable, private] |
Definition at line 86 of file sbpl_subscriber.h.
ros::NodeHandle cart_local_planner::SBPLSubscriber< SBPLPlan >::nh_ [private] |
Definition at line 87 of file sbpl_subscriber.h.
boost::circular_buffer<SBPLPlan> cart_local_planner::SBPLSubscriber< SBPLPlan >::plan_buffer_ [private] |
Definition at line 89 of file sbpl_subscriber.h.
ros::Subscriber cart_local_planner::SBPLSubscriber< SBPLPlan >::sub_ [private] |
Definition at line 88 of file sbpl_subscriber.h.
const double cart_local_planner::SBPLSubscriber< SBPLPlan >::timeout_ [private] |
Definition at line 90 of file sbpl_subscriber.h.