|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
14 #ifndef YARP_THRIFT_GENERATOR_STRUCT_LASERSCAN2D_H
15 #define YARP_THRIFT_GENERATOR_STRUCT_LASERSCAN2D_H
58 const double angle_max,
59 const double range_min,
60 const double range_max,
62 const std::int32_t status);
112 void start_editing();
114 #ifndef YARP_NO_DEPRECATED // Since YARP 3.2
120 #endif // YARP_NO_DEPRECATED
125 #ifndef YARP_NO_DEPRECATED // Since YARP 3.2
131 #endif // YARP_NO_DEPRECATED
134 void set_angle_min(
const double angle_min);
135 double get_angle_min()
const;
136 virtual bool will_set_angle_min();
137 virtual bool did_set_angle_min();
140 void set_angle_max(
const double angle_max);
141 double get_angle_max()
const;
142 virtual bool will_set_angle_max();
143 virtual bool did_set_angle_max();
146 void set_range_min(
const double range_min);
147 double get_range_min()
const;
148 virtual bool will_set_range_min();
149 virtual bool did_set_range_min();
152 void set_range_max(
const double range_max);
153 double get_range_max()
const;
154 virtual bool will_set_range_max();
155 virtual bool did_set_range_max();
160 virtual bool will_set_scans();
161 virtual bool did_set_scans();
164 void set_status(
const std::int32_t status);
165 std::int32_t get_status()
const;
166 virtual bool will_set_status();
167 virtual bool did_set_status();
186 bool is_dirty_angle_min;
187 bool is_dirty_angle_max;
188 bool is_dirty_range_min;
189 bool is_dirty_range_max;
191 bool is_dirty_status;
201 void mark_dirty_angle_min();
202 void mark_dirty_angle_max();
203 void mark_dirty_range_min();
204 void mark_dirty_range_max();
205 void mark_dirty_scans();
206 void mark_dirty_status();
209 void dirty_flags(
bool flag);
253 #endif // YARP_THRIFT_GENERATOR_STRUCT_LASERSCAN2D_H
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
contains the definition of a Vector type
double angle_max
last angle of the scan [deg]
Editor & operator=(Editor &&rhs)=delete
bool isValid()
Check if time is valid (non-zero).
Editor(const Editor &rhs)=delete
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
Editor & operator=(const Editor &rhs)=delete
IDL-friendly connection writer.
An interface for writing to a network connection.
yarp::os::idl::Unwrapped< LaserScan2D > unwrapped
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
double range_max
the maximum distance of the scan [m]
Base class for IDL client/server.
Editor(Editor &&rhs)=delete
IDL-friendly connection reader.
An interface for reading from a network connection.
double angle_min
first angle of the scan [deg]
#define YARP_DEPRECATED_MSG(MSG)
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
std::string toString(const T &value)
convert an arbitrary type to string.
The main, catch-all namespace for YARP.
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
yarp::sig::Vector scans
the scan data, measured in [m].
double range_min
the minimum distance of the scan [m]