YARP
Yet Another Robot Platform
LaserMeasurementData.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_DEV_LASERMEASURMENTDATA_H
7#define YARP_DEV_LASERMEASURMENTDATA_H
8
9#include <yarp/dev/api.h>
10
15namespace yarp::dev {
16class LaserMeasurementData;
17}
18
23{
24 double stored_x;
25 double stored_y;
26 double stored_angle;
27 double stored_distance;
28public:
30 void set_cartesian(const double x, const double y);
31 void set_polar(const double rho, const double theta);
32 void get_cartesian(double& x, double& y);
33 void get_polar(double& rho, double& theta);
34};
35
36#endif // YARP_DEV_LASERMEASURMENTDATA_H
void set_cartesian(const double x, const double y)
void get_cartesian(double &x, double &y)
void get_polar(double &rho, double &theta)
void set_polar(const double rho, const double theta)
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18