Fawkes API
Fawkes Development Version
|
#include <>>
Public Member Functions | |
CartesianGotoWithFrameWithToleranceMessage (const float ini_x, const float ini_y, const float ini_orientation, const char *ini_target_frame, const float ini_translation_tolerance, const float ini_orientation_tolerance) | |
Constructor with initial values. More... | |
CartesianGotoWithFrameWithToleranceMessage () | |
Constructor. More... | |
~CartesianGotoWithFrameWithToleranceMessage () | |
Destructor. More... | |
CartesianGotoWithFrameWithToleranceMessage (const CartesianGotoWithFrameWithToleranceMessage *m) | |
Copy constructor. More... | |
float | x () const |
Get x value. More... | |
void | set_x (const float new_x) |
Set x value. More... | |
size_t | maxlenof_x () const |
Get maximum length of x value. More... | |
float | y () const |
Get y value. More... | |
void | set_y (const float new_y) |
Set y value. More... | |
size_t | maxlenof_y () const |
Get maximum length of y value. More... | |
float | orientation () const |
Get orientation value. More... | |
void | set_orientation (const float new_orientation) |
Set orientation value. More... | |
size_t | maxlenof_orientation () const |
Get maximum length of orientation value. More... | |
char * | target_frame () const |
Get target_frame value. More... | |
void | set_target_frame (const char *new_target_frame) |
Set target_frame value. More... | |
size_t | maxlenof_target_frame () const |
Get maximum length of target_frame value. More... | |
float | translation_tolerance () const |
Get translation_tolerance value. More... | |
void | set_translation_tolerance (const float new_translation_tolerance) |
Set translation_tolerance value. More... | |
size_t | maxlenof_translation_tolerance () const |
Get maximum length of translation_tolerance value. More... | |
float | orientation_tolerance () const |
Get orientation_tolerance value. More... | |
void | set_orientation_tolerance (const float new_orientation_tolerance) |
Set orientation_tolerance value. More... | |
size_t | maxlenof_orientation_tolerance () const |
Get maximum length of orientation_tolerance value. More... | |
virtual Message * | clone () const |
Clone this message. More... | |
![]() | |
Message (const char *type) | |
Constructor. More... | |
Message (const Message *mesg) | |
Copy constructor. More... | |
Message (const Message &mesg) | |
Copy constructor. More... | |
virtual | ~Message () |
Destructor. More... | |
Message & | operator= (const Message &m) |
Assign this message to given message. More... | |
unsigned int | id () const |
Get message ID. More... | |
void | set_id (unsigned int message_id) |
Set message ID. More... | |
void | mark_enqueued () |
Mark message as being enqueued. More... | |
bool | enqueued () const |
Check is message has been enqueued. More... | |
const Time * | time_enqueued () const |
Get time when message was enqueued. More... | |
unsigned int | sender_id () const |
Get ID of sender. More... | |
const char * | sender_thread_name () const |
Get sender of message. More... | |
Interface * | interface () const |
Get transmitting interface. More... | |
const char * | type () const |
Get message type. More... | |
InterfaceFieldIterator | fields () |
Get iterator over all fields of this interface instance. More... | |
InterfaceFieldIterator | fields_end () |
Invalid iterator. More... | |
unsigned int | num_fields () const |
Get the number of fields in the message. More... | |
const void * | datachunk () const |
Get pointer to data. More... | |
unsigned int | datasize () const |
Get size of data. More... | |
unsigned int | hops () const |
Get number of hops. More... | |
void | set_hops (unsigned int hops) |
Set number of hops. More... | |
void | set_from_chunk (const void *chunk) |
Set from raw data chunk. More... | |
unsigned int | recipient () const |
Get recipient memory serial. More... | |
template<class MessageType > | |
bool | is_of_type () |
Check if message has desired type. More... | |
template<class MessageType > | |
MessageType * | as_type () |
Cast message to given type if possible. More... | |
![]() | |
RefCount () | |
Constructor. More... | |
virtual | ~RefCount () |
Destructor. More... | |
void | ref () |
Increment reference count. More... | |
void | unref () |
Decrement reference count and conditionally delete this instance. More... | |
unsigned int | refcount () |
Get reference count for this instance. More... | |
Additional Inherited Members | |
![]() | |
void | add_fieldinfo (interface_fieldtype_t type, const char *name, size_t length, void *value, const char *enumtype=0, const interface_enum_map_t *enum_map=0) |
Add an entry to the info list. More... | |
![]() | |
void * | data_ptr |
unsigned int | data_size |
message_data_ts_t * | data_ts |
data timestamp aliasing pointer More... | |
CartesianGotoWithFrameWithToleranceMessage Fawkes BlackBoard Interface Message.
Definition at line 303 of file NavigatorInterface.h.
fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::CartesianGotoWithFrameWithToleranceMessage | ( | const float | ini_x, |
const float | ini_y, | ||
const float | ini_orientation, | ||
const char * | ini_target_frame, | ||
const float | ini_translation_tolerance, | ||
const float | ini_orientation_tolerance | ||
) |
Constructor with initial values.
ini_x | initial value for x |
ini_y | initial value for y |
ini_orientation | initial value for orientation |
ini_target_frame | initial value for target_frame |
ini_translation_tolerance | initial value for translation_tolerance |
ini_orientation_tolerance | initial value for orientation_tolerance |
Definition at line 1752 of file NavigatorInterface.cpp.
fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::CartesianGotoWithFrameWithToleranceMessage | ( | ) |
Constructor.
Definition at line 1781 of file NavigatorInterface.cpp.
fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::~CartesianGotoWithFrameWithToleranceMessage | ( | ) |
Destructor.
Definition at line 1804 of file NavigatorInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
|
explicit |
Copy constructor.
m | message to copy from |
Definition at line 1812 of file NavigatorInterface.cpp.
|
virtual |
Clone this message.
Produces a message of the same type as this message and copies the data to the new message.
Reimplemented from fawkes::Message.
Definition at line 2009 of file NavigatorInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
size_t fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::maxlenof_orientation | ( | ) | const |
Get maximum length of orientation value.
Definition at line 1897 of file NavigatorInterface.cpp.
size_t fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::maxlenof_orientation_tolerance | ( | ) | const |
Get maximum length of orientation_tolerance value.
Definition at line 1988 of file NavigatorInterface.cpp.
size_t fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::maxlenof_target_frame | ( | ) | const |
Get maximum length of target_frame value.
Definition at line 1927 of file NavigatorInterface.cpp.
size_t fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::maxlenof_translation_tolerance | ( | ) | const |
Get maximum length of translation_tolerance value.
Definition at line 1958 of file NavigatorInterface.cpp.
size_t fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::maxlenof_x | ( | ) | const |
Get maximum length of x value.
Definition at line 1837 of file NavigatorInterface.cpp.
size_t fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::maxlenof_y | ( | ) | const |
Get maximum length of y value.
Definition at line 1867 of file NavigatorInterface.cpp.
float fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::orientation | ( | ) | const |
Get orientation value.
The desired orientation of the robot at the target.
Definition at line 1887 of file NavigatorInterface.cpp.
float fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::orientation_tolerance | ( | ) | const |
Get orientation_tolerance value.
The orientation tolerance of the target, in radians.
Definition at line 1978 of file NavigatorInterface.cpp.
void fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::set_orientation | ( | const float | new_orientation | ) |
Set orientation value.
The desired orientation of the robot at the target.
new_orientation | new orientation value |
Definition at line 1907 of file NavigatorInterface.cpp.
void fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::set_orientation_tolerance | ( | const float | new_orientation_tolerance | ) |
Set orientation_tolerance value.
The orientation tolerance of the target, in radians.
new_orientation_tolerance | new orientation_tolerance value |
Definition at line 1998 of file NavigatorInterface.cpp.
void fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::set_target_frame | ( | const char * | new_target_frame | ) |
Set target_frame value.
The target frame to plan in.
new_target_frame | new target_frame value |
Definition at line 1937 of file NavigatorInterface.cpp.
void fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::set_translation_tolerance | ( | const float | new_translation_tolerance | ) |
Set translation_tolerance value.
The translation tolerance of the target, in meters.
new_translation_tolerance | new translation_tolerance value |
Definition at line 1968 of file NavigatorInterface.cpp.
void fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::set_x | ( | const float | new_x | ) |
Set x value.
X-coordinate of the target, in the robot's coordinate system.
new_x | new x value |
Definition at line 1847 of file NavigatorInterface.cpp.
void fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::set_y | ( | const float | new_y | ) |
Set y value.
Y-coordinate of the target, in the robot's coordinate system.
new_y | new y value |
Definition at line 1877 of file NavigatorInterface.cpp.
char * fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::target_frame | ( | ) | const |
Get target_frame value.
The target frame to plan in.
Definition at line 1917 of file NavigatorInterface.cpp.
float fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::translation_tolerance | ( | ) | const |
Get translation_tolerance value.
The translation tolerance of the target, in meters.
Definition at line 1948 of file NavigatorInterface.cpp.
float fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::x | ( | ) | const |
Get x value.
X-coordinate of the target, in the robot's coordinate system.
Definition at line 1827 of file NavigatorInterface.cpp.
float fawkes::NavigatorInterface::CartesianGotoWithFrameWithToleranceMessage::y | ( | ) | const |
Get y value.
Y-coordinate of the target, in the robot's coordinate system.
Definition at line 1857 of file NavigatorInterface.cpp.