#include <checkpoint_manager.h>
Public Member Functions | |
CheckpointManager () | |
Private Member Functions | |
bool | action_callback (iri_checkpoint_nav::ActionCheckpointNav::Request &req, iri_checkpoint_nav::ActionCheckpointNav::Response &res) |
void | activate_current_checkpoint () |
bool | add_checkpoint_callback (iri_checkpoint_nav::Checkpoint::Request &req, iri_checkpoint_nav::Checkpoint::Response &res) |
geometry_msgs::Quaternion | generate_goal_orientation () |
void | reset_checkpoints () |
bool | send_navigation_goal (const CheckpointRequest checkpoint) |
bool | start_navigation () |
void | visited_current_checkpoint () |
Static Private Member Functions | |
static geometry_msgs::Quaternion | generate_default_orientation () |
Private Attributes | |
std::vector< CheckpointRequest > | checkpoints_ |
std::vector< CheckpointRequest > ::iterator | current_goal_ |
CheckpointMarker | marker_ |
ros::NodeHandle | nh_ |
ros::ServiceServer | srv_action_ |
ros::ServiceServer | srv_checkpoint_ |
Definition at line 15 of file checkpoint_manager.h.
Definition at line 7 of file checkpoint_manager.cpp.
bool CheckpointManager::action_callback | ( | iri_checkpoint_nav::ActionCheckpointNav::Request & | req, |
iri_checkpoint_nav::ActionCheckpointNav::Response & | res | ||
) | [private] |
Definition at line 30 of file checkpoint_manager.cpp.
void CheckpointManager::activate_current_checkpoint | ( | ) | [private] |
Definition at line 52 of file checkpoint_manager.cpp.
bool CheckpointManager::add_checkpoint_callback | ( | iri_checkpoint_nav::Checkpoint::Request & | req, |
iri_checkpoint_nav::Checkpoint::Response & | res | ||
) | [private] |
Definition at line 17 of file checkpoint_manager.cpp.
geometry_msgs::Quaternion CheckpointManager::generate_default_orientation | ( | ) | [static, private] |
Definition at line 70 of file checkpoint_manager.cpp.
geometry_msgs::Quaternion CheckpointManager::generate_goal_orientation | ( | ) | [private] |
Definition at line 83 of file checkpoint_manager.cpp.
void CheckpointManager::reset_checkpoints | ( | ) | [private] |
Definition at line 64 of file checkpoint_manager.cpp.
bool CheckpointManager::send_navigation_goal | ( | const CheckpointRequest | checkpoint | ) | [private] |
Definition at line 113 of file checkpoint_manager.cpp.
bool CheckpointManager::start_navigation | ( | ) | [private] |
Definition at line 143 of file checkpoint_manager.cpp.
void CheckpointManager::visited_current_checkpoint | ( | ) | [private] |
Definition at line 58 of file checkpoint_manager.cpp.
Definition at line 23 of file checkpoint_manager.h.
std::vector<CheckpointRequest>::iterator CheckpointManager::current_goal_ [private] |
Definition at line 24 of file checkpoint_manager.h.
CheckpointMarker CheckpointManager::marker_ [private] |
Definition at line 22 of file checkpoint_manager.h.
ros::NodeHandle CheckpointManager::nh_ [private] |
Definition at line 20 of file checkpoint_manager.h.
Definition at line 19 of file checkpoint_manager.h.
Definition at line 18 of file checkpoint_manager.h.