YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Localization2D_nwc_yarp.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6#ifndef YARP_DEV_LOCALIZATION2D_NWC_YARP_H
7#define YARP_DEV_LOCALIZATION2D_NWC_YARP_H
8
9
10#include <yarp/os/Network.h>
14#include <yarp/sig/Vector.h>
15#include <yarp/os/Semaphore.h>
16#include <yarp/os/Time.h>
17#include <yarp/os/Port.h>
18#include <mutex>
19#include <string>
20#include <yarp/dev/PolyDriver.h>
23#include "ILocalization2DMsgs.h"
24
26
62
63#endif // YARP_DEV_LOCALIZATION2D_NWC_YARP_H
define control board standard interfaces
contains the definition of a Map2DLocation type
contains the definition of a Vector type
This class is the parameters parser for class Localization2D_nwc_yarp.
Localization2D_nwc_yarp A device which allows a user application retrieve the current position of the...
yarp::dev::ReturnValue setInitialPose(const yarp::dev::Nav2D::Map2DLocation &loc) override
Sets the initial pose for the localization algorithm which estimates the current position of the robo...
yarp::dev::ReturnValue getLocalizationStatus(yarp::dev::Nav2D::LocalizationStatusEnum &status) override
Gets the current status of the localization task.
yarp::dev::ReturnValue getCurrentPosition(yarp::dev::Nav2D::Map2DLocation &loc) override
Gets the current position of the robot w.r.t world reference frame.
yarp::os::Port m_rpc_port_localization_server
yarp::dev::ReturnValue getEstimatedPoses(std::vector< yarp::dev::Nav2D::Map2DLocation > &poses) override
Gets a set of pose estimates computed by the localization algorithm.
yarp::dev::ReturnValue stopLocalizationService() override
Stops the localization service.
bool close() override
Close the DeviceDriver.
yarp::dev::ReturnValue startLocalizationService() override
Starts the localization service.
yarp::dev::ReturnValue getEstimatedOdometry(yarp::dev::OdometryData &odom) override
Gets the estimated odometry the robot, including its velocity expressed in the world and in the local...
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
Interface implemented by all device drivers.
ILocalization2D interface.
A mini-server for network communication.
Definition Port.h:46
A base class for nested structures that can be searched.
Definition Searchable.h:31
A class for a Matrix.
Definition Matrix.h:39