WorldModel class provides services for adding the viewports of the next best views to a list and retrieve them. Additionally, it provides services for adding objects, detected by object localization and retrieve them.
More...
#include <view_port_handler.hpp>
WorldModel class provides services for adding the viewports of the next best views to a list and retrieve them. Additionally, it provides services for adding objects, detected by object localization and retrieve them.
Definition at line 57 of file view_port_handler.hpp.
◆ ViewPortHandler()
world_model::ViewPortHandler::ViewPortHandler |
( |
SettingsPtr |
settings_ptr | ) |
|
◆ filterObjectTypesOfViewport()
void world_model::ViewPortHandler::filterObjectTypesOfViewport |
( |
asr_msgs::AsrViewport & |
viewport_to_filter, |
|
|
const asr_msgs::AsrViewport & |
filter_viewport |
|
) |
| |
|
private |
◆ GetEmptyViewportListServiceName()
static const std::string world_model::ViewPortHandler::GetEmptyViewportListServiceName |
( |
| ) |
|
|
inlinestatic |
◆ GetFilterViewportDependingOnAlreadyVisitedViewportsName()
static const std::string world_model::ViewPortHandler::GetFilterViewportDependingOnAlreadyVisitedViewportsName |
( |
| ) |
|
|
inlinestatic |
◆ GetGetViewportListServiceName()
static const std::string world_model::ViewPortHandler::GetGetViewportListServiceName |
( |
| ) |
|
|
inlinestatic |
◆ GetPushViewportServiceName()
static const std::string world_model::ViewPortHandler::GetPushViewportServiceName |
( |
| ) |
|
|
inlinestatic |
◆ processEmptyViewportListServiceCall()
bool world_model::ViewPortHandler::processEmptyViewportListServiceCall |
( |
asr_world_model::EmptyViewportList::Request & |
request, |
|
|
asr_world_model::EmptyViewportList::Response & |
response |
|
) |
| |
Removes the whole next best view viewports from list if request.object_type is set to "all" in the other case just the viewports associated with the given object type.
- Parameters
-
request | the associated request object of the service call |
response | the associated response object of the service |
- Returns
- the success of the service call.
Definition at line 43 of file view_port_handler.cpp.
◆ processFilterViewportDependingOnAlreadyVisitedViewportsVisited()
bool world_model::ViewPortHandler::processFilterViewportDependingOnAlreadyVisitedViewportsVisited |
( |
asr_world_model::FilterViewportDependingOnAlreadyVisitedViewports::Request & |
request, |
|
|
asr_world_model::FilterViewportDependingOnAlreadyVisitedViewports::Response & |
response |
|
) |
| |
Filter the objects of the viewport depending on already visited viewports.
- Parameters
-
request | the associated request object of the service call |
response | the associated response object of the service call |
- Returns
- the success of the service call.
Definition at line 95 of file view_port_handler.cpp.
◆ processGetViewportListServiceCall()
bool world_model::ViewPortHandler::processGetViewportListServiceCall |
( |
asr_world_model::GetViewportList::Request & |
request, |
|
|
asr_world_model::GetViewportList::Response & |
response |
|
) |
| |
Returns the whole list of next best view viewports if request.object_type is set to "all" else just the subset which matches the object type given in request.object_type.
- Parameters
-
request | the associated request object of the service call |
response | the associated response object of the service |
- Returns
- the success of the service call.
Definition at line 72 of file view_port_handler.cpp.
◆ processPushViewportServiceCall()
bool world_model::ViewPortHandler::processPushViewportServiceCall |
( |
asr_world_model::PushViewport::Request & |
request, |
|
|
asr_world_model::PushViewport::Response & |
response |
|
) |
| |
Pushes a next best view viewport to a list.
- Parameters
-
request | the associated request object of the service call |
response | the associated response object of the service call |
- Returns
- the success of the service call.
Definition at line 30 of file view_port_handler.cpp.
◆ debug_helper_ptr_
◆ number_of_all_viewports
std::size_t world_model::ViewPortHandler::number_of_all_viewports |
|
private |
◆ pose_helper_ptr_
◆ settings_ptr_
SettingsPtr world_model::ViewPortHandler::settings_ptr_ |
|
private |
◆ viewport_list_ptr_
The documentation for this class was generated from the following files:
asr_world_model
Author(s): Aumann Florian, Borella Jocelyn, Hutmacher Robin, Karrenbauer Oliver, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Trautmann Jeremias
autogenerated on Sat Jan 11 2020 03:50:22