Fawkes API
Fawkes Development Version
|
24 #ifndef _INTERFACES_LASERLINEINTERFACE_H_
25 #define _INTERFACES_LASERLINEINTERFACE_H_
27 #include <interface/interface.h>
28 #include <interface/message.h>
29 #include <interface/field_iterator.h>
44 int64_t timestamp_sec;
45 int64_t timestamp_usec;
81 } LaserLineInterface_data_t;
83 LaserLineInterface_data_t *data;
135 virtual const char *
enum_tostring(
const char *enumtype,
int val)
const;
size_t maxlenof_point_on_line() const
Get maximum length of point_on_line value.
void set_point_on_line(unsigned int index, const float new_point_on_line)
Set point_on_line value at given index.
void set_end_point_1(unsigned int index, const float new_end_point_1)
Set end_point_1 value at given index.
void set_length(const float new_length)
Set length value.
void set_frame_id(const char *new_frame_id)
Set frame_id value.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
float * point_on_line() const
Get point_on_line value.
float length() const
Get length value.
char * frame_id() const
Get frame_id value.
void set_bearing(const float new_bearing)
Set bearing value.
float * end_point_2() const
Get end_point_2 value.
size_t maxlenof_end_point_1() const
Get maximum length of end_point_1 value.
size_t maxlenof_line_direction() const
Get maximum length of line_direction value.
const char * type() const
Get type of interface.
size_t maxlenof_visibility_history() const
Get maximum length of visibility_history value.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
size_t maxlenof_frame_id() const
Get maximum length of frame_id value.
size_t maxlenof_end_point_2() const
Get maximum length of end_point_2 value.
size_t maxlenof_length() const
Get maximum length of length value.
size_t maxlenof_end_point_frame_1() const
Get maximum length of end_point_frame_1 value.
char * end_point_frame_2() const
Get end_point_frame_2 value.
Fawkes library namespace.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
size_t maxlenof_bearing() const
Get maximum length of bearing value.
Base class for all Fawkes BlackBoard interfaces.
int32_t visibility_history() const
Get visibility_history value.
void set_visibility_history(const int32_t new_visibility_history)
Set visibility_history value.
void set_end_point_frame_1(const char *new_end_point_frame_1)
Set end_point_frame_1 value.
float * line_direction() const
Get line_direction value.
float bearing() const
Get bearing value.
size_t maxlenof_end_point_frame_2() const
Get maximum length of end_point_frame_2 value.
virtual Message * create_message(const char *type) const
Create message based on type name.
float * end_point_1() const
Get end_point_1 value.
LaserLineInterface Fawkes BlackBoard Interface.
void set_end_point_2(unsigned int index, const float new_end_point_2)
Set end_point_2 value at given index.
void set_line_direction(unsigned int index, const float new_line_direction)
Set line_direction value at given index.
char * end_point_frame_1() const
Get end_point_frame_1 value.
void set_end_point_frame_2(const char *new_end_point_frame_2)
Set end_point_frame_2 value.
virtual void copy_values(const Interface *other)
Copy values from other interface.