|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
14 #ifndef YARP_THRIFT_GENERATOR_STRUCT_ODOMETRYDATA_H
15 #define YARP_THRIFT_GENERATOR_STRUCT_ODOMETRYDATA_H
73 const double odom_theta,
74 const double base_vel_x,
75 const double base_vel_y,
76 const double base_vel_theta,
77 const double odom_vel_x,
78 const double odom_vel_y,
79 const double odom_vel_theta);
129 void start_editing();
131 #ifndef YARP_NO_DEPRECATED // Since YARP 3.2
137 #endif // YARP_NO_DEPRECATED
142 #ifndef YARP_NO_DEPRECATED // Since YARP 3.2
148 #endif // YARP_NO_DEPRECATED
151 void set_odom_x(
const double odom_x);
152 double get_odom_x()
const;
153 virtual bool will_set_odom_x();
154 virtual bool did_set_odom_x();
157 void set_odom_y(
const double odom_y);
158 double get_odom_y()
const;
159 virtual bool will_set_odom_y();
160 virtual bool did_set_odom_y();
163 void set_odom_theta(
const double odom_theta);
164 double get_odom_theta()
const;
165 virtual bool will_set_odom_theta();
166 virtual bool did_set_odom_theta();
169 void set_base_vel_x(
const double base_vel_x);
170 double get_base_vel_x()
const;
171 virtual bool will_set_base_vel_x();
172 virtual bool did_set_base_vel_x();
175 void set_base_vel_y(
const double base_vel_y);
176 double get_base_vel_y()
const;
177 virtual bool will_set_base_vel_y();
178 virtual bool did_set_base_vel_y();
181 void set_base_vel_theta(
const double base_vel_theta);
182 double get_base_vel_theta()
const;
183 virtual bool will_set_base_vel_theta();
184 virtual bool did_set_base_vel_theta();
187 void set_odom_vel_x(
const double odom_vel_x);
188 double get_odom_vel_x()
const;
189 virtual bool will_set_odom_vel_x();
190 virtual bool did_set_odom_vel_x();
193 void set_odom_vel_y(
const double odom_vel_y);
194 double get_odom_vel_y()
const;
195 virtual bool will_set_odom_vel_y();
196 virtual bool did_set_odom_vel_y();
199 void set_odom_vel_theta(
const double odom_vel_theta);
200 double get_odom_vel_theta()
const;
201 virtual bool will_set_odom_vel_theta();
202 virtual bool did_set_odom_vel_theta();
221 bool is_dirty_odom_x;
222 bool is_dirty_odom_y;
223 bool is_dirty_odom_theta;
224 bool is_dirty_base_vel_x;
225 bool is_dirty_base_vel_y;
226 bool is_dirty_base_vel_theta;
227 bool is_dirty_odom_vel_x;
228 bool is_dirty_odom_vel_y;
229 bool is_dirty_odom_vel_theta;
239 void mark_dirty_odom_x();
240 void mark_dirty_odom_y();
241 void mark_dirty_odom_theta();
242 void mark_dirty_base_vel_x();
243 void mark_dirty_base_vel_y();
244 void mark_dirty_base_vel_theta();
245 void mark_dirty_odom_vel_x();
246 void mark_dirty_odom_vel_y();
247 void mark_dirty_odom_vel_theta();
250 void dirty_flags(
bool flag);
312 #endif // YARP_THRIFT_GENERATOR_STRUCT_ODOMETRYDATA_H
double odom_vel_x
velocity of the robot [m/s] expressed in the world reference frame
double odom_vel_theta
angular velocity of the robot [deg/s] expressed in the world reference frame
double base_vel_theta
angular velocity of the robot [deg/s] expressed in the robot reference frame
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
double odom_vel_y
velocity of the robot [m/s] expressed in the world reference frame
bool isValid()
Check if time is valid (non-zero).
double base_vel_y
velocity of the robot [m/s] expressed in the robot reference frame
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
double base_vel_x
velocity of the robot [m/s] expressed in the robot reference frame
IDL-friendly connection writer.
Editor & operator=(Editor &&rhs)=delete
Editor(const Editor &rhs)=delete
yarp::os::idl::Unwrapped< OdometryData > unwrapped
An interface for writing to a network connection.
double odom_theta
orientation the robot [deg], expressed in the world reference frame
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
Editor(Editor &&rhs)=delete
Base class for IDL client/server.
IDL-friendly connection reader.
An interface for reading from a network connection.
#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.
double odom_y
position of the robot [m], expressed in the world reference frame
double odom_x
position of the robot [m], expressed in the world reference frame
Editor & operator=(const Editor &rhs)=delete
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)