Public Member Functions | Private Member Functions | Private Attributes
segbot_simulation_apps::DoorHandler Class Reference

#include <door_handler.h>

List of all members.

Public Member Functions

void closeAllDoors ()
void closeAllDoorsFarAwayFromPoint (const geometry_msgs::Pose &point, float distance=2.0)
bool closeDoor (const std::string &door)
bool closeDoor (int index)
 DoorHandler ()
geometry_msgs::Pose getDefaultLocation (bool is_door, int index)
geometry_msgs::Pose getDoorLocation (int index)
float getDoorWidth (int index)
bool isDoorOpen (const std::string &door)
bool isDoorOpen (int index)
void openAllDoors ()
bool openDoor (const std::string &door)
bool openDoor (int index)
void spawnObject (bool is_door, int index=0)

Private Member Functions

void initialize ()
void multimapHandler (const multi_level_map_msgs::MultiLevelMapData::ConstPtr &multimap)

Private Attributes

std::vector< bool > door_open_status_
std::vector< int > door_to_true_door_map_
std::string door_urdf_
std::vector
< bwi_planning_common::Door
doors_
ros::ServiceClient get_gazebo_model_client_
bool initialized_
ros::Subscriber multimap_subscriber_
unsigned int num_obstacles_
std::string obstacle_urdf_
std::set< int > obstacles_in_use
ros::ServiceClient set_gazebo_model_client_
ros::ServiceClient spawn_model_client_
std::set< int > unused_obstacles_

Detailed Description

Definition at line 14 of file door_handler.h.


Constructor & Destructor Documentation

Definition at line 18 of file libsegbot_simulation_apps/door_handler.cpp.


Member Function Documentation

Definition at line 210 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 234 of file libsegbot_simulation_apps/door_handler.cpp.

bool segbot_simulation_apps::DoorHandler::closeDoor ( const std::string &  door)

Definition at line 185 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 193 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 119 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 139 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 135 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 64 of file libsegbot_simulation_apps/door_handler.cpp.

bool segbot_simulation_apps::DoorHandler::isDoorOpen ( const std::string &  door)

Definition at line 218 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 226 of file libsegbot_simulation_apps/door_handler.cpp.

void segbot_simulation_apps::DoorHandler::multimapHandler ( const multi_level_map_msgs::MultiLevelMapData::ConstPtr &  multimap) [private]

Definition at line 102 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 179 of file libsegbot_simulation_apps/door_handler.cpp.

bool segbot_simulation_apps::DoorHandler::openDoor ( const std::string &  door)

Definition at line 155 of file libsegbot_simulation_apps/door_handler.cpp.

Definition at line 163 of file libsegbot_simulation_apps/door_handler.cpp.

void segbot_simulation_apps::DoorHandler::spawnObject ( bool  is_door,
int  index = 0 
)

Definition at line 251 of file libsegbot_simulation_apps/door_handler.cpp.


Member Data Documentation

Definition at line 47 of file door_handler.h.

Definition at line 48 of file door_handler.h.

Definition at line 59 of file door_handler.h.

Definition at line 46 of file door_handler.h.

Definition at line 54 of file door_handler.h.

Definition at line 40 of file door_handler.h.

Definition at line 43 of file door_handler.h.

Definition at line 52 of file door_handler.h.

Definition at line 58 of file door_handler.h.

Definition at line 50 of file door_handler.h.

Definition at line 55 of file door_handler.h.

Definition at line 56 of file door_handler.h.

Definition at line 51 of file door_handler.h.


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


segbot_simulation_apps
Author(s): Piyush Khandelwal
autogenerated on Thu Jun 6 2019 21:37:47