Establishes communication between the different states and the RSM's periphery including the GUI. It offers services and publishes topics based on the variables that need to be saved during state transitions. More...
#include <ServiceProvider.h>
Public Member Functions | |
void | publishTopics () |
ServiceProvider () | |
~ServiceProvider () | |
Private Member Functions | |
bool | addWaypoint (rsm_msgs::AddWaypoint::Request &req, rsm_msgs::AddWaypoint::Response &res) |
bool | getExplorationMode (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res) |
bool | getNavigationGoal (rsm_msgs::GetNavigationGoal::Request &req, rsm_msgs::GetNavigationGoal::Response &res) |
bool | getReverseMode (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res) |
bool | getRobotPose (rsm_msgs::GetRobotPose::Request &req, rsm_msgs::GetRobotPose::Response &res) |
bool | getWaypointRoutines (rsm_msgs::GetWaypointRoutines::Request &req, rsm_msgs::GetWaypointRoutines::Response &res) |
bool | getWaypoints (rsm_msgs::GetWaypoints::Request &req, rsm_msgs::GetWaypoints::Response &res) |
bool | moveWaypoint (rsm_msgs::MoveWaypoint::Request &req, rsm_msgs::MoveWaypoint::Response &res) |
bool | NavigationGoalCompleted (rsm_msgs::GoalCompleted::Request &req, rsm_msgs::GoalCompleted::Response &res) |
void | publishExplorationGoalCompleted () |
void | publishExplorationModes () |
void | publishGoalObsolete () |
void | publishReverseMode () |
void | publishWaypoints () |
bool | removeWaypoint (rsm_msgs::RemoveWaypoint::Request &req, rsm_msgs::RemoveWaypoint::Response &res) |
bool | resetWaypoints (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res) |
bool | setExplorationMode (std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res) |
bool | setNavigationGoal (rsm_msgs::SetNavigationGoal::Request &req, rsm_msgs::SetNavigationGoal::Response &res) |
bool | setReverseMode (std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res) |
bool | setWaypointFollowingMode (rsm_msgs::SetWaypointFollowingMode::Request &req, rsm_msgs::SetWaypointFollowingMode::Response &res) |
bool | setWaypointRoutine (rsm_msgs::SetWaypointRoutine::Request &req, rsm_msgs::SetWaypointRoutine::Response &res) |
bool | waypointUnreachable (rsm_msgs::WaypointUnreachable::Request &req, rsm_msgs::WaypointUnreachable::Response &res) |
bool | waypointVisited (rsm_msgs::WaypointVisited::Request &req, rsm_msgs::WaypointVisited::Response &res) |
Establishes communication between the different states and the RSM's periphery including the GUI. It offers services and publishes topics based on the variables that need to be saved during state transitions.
Definition at line 39 of file ServiceProvider.h.
rsm::ServiceProvider::ServiceProvider | ( | ) |
Constructor
Definition at line 5 of file ServiceProvider.cpp.
rsm::ServiceProvider::~ServiceProvider | ( | ) |
Destructor
Definition at line 79 of file ServiceProvider.cpp.
|
private |
Definition at line 90 of file ServiceProvider.cpp.
|
private |
Definition at line 287 of file ServiceProvider.cpp.
|
private |
Definition at line 227 of file ServiceProvider.cpp.
|
private |
Definition at line 338 of file ServiceProvider.cpp.
|
private |
Definition at line 271 of file ServiceProvider.cpp.
|
private |
Definition at line 201 of file ServiceProvider.cpp.
|
private |
Definition at line 105 of file ServiceProvider.cpp.
|
private |
Definition at line 111 of file ServiceProvider.cpp.
|
private |
Definition at line 237 of file ServiceProvider.cpp.
|
private |
Definition at line 308 of file ServiceProvider.cpp.
|
private |
Definition at line 302 of file ServiceProvider.cpp.
|
private |
|
private |
Definition at line 350 of file ServiceProvider.cpp.
void rsm::ServiceProvider::publishTopics | ( | ) |
Publish all topics (waypoints, goal obsolete, exploration and reverse mode)
Definition at line 83 of file ServiceProvider.cpp.
|
private |
Definition at line 208 of file ServiceProvider.cpp.
|
private |
Definition at line 124 of file ServiceProvider.cpp.
|
private |
Definition at line 166 of file ServiceProvider.cpp.
|
private |
Definition at line 294 of file ServiceProvider.cpp.
|
private |
Definition at line 212 of file ServiceProvider.cpp.
|
private |
Definition at line 312 of file ServiceProvider.cpp.
|
private |
Definition at line 177 of file ServiceProvider.cpp.
|
private |
Definition at line 187 of file ServiceProvider.cpp.
|
private |
Definition at line 152 of file ServiceProvider.cpp.
|
private |
Definition at line 139 of file ServiceProvider.cpp.
|
private |
Definition at line 57 of file ServiceProvider.h.
|
private |
Message for completed exploration goal
Definition at line 132 of file ServiceProvider.h.
|
private |
Definition at line 79 of file ServiceProvider.h.
|
private |
Mode of exploration (0=complete goal, 1=interrupt goal when exploration goals vanished)
Definition at line 124 of file ServiceProvider.h.
|
private |
Definition at line 78 of file ServiceProvider.h.
|
private |
Definition at line 77 of file ServiceProvider.h.
|
private |
Definition at line 70 of file ServiceProvider.h.
|
private |
Definition at line 82 of file ServiceProvider.h.
|
private |
Definition at line 73 of file ServiceProvider.h.
|
private |
Definition at line 66 of file ServiceProvider.h.
|
private |
Definition at line 58 of file ServiceProvider.h.
|
private |
Definition at line 59 of file ServiceProvider.h.
|
private |
Current navigation goal
Definition at line 89 of file ServiceProvider.h.
|
private |
Definition at line 71 of file ServiceProvider.h.
|
private |
Mode of navigation (Exploration=0, Waypoint following=1 and Simple Goal=2)
Definition at line 97 of file ServiceProvider.h.
|
private |
Definition at line 56 of file ServiceProvider.h.
|
private |
Definition at line 60 of file ServiceProvider.h.
|
private |
Definition at line 63 of file ServiceProvider.h.
|
private |
Is currently driving in reverse
Definition at line 128 of file ServiceProvider.h.
|
private |
Definition at line 84 of file ServiceProvider.h.
|
private |
Robot frame id.
Definition at line 116 of file ServiceProvider.h.
|
private |
Routine to be executed when reaching the current waypoint
Definition at line 101 of file ServiceProvider.h.
|
private |
Definition at line 76 of file ServiceProvider.h.
|
private |
Definition at line 69 of file ServiceProvider.h.
|
private |
Definition at line 83 of file ServiceProvider.h.
|
private |
Definition at line 81 of file ServiceProvider.h.
|
private |
Definition at line 64 of file ServiceProvider.h.
|
private |
Definition at line 65 of file ServiceProvider.h.
|
private |
ROS transform from map to robot frame.
Definition at line 115 of file ServiceProvider.h.
|
private |
Definition at line 74 of file ServiceProvider.h.
|
private |
List of all waypoints
Definition at line 93 of file ServiceProvider.h.
|
private |
Position of the current waypoint in the waypoint list
Definition at line 105 of file ServiceProvider.h.
|
private |
List of all available waypoint routines
Definition at line 110 of file ServiceProvider.h.
|
private |
Definition at line 62 of file ServiceProvider.h.
|
private |
Definition at line 61 of file ServiceProvider.h.
|
private |
Definition at line 67 of file ServiceProvider.h.