Public Member Functions | Private Member Functions | Private Attributes
CreateParkingSpots Class Reference

#include <create_parking_spots.h>

List of all members.

Public Member Functions

 CreateParkingSpots ()
 Constructor This starts the server, waits for param server and create clickable parking spots.

Private Member Functions

visualization_msgs::InteractiveMarker createParkingSpot (std::string frame_id)
bool isNavGoal (std::string link_name)
void onClick (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &f)

Private Attributes

MoveBaseClient client_
 uses move base client to set nav goals
interactive_markers::InteractiveMarkerServer server_
 creates marker server for clickable parking spots

Detailed Description

Definition at line 34 of file create_parking_spots.h.


Constructor & Destructor Documentation

Constructor This starts the server, waits for param server and create clickable parking spots.

Definition at line 17 of file create_parking_spots.cpp.


Member Function Documentation

visualization_msgs::InteractiveMarker CreateParkingSpots::createParkingSpot ( std::string  frame_id) [private]

/brief Creates an interactive marker for the given link

Parameters:
frame_idthe frame id, or link name, to be used to create the marker
Returns:
the interactive marker to be used as a clickable parking spot

Definition at line 107 of file create_parking_spots.cpp.

bool CreateParkingSpots::isNavGoal ( std::string  link_name) [private]

/brief Check if a given link name ends with nav_goal, and should therefore have a parknig spot made at its location

Parameters:
link_namethe frame id or name of the link
Returns:
if the link ends in nav_goal and needs a marker

Definition at line 101 of file create_parking_spots.cpp.

void CreateParkingSpots::onClick ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  f) [private]

/brief Callback function for when marker is clicked. Sets move_base goal to carl

Parameters:
fcontains information about where the marker was clicked, if it was a press or release, and the marker pose

Definition at line 64 of file create_parking_spots.cpp.


Member Data Documentation

uses move base client to set nav goals

Definition at line 46 of file create_parking_spots.h.

creates marker server for clickable parking spots

Definition at line 48 of file create_parking_spots.h.


The documentation for this class was generated from the following files:


carl_interactive_manipulation
Author(s): David Kent , Peter Mitrano
autogenerated on Thu Jun 6 2019 21:09:51