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 
15 namespace yarp{
16  namespace dev{
17  class LaserMeasurementData;
18  }
19 }
20 
25 {
26  double stored_x;
27  double stored_y;
28  double stored_angle;
29  double stored_distance;
30 public:
32  void set_cartesian(const double x, const double y);
33  void set_polar(const double rho, const double theta);
34  void get_cartesian(double& x, double& y);
35  void get_polar(double& rho, double& theta);
36 };
37 
38 #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)
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18