YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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_SIG_LASERMEASURMENTDATA_H
7#define YARP_SIG_LASERMEASURMENTDATA_H
8
9#include <yarp/sig/api.h>
10
15namespace yarp::sig {
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_SIG_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)
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_sig_API
Definition api.h:18