Fawkes API
Fawkes Development Version
|
#include <>>
Classes | |
class | DockMessage |
class | DriveMessage |
class | DriveStraightMessage |
class | SetModeMessage |
class | SetMotorsMessage |
class | StopMessage |
Public Member Functions | |
const char * | tostring_Mode (Mode value) const |
Convert Mode constant to string. More... | |
const char * | tostring_InfraredCharacter (InfraredCharacter value) const |
Convert InfraredCharacter constant to string. More... | |
const char * | tostring_ChargingState (ChargingState value) const |
Convert ChargingState constant to string. More... | |
const char * | tostring_BrushState (BrushState value) const |
Convert BrushState constant to string. More... | |
virtual bool | message_valid (const Message *message) const |
Check if message is valid and can be enqueued. More... | |
Mode | mode () const |
Get mode value. More... | |
void | set_mode (const Mode new_mode) |
Set mode value. More... | |
size_t | maxlenof_mode () const |
Get maximum length of mode value. More... | |
bool | is_wheel_drop_left () const |
Get wheel_drop_left value. More... | |
void | set_wheel_drop_left (const bool new_wheel_drop_left) |
Set wheel_drop_left value. More... | |
size_t | maxlenof_wheel_drop_left () const |
Get maximum length of wheel_drop_left value. More... | |
bool | is_wheel_drop_right () const |
Get wheel_drop_right value. More... | |
void | set_wheel_drop_right (const bool new_wheel_drop_right) |
Set wheel_drop_right value. More... | |
size_t | maxlenof_wheel_drop_right () const |
Get maximum length of wheel_drop_right value. More... | |
bool | is_bump_left () const |
Get bump_left value. More... | |
void | set_bump_left (const bool new_bump_left) |
Set bump_left value. More... | |
size_t | maxlenof_bump_left () const |
Get maximum length of bump_left value. More... | |
bool | is_bump_right () const |
Get bump_right value. More... | |
void | set_bump_right (const bool new_bump_right) |
Set bump_right value. More... | |
size_t | maxlenof_bump_right () const |
Get maximum length of bump_right value. More... | |
bool | is_wall () const |
Get wall value. More... | |
void | set_wall (const bool new_wall) |
Set wall value. More... | |
size_t | maxlenof_wall () const |
Get maximum length of wall value. More... | |
bool | is_cliff_left () const |
Get cliff_left value. More... | |
void | set_cliff_left (const bool new_cliff_left) |
Set cliff_left value. More... | |
size_t | maxlenof_cliff_left () const |
Get maximum length of cliff_left value. More... | |
bool | is_cliff_front_left () const |
Get cliff_front_left value. More... | |
void | set_cliff_front_left (const bool new_cliff_front_left) |
Set cliff_front_left value. More... | |
size_t | maxlenof_cliff_front_left () const |
Get maximum length of cliff_front_left value. More... | |
bool | is_cliff_front_right () const |
Get cliff_front_right value. More... | |
void | set_cliff_front_right (const bool new_cliff_front_right) |
Set cliff_front_right value. More... | |
size_t | maxlenof_cliff_front_right () const |
Get maximum length of cliff_front_right value. More... | |
bool | is_cliff_right () const |
Get cliff_right value. More... | |
void | set_cliff_right (const bool new_cliff_right) |
Set cliff_right value. More... | |
size_t | maxlenof_cliff_right () const |
Get maximum length of cliff_right value. More... | |
bool | is_virtual_wall () const |
Get virtual_wall value. More... | |
void | set_virtual_wall (const bool new_virtual_wall) |
Set virtual_wall value. More... | |
size_t | maxlenof_virtual_wall () const |
Get maximum length of virtual_wall value. More... | |
bool | is_overcurrent_side_brush () const |
Get overcurrent_side_brush value. More... | |
void | set_overcurrent_side_brush (const bool new_overcurrent_side_brush) |
Set overcurrent_side_brush value. More... | |
size_t | maxlenof_overcurrent_side_brush () const |
Get maximum length of overcurrent_side_brush value. More... | |
bool | is_overcurrent_main_brush () const |
Get overcurrent_main_brush value. More... | |
void | set_overcurrent_main_brush (const bool new_overcurrent_main_brush) |
Set overcurrent_main_brush value. More... | |
size_t | maxlenof_overcurrent_main_brush () const |
Get maximum length of overcurrent_main_brush value. More... | |
bool | is_overcurrent_left_wheel () const |
Get overcurrent_left_wheel value. More... | |
void | set_overcurrent_left_wheel (const bool new_overcurrent_left_wheel) |
Set overcurrent_left_wheel value. More... | |
size_t | maxlenof_overcurrent_left_wheel () const |
Get maximum length of overcurrent_left_wheel value. More... | |
bool | is_overcurrent_right_wheel () const |
Get overcurrent_right_wheel value. More... | |
void | set_overcurrent_right_wheel (const bool new_overcurrent_right_wheel) |
Set overcurrent_right_wheel value. More... | |
size_t | maxlenof_overcurrent_right_wheel () const |
Get maximum length of overcurrent_right_wheel value. More... | |
bool | is_dirt_detect () const |
Get dirt_detect value. More... | |
void | set_dirt_detect (const bool new_dirt_detect) |
Set dirt_detect value. More... | |
size_t | maxlenof_dirt_detect () const |
Get maximum length of dirt_detect value. More... | |
InfraredCharacter | ir_opcode_omni () const |
Get ir_opcode_omni value. More... | |
void | set_ir_opcode_omni (const InfraredCharacter new_ir_opcode_omni) |
Set ir_opcode_omni value. More... | |
size_t | maxlenof_ir_opcode_omni () const |
Get maximum length of ir_opcode_omni value. More... | |
bool | is_button_clean () const |
Get button_clean value. More... | |
void | set_button_clean (const bool new_button_clean) |
Set button_clean value. More... | |
size_t | maxlenof_button_clean () const |
Get maximum length of button_clean value. More... | |
bool | is_button_spot () const |
Get button_spot value. More... | |
void | set_button_spot (const bool new_button_spot) |
Set button_spot value. More... | |
size_t | maxlenof_button_spot () const |
Get maximum length of button_spot value. More... | |
bool | is_button_dock () const |
Get button_dock value. More... | |
void | set_button_dock (const bool new_button_dock) |
Set button_dock value. More... | |
size_t | maxlenof_button_dock () const |
Get maximum length of button_dock value. More... | |
bool | is_button_minute () const |
Get button_minute value. More... | |
void | set_button_minute (const bool new_button_minute) |
Set button_minute value. More... | |
size_t | maxlenof_button_minute () const |
Get maximum length of button_minute value. More... | |
bool | is_button_hour () const |
Get button_hour value. More... | |
void | set_button_hour (const bool new_button_hour) |
Set button_hour value. More... | |
size_t | maxlenof_button_hour () const |
Get maximum length of button_hour value. More... | |
bool | is_button_day () const |
Get button_day value. More... | |
void | set_button_day (const bool new_button_day) |
Set button_day value. More... | |
size_t | maxlenof_button_day () const |
Get maximum length of button_day value. More... | |
bool | is_button_schedule () const |
Get button_schedule value. More... | |
void | set_button_schedule (const bool new_button_schedule) |
Set button_schedule value. More... | |
size_t | maxlenof_button_schedule () const |
Get maximum length of button_schedule value. More... | |
bool | is_button_clock () const |
Get button_clock value. More... | |
void | set_button_clock (const bool new_button_clock) |
Set button_clock value. More... | |
size_t | maxlenof_button_clock () const |
Get maximum length of button_clock value. More... | |
int16_t | distance () const |
Get distance value. More... | |
void | set_distance (const int16_t new_distance) |
Set distance value. More... | |
size_t | maxlenof_distance () const |
Get maximum length of distance value. More... | |
int16_t | angle () const |
Get angle value. More... | |
void | set_angle (const int16_t new_angle) |
Set angle value. More... | |
size_t | maxlenof_angle () const |
Get maximum length of angle value. More... | |
ChargingState | charging_state () const |
Get charging_state value. More... | |
void | set_charging_state (const ChargingState new_charging_state) |
Set charging_state value. More... | |
size_t | maxlenof_charging_state () const |
Get maximum length of charging_state value. More... | |
uint16_t | voltage () const |
Get voltage value. More... | |
void | set_voltage (const uint16_t new_voltage) |
Set voltage value. More... | |
size_t | maxlenof_voltage () const |
Get maximum length of voltage value. More... | |
int16_t | current () const |
Get current value. More... | |
void | set_current (const int16_t new_current) |
Set current value. More... | |
size_t | maxlenof_current () const |
Get maximum length of current value. More... | |
int8_t | temperature () const |
Get temperature value. More... | |
void | set_temperature (const int8_t new_temperature) |
Set temperature value. More... | |
size_t | maxlenof_temperature () const |
Get maximum length of temperature value. More... | |
uint16_t | battery_charge () const |
Get battery_charge value. More... | |
void | set_battery_charge (const uint16_t new_battery_charge) |
Set battery_charge value. More... | |
size_t | maxlenof_battery_charge () const |
Get maximum length of battery_charge value. More... | |
uint16_t | battery_capacity () const |
Get battery_capacity value. More... | |
void | set_battery_capacity (const uint16_t new_battery_capacity) |
Set battery_capacity value. More... | |
size_t | maxlenof_battery_capacity () const |
Get maximum length of battery_capacity value. More... | |
uint16_t | wall_signal () const |
Get wall_signal value. More... | |
void | set_wall_signal (const uint16_t new_wall_signal) |
Set wall_signal value. More... | |
size_t | maxlenof_wall_signal () const |
Get maximum length of wall_signal value. More... | |
uint16_t | cliff_left_signal () const |
Get cliff_left_signal value. More... | |
void | set_cliff_left_signal (const uint16_t new_cliff_left_signal) |
Set cliff_left_signal value. More... | |
size_t | maxlenof_cliff_left_signal () const |
Get maximum length of cliff_left_signal value. More... | |
uint16_t | cliff_front_left_signal () const |
Get cliff_front_left_signal value. More... | |
void | set_cliff_front_left_signal (const uint16_t new_cliff_front_left_signal) |
Set cliff_front_left_signal value. More... | |
size_t | maxlenof_cliff_front_left_signal () const |
Get maximum length of cliff_front_left_signal value. More... | |
uint16_t | cliff_front_right_signal () const |
Get cliff_front_right_signal value. More... | |
void | set_cliff_front_right_signal (const uint16_t new_cliff_front_right_signal) |
Set cliff_front_right_signal value. More... | |
size_t | maxlenof_cliff_front_right_signal () const |
Get maximum length of cliff_front_right_signal value. More... | |
uint16_t | cliff_right_signal () const |
Get cliff_right_signal value. More... | |
void | set_cliff_right_signal (const uint16_t new_cliff_right_signal) |
Set cliff_right_signal value. More... | |
size_t | maxlenof_cliff_right_signal () const |
Get maximum length of cliff_right_signal value. More... | |
bool | is_home_base_charger_available () const |
Get home_base_charger_available value. More... | |
void | set_home_base_charger_available (const bool new_home_base_charger_available) |
Set home_base_charger_available value. More... | |
size_t | maxlenof_home_base_charger_available () const |
Get maximum length of home_base_charger_available value. More... | |
bool | is_internal_charger_available () const |
Get internal_charger_available value. More... | |
void | set_internal_charger_available (const bool new_internal_charger_available) |
Set internal_charger_available value. More... | |
size_t | maxlenof_internal_charger_available () const |
Get maximum length of internal_charger_available value. More... | |
uint8_t | song_number () const |
Get song_number value. More... | |
void | set_song_number (const uint8_t new_song_number) |
Set song_number value. More... | |
size_t | maxlenof_song_number () const |
Get maximum length of song_number value. More... | |
bool | is_song_playing () const |
Get song_playing value. More... | |
void | set_song_playing (const bool new_song_playing) |
Set song_playing value. More... | |
size_t | maxlenof_song_playing () const |
Get maximum length of song_playing value. More... | |
int16_t | velocity () const |
Get velocity value. More... | |
void | set_velocity (const int16_t new_velocity) |
Set velocity value. More... | |
size_t | maxlenof_velocity () const |
Get maximum length of velocity value. More... | |
int16_t | radius () const |
Get radius value. More... | |
void | set_radius (const int16_t new_radius) |
Set radius value. More... | |
size_t | maxlenof_radius () const |
Get maximum length of radius value. More... | |
int16_t | velocity_right () const |
Get velocity_right value. More... | |
void | set_velocity_right (const int16_t new_velocity_right) |
Set velocity_right value. More... | |
size_t | maxlenof_velocity_right () const |
Get maximum length of velocity_right value. More... | |
int16_t | velocity_left () const |
Get velocity_left value. More... | |
void | set_velocity_left (const int16_t new_velocity_left) |
Set velocity_left value. More... | |
size_t | maxlenof_velocity_left () const |
Get maximum length of velocity_left value. More... | |
uint16_t | encoder_counts_left () const |
Get encoder_counts_left value. More... | |
void | set_encoder_counts_left (const uint16_t new_encoder_counts_left) |
Set encoder_counts_left value. More... | |
size_t | maxlenof_encoder_counts_left () const |
Get maximum length of encoder_counts_left value. More... | |
uint16_t | encoder_counts_right () const |
Get encoder_counts_right value. More... | |
void | set_encoder_counts_right (const uint16_t new_encoder_counts_right) |
Set encoder_counts_right value. More... | |
size_t | maxlenof_encoder_counts_right () const |
Get maximum length of encoder_counts_right value. More... | |
bool | is_bumper_left () const |
Get bumper_left value. More... | |
void | set_bumper_left (const bool new_bumper_left) |
Set bumper_left value. More... | |
size_t | maxlenof_bumper_left () const |
Get maximum length of bumper_left value. More... | |
bool | is_bumper_front_left () const |
Get bumper_front_left value. More... | |
void | set_bumper_front_left (const bool new_bumper_front_left) |
Set bumper_front_left value. More... | |
size_t | maxlenof_bumper_front_left () const |
Get maximum length of bumper_front_left value. More... | |
bool | is_bumper_center_left () const |
Get bumper_center_left value. More... | |
void | set_bumper_center_left (const bool new_bumper_center_left) |
Set bumper_center_left value. More... | |
size_t | maxlenof_bumper_center_left () const |
Get maximum length of bumper_center_left value. More... | |
bool | is_bumper_center_right () const |
Get bumper_center_right value. More... | |
void | set_bumper_center_right (const bool new_bumper_center_right) |
Set bumper_center_right value. More... | |
size_t | maxlenof_bumper_center_right () const |
Get maximum length of bumper_center_right value. More... | |
bool | is_bumper_front_right () const |
Get bumper_front_right value. More... | |
void | set_bumper_front_right (const bool new_bumper_front_right) |
Set bumper_front_right value. More... | |
size_t | maxlenof_bumper_front_right () const |
Get maximum length of bumper_front_right value. More... | |
bool | is_bumper_right () const |
Get bumper_right value. More... | |
void | set_bumper_right (const bool new_bumper_right) |
Set bumper_right value. More... | |
size_t | maxlenof_bumper_right () const |
Get maximum length of bumper_right value. More... | |
uint16_t | light_bump_left () const |
Get light_bump_left value. More... | |
void | set_light_bump_left (const uint16_t new_light_bump_left) |
Set light_bump_left value. More... | |
size_t | maxlenof_light_bump_left () const |
Get maximum length of light_bump_left value. More... | |
uint16_t | light_bump_front_left () const |
Get light_bump_front_left value. More... | |
void | set_light_bump_front_left (const uint16_t new_light_bump_front_left) |
Set light_bump_front_left value. More... | |
size_t | maxlenof_light_bump_front_left () const |
Get maximum length of light_bump_front_left value. More... | |
uint16_t | light_bump_center_left () const |
Get light_bump_center_left value. More... | |
void | set_light_bump_center_left (const uint16_t new_light_bump_center_left) |
Set light_bump_center_left value. More... | |
size_t | maxlenof_light_bump_center_left () const |
Get maximum length of light_bump_center_left value. More... | |
uint16_t | light_bump_center_right () const |
Get light_bump_center_right value. More... | |
void | set_light_bump_center_right (const uint16_t new_light_bump_center_right) |
Set light_bump_center_right value. More... | |
size_t | maxlenof_light_bump_center_right () const |
Get maximum length of light_bump_center_right value. More... | |
uint16_t | light_bump_front_right () const |
Get light_bump_front_right value. More... | |
void | set_light_bump_front_right (const uint16_t new_light_bump_front_right) |
Set light_bump_front_right value. More... | |
size_t | maxlenof_light_bump_front_right () const |
Get maximum length of light_bump_front_right value. More... | |
uint16_t | light_bump_right () const |
Get light_bump_right value. More... | |
void | set_light_bump_right (const uint16_t new_light_bump_right) |
Set light_bump_right value. More... | |
size_t | maxlenof_light_bump_right () const |
Get maximum length of light_bump_right value. More... | |
InfraredCharacter | ir_opcode_left () const |
Get ir_opcode_left value. More... | |
void | set_ir_opcode_left (const InfraredCharacter new_ir_opcode_left) |
Set ir_opcode_left value. More... | |
size_t | maxlenof_ir_opcode_left () const |
Get maximum length of ir_opcode_left value. More... | |
InfraredCharacter | ir_opcode_right () const |
Get ir_opcode_right value. More... | |
void | set_ir_opcode_right (const InfraredCharacter new_ir_opcode_right) |
Set ir_opcode_right value. More... | |
size_t | maxlenof_ir_opcode_right () const |
Get maximum length of ir_opcode_right value. More... | |
int16_t | left_motor_current () const |
Get left_motor_current value. More... | |
void | set_left_motor_current (const int16_t new_left_motor_current) |
Set left_motor_current value. More... | |
size_t | maxlenof_left_motor_current () const |
Get maximum length of left_motor_current value. More... | |
int16_t | right_motor_current () const |
Get right_motor_current value. More... | |
void | set_right_motor_current (const int16_t new_right_motor_current) |
Set right_motor_current value. More... | |
size_t | maxlenof_right_motor_current () const |
Get maximum length of right_motor_current value. More... | |
int16_t | main_brush_current () const |
Get main_brush_current value. More... | |
void | set_main_brush_current (const int16_t new_main_brush_current) |
Set main_brush_current value. More... | |
size_t | maxlenof_main_brush_current () const |
Get maximum length of main_brush_current value. More... | |
int16_t | side_brush_current () const |
Get side_brush_current value. More... | |
void | set_side_brush_current (const int16_t new_side_brush_current) |
Set side_brush_current value. More... | |
size_t | maxlenof_side_brush_current () const |
Get maximum length of side_brush_current value. More... | |
bool | is_caster_stasis () const |
Get caster_stasis value. More... | |
void | set_caster_stasis (const bool new_caster_stasis) |
Set caster_stasis value. More... | |
size_t | maxlenof_caster_stasis () const |
Get maximum length of caster_stasis value. More... | |
virtual Message * | create_message (const char *type) const |
virtual void | copy_values (const Interface *other) |
Copy values from other interface. More... | |
virtual const char * | enum_tostring (const char *enumtype, int val) const |
![]() | |
virtual | ~Interface () |
Destructor. More... | |
bool | oftype (const char *interface_type) const |
Check if interface is of given type. More... | |
const void * | datachunk () const |
Get data chunk. More... | |
unsigned int | datasize () const |
Get data size. More... | |
const char * | type () const |
Get type of interface. More... | |
const char * | id () const |
Get identifier of interface. More... | |
const char * | uid () const |
Get unique identifier of interface. More... | |
unsigned short | serial () const |
Get instance serial of interface. More... | |
unsigned int | mem_serial () const |
Get memory serial of interface. More... | |
bool | operator== (Interface &comp) const |
Check equality of two interfaces. More... | |
const unsigned char * | hash () const |
Get interface hash. More... | |
size_t | hash_size () const |
Get size of interface hash. More... | |
const char * | hash_printable () const |
Get printable interface hash. More... | |
bool | is_writer () const |
Check if this is a writing instance. More... | |
void | set_validity (bool valid) |
Mark this interface invalid. More... | |
bool | is_valid () const |
Check validity of interface. More... | |
const char * | owner () const |
Get owner of interface. More... | |
void | set_from_chunk (void *chunk) |
Set from a raw data chunk. More... | |
void | resize_buffers (unsigned int num_buffers) |
Resize buffer array. More... | |
unsigned int | num_buffers () const |
Get number of buffers. More... | |
void | copy_shared_to_buffer (unsigned int buffer) |
Copy data from private memory to buffer. More... | |
void | copy_private_to_buffer (unsigned int buffer) |
Copy data from private memory to buffer. More... | |
void | read_from_buffer (unsigned int buffer) |
Copy data from buffer to private memory. More... | |
int | compare_buffers (unsigned int buffer) |
Compare buffer to private memory. More... | |
Time | buffer_timestamp (unsigned int buffer) |
Get time of a buffer. More... | |
void | buffer_timestamp (unsigned int buffer, Time *timestamp) |
Get time of a buffer. More... | |
void | read () |
Read from BlackBoard into local copy. More... | |
void | write () |
Write from local copy into BlackBoard memory. More... | |
bool | has_writer () const |
Check if there is a writer for the interface. More... | |
unsigned int | num_readers () const |
Get the number of readers. More... | |
std::string | writer () const |
Get owner name of writing interface instance. More... | |
std::list< std::string > | readers () const |
Get owner names of reading interface instances. More... | |
bool | changed () const |
Check if data has been changed. More... | |
const Time * | timestamp () const |
Get timestamp of last write. More... | |
void | set_auto_timestamping (bool enabled) |
Enable or disable automated timestamping. More... | |
void | set_timestamp (const Time *t=NULL) |
Set timestamp. More... | |
void | set_clock (Clock *clock) |
Set clock to use for timestamping. More... | |
void | mark_data_changed () |
Mark data as changed. More... | |
std::list< const char * > | get_message_types () |
Obtain a list of textual representations of the message types available for this interface. More... | |
unsigned int | msgq_enqueue (Message *message) |
Enqueue message at end of queue. More... | |
unsigned int | msgq_enqueue_copy (Message *message) |
Enqueue copy of message at end of queue. More... | |
void | msgq_remove (Message *message) |
Remove message from queue. More... | |
void | msgq_remove (unsigned int message_id) |
Remove message from queue. More... | |
unsigned int | msgq_size () |
Get size of message queue. More... | |
void | msgq_flush () |
Flush all messages. More... | |
void | msgq_lock () |
Lock message queue. More... | |
bool | msgq_try_lock () |
Try to lock message queue. More... | |
void | msgq_unlock () |
Unlock message queue. More... | |
void | msgq_pop () |
Erase first message from queue. More... | |
Message * | msgq_first () |
Get the first message from the message queue. More... | |
bool | msgq_empty () |
Check if queue is empty. More... | |
void | msgq_append (Message *message) |
Enqueue message. More... | |
template<class MessageType > | |
bool | msgq_first_is () |
Check if first message has desired type. More... | |
template<class MessageType > | |
MessageType * | msgq_first () |
Get first message casted to the desired type. More... | |
template<class MessageType > | |
MessageType * | msgq_first (MessageType *&msg) |
Get first message casted to the desired type. More... | |
template<class MessageType > | |
MessageType * | msgq_first_safe (MessageType *&msg) throw () |
Get first message casted to the desired type without exceptions. More... | |
MessageQueue::MessageIterator | msgq_begin () |
Get start iterator for message queue. More... | |
MessageQueue::MessageIterator | msgq_end () |
Get end iterator for message queue. More... | |
InterfaceFieldIterator | fields () |
Get iterator over all fields of this interface instance. More... | |
InterfaceFieldIterator | fields_end () |
Invalid iterator. More... | |
unsigned int | num_fields () |
Get the number of fields in the interface. More... | |
Additional Inherited Members | |
![]() | |
static void | parse_uid (const char *uid, std::string &type, std::string &id) |
Parse UID to type and ID strings. More... | |
![]() | |
Interface () | |
Constructor. More... | |
void | set_hash (unsigned char *ihash) |
Set hash. More... | |
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 field info list. More... | |
void | add_messageinfo (const char *name) |
Add an entry to the message info list. More... | |
![]() | |
void * | data_ptr |
unsigned int | data_size |
bool | data_changed |
interface_data_ts_t * | data_ts |
Roomba500Interface Fawkes BlackBoard Interface.
Roomba 500 hardware interface.
Definition at line 39 of file Roomba500Interface.h.
State of the brushes.
Enumerator | |
---|---|
BRUSHSTATE_OFF | Brush is off. |
BRUSHSTATE_FORWARD | Brush is turning forward. |
BRUSHSTATE_BACKWARD | Brush is turning backward. |
Definition at line 136 of file Roomba500Interface.h.
Current charging state.
Definition at line 125 of file Roomba500Interface.h.
Infrared character values.
Definition at line 66 of file Roomba500Interface.h.
Open Interface mode.
Enumerator | |
---|---|
MODE_OFF | No connection. |
MODE_PASSIVE | Passive mode, no control, only listening. |
MODE_SAFE | Control acquired, safety measures in place. |
MODE_FULL | Control acquired, safety measures disabled. |
Definition at line 54 of file Roomba500Interface.h.
int16_t fawkes::Roomba500Interface::angle | ( | ) | const |
Get angle value.
Turned angle in radians.
Definition at line 1089 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::battery_capacity | ( | ) | const |
Get battery_capacity value.
Battery capacity in mAh.
Definition at line 1275 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::battery_charge | ( | ) | const |
Get battery_charge value.
Battery charge in mAh.
Definition at line 1244 of file Roomba500Interface.cpp.
Roomba500Interface::ChargingState fawkes::Roomba500Interface::charging_state | ( | ) | const |
Get charging_state value.
Charging state.
Definition at line 1120 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::cliff_front_left_signal | ( | ) | const |
Get cliff_front_left_signal value.
Raw front left cliff signal.
Definition at line 1369 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::cliff_front_right_signal | ( | ) | const |
Get cliff_front_right_signal value.
Raw front right cliff signal.
Definition at line 1402 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::cliff_left_signal | ( | ) | const |
Get cliff_left_signal value.
Raw left cliff signal.
Definition at line 1337 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::cliff_right_signal | ( | ) | const |
Get cliff_right_signal value.
Raw right cliff signal.
Definition at line 1434 of file Roomba500Interface.cpp.
|
virtual |
Copy values from other interface.
other | other interface to copy values from |
Implements fawkes::Interface.
Definition at line 2402 of file Roomba500Interface.cpp.
|
virtual |
Create message based on type name. This will create a new message of the given type. The type must be given without the InterfaceName:: prefix but just the plain class name of the message.
type | message type |
UnknownTypeException | thrown if this interface cannot create a message of the given type. |
Implements fawkes::Interface.
Definition at line 2377 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::current | ( | ) | const |
Get current value.
Current in mA.
Definition at line 1182 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::distance | ( | ) | const |
Get distance value.
Travelled distance in m.
Definition at line 1058 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::encoder_counts_left | ( | ) | const |
Get encoder_counts_left value.
Encoder count left.
Definition at line 1717 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::encoder_counts_right | ( | ) | const |
Get encoder_counts_right value.
Encoder count right.
Definition at line 1748 of file Roomba500Interface.cpp.
|
virtual |
Convert arbitrary enum value to string. Given the string representation of the enum type and the value this method returns the string representation of the specific value, or the string UNKNOWN if the value is not defined. An exception is thrown if the enum type is invalid.
enumtype | enum type as string |
val | value to convert |
UnknownTypeException | thrown if enumtype is not specified for interface. |
Implements fawkes::Interface.
Definition at line 2413 of file Roomba500Interface.cpp.
Roomba500Interface::InfraredCharacter fawkes::Roomba500Interface::ir_opcode_left | ( | ) | const |
Get ir_opcode_left value.
Left receiver opcode.
Definition at line 2160 of file Roomba500Interface.cpp.
Roomba500Interface::InfraredCharacter fawkes::Roomba500Interface::ir_opcode_omni | ( | ) | const |
Get ir_opcode_omni value.
Omni IR receiver code.
Definition at line 779 of file Roomba500Interface.cpp.
Roomba500Interface::InfraredCharacter fawkes::Roomba500Interface::ir_opcode_right | ( | ) | const |
Get ir_opcode_right value.
Right receiver opcode.
Definition at line 2193 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bump_left | ( | ) | const |
Get bump_left value.
Bump on left.
Definition at line 376 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
bool fawkes::Roomba500Interface::is_bump_right | ( | ) | const |
Get bump_right value.
Bump on right.
Definition at line 407 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
bool fawkes::Roomba500Interface::is_bumper_center_left | ( | ) | const |
Get bumper_center_left value.
Center left bumper active?
Definition at line 1841 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_center_right | ( | ) | const |
Get bumper_center_right value.
Center right bumper active?
Definition at line 1872 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_front_left | ( | ) | const |
Get bumper_front_left value.
Front left bumper active?
Definition at line 1810 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_front_right | ( | ) | const |
Get bumper_front_right value.
Front right bumper active?
Definition at line 1903 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_left | ( | ) | const |
Get bumper_left value.
Left bumper active?
Definition at line 1779 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_right | ( | ) | const |
Get bumper_right value.
Right bumper active?
Definition at line 1934 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_clean | ( | ) | const |
Get button_clean value.
Clean button pressed.
Definition at line 810 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_clock | ( | ) | const |
Get button_clock value.
Clock button pressed.
Definition at line 1027 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_day | ( | ) | const |
Get button_day value.
Day button pressed.
Definition at line 965 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_dock | ( | ) | const |
Get button_dock value.
Dock button pressed.
Definition at line 872 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_hour | ( | ) | const |
Get button_hour value.
Hour button pressed.
Definition at line 934 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_minute | ( | ) | const |
Get button_minute value.
Minute button pressed.
Definition at line 903 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_schedule | ( | ) | const |
Get button_schedule value.
Schedule button pressed.
Definition at line 996 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_spot | ( | ) | const |
Get button_spot value.
Spot button pressed.
Definition at line 841 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_caster_stasis | ( | ) | const |
Get caster_stasis value.
Caster wheel stasis.
Definition at line 2349 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_front_left | ( | ) | const |
Get cliff_front_left value.
Cliff detected front left.
Definition at line 500 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_front_right | ( | ) | const |
Get cliff_front_right value.
Cliff detected front right.
Definition at line 531 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_left | ( | ) | const |
Get cliff_left value.
Cliff detected left.
Definition at line 469 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_right | ( | ) | const |
Get cliff_right value.
Cliff detected right.
Definition at line 562 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_dirt_detect | ( | ) | const |
Get dirt_detect value.
Dirt detected?
Definition at line 748 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_home_base_charger_available | ( | ) | const |
Get home_base_charger_available value.
Home base charger available?
Definition at line 1466 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_internal_charger_available | ( | ) | const |
Get internal_charger_available value.
Internal charger available?
Definition at line 1499 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_left_wheel | ( | ) | const |
Get overcurrent_left_wheel value.
Overcurrent on left wheel.
Definition at line 686 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_main_brush | ( | ) | const |
Get overcurrent_main_brush value.
Overcurrent on main brush.
Definition at line 655 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_right_wheel | ( | ) | const |
Get overcurrent_right_wheel value.
Overcurrent on right wheel.
Definition at line 717 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_side_brush | ( | ) | const |
Get overcurrent_side_brush value.
Overcurrent on side brush.
Definition at line 624 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_song_playing | ( | ) | const |
Get song_playing value.
Song playing?
Definition at line 1562 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_virtual_wall | ( | ) | const |
Get virtual_wall value.
Virtual wall detected.
Definition at line 593 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_wall | ( | ) | const |
Get wall value.
Wall sensor.
Definition at line 438 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_wheel_drop_left | ( | ) | const |
Get wheel_drop_left value.
Left wheel drop sensor.
Definition at line 314 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_wheel_drop_right | ( | ) | const |
Get wheel_drop_right value.
Right wheel drop sensor.
Definition at line 345 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::left_motor_current | ( | ) | const |
Get left_motor_current value.
Left motor current in mA.
Definition at line 2225 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::light_bump_center_left | ( | ) | const |
Get light_bump_center_left value.
Raw center left bumper signal.
Definition at line 2030 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
uint16_t fawkes::Roomba500Interface::light_bump_center_right | ( | ) | const |
Get light_bump_center_right value.
Raw center right bumper signal.
Definition at line 2063 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
uint16_t fawkes::Roomba500Interface::light_bump_front_left | ( | ) | const |
Get light_bump_front_left value.
Raw front left bumper signal.
Definition at line 1997 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
uint16_t fawkes::Roomba500Interface::light_bump_front_right | ( | ) | const |
Get light_bump_front_right value.
Raw front right bumper signal.
Definition at line 2096 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
uint16_t fawkes::Roomba500Interface::light_bump_left | ( | ) | const |
Get light_bump_left value.
Raw left bumper signal.
Definition at line 1965 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
uint16_t fawkes::Roomba500Interface::light_bump_right | ( | ) | const |
Get light_bump_right value.
Raw right bumper signal.
Definition at line 2128 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
int16_t fawkes::Roomba500Interface::main_brush_current | ( | ) | const |
Get main_brush_current value.
Main brush current in mA.
Definition at line 2287 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_angle | ( | ) | const |
Get maximum length of angle value.
Definition at line 1099 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_battery_capacity | ( | ) | const |
Get maximum length of battery_capacity value.
Definition at line 1285 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_battery_charge | ( | ) | const |
Get maximum length of battery_charge value.
Definition at line 1254 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bump_left | ( | ) | const |
Get maximum length of bump_left value.
Definition at line 386 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bump_right | ( | ) | const |
Get maximum length of bump_right value.
Definition at line 417 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_center_left | ( | ) | const |
Get maximum length of bumper_center_left value.
Definition at line 1851 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_center_right | ( | ) | const |
Get maximum length of bumper_center_right value.
Definition at line 1882 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_front_left | ( | ) | const |
Get maximum length of bumper_front_left value.
Definition at line 1820 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_front_right | ( | ) | const |
Get maximum length of bumper_front_right value.
Definition at line 1913 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_left | ( | ) | const |
Get maximum length of bumper_left value.
Definition at line 1789 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_right | ( | ) | const |
Get maximum length of bumper_right value.
Definition at line 1944 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_clean | ( | ) | const |
Get maximum length of button_clean value.
Definition at line 820 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_clock | ( | ) | const |
Get maximum length of button_clock value.
Definition at line 1037 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_day | ( | ) | const |
Get maximum length of button_day value.
Definition at line 975 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_dock | ( | ) | const |
Get maximum length of button_dock value.
Definition at line 882 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_hour | ( | ) | const |
Get maximum length of button_hour value.
Definition at line 944 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_minute | ( | ) | const |
Get maximum length of button_minute value.
Definition at line 913 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_schedule | ( | ) | const |
Get maximum length of button_schedule value.
Definition at line 1006 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_spot | ( | ) | const |
Get maximum length of button_spot value.
Definition at line 851 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_caster_stasis | ( | ) | const |
Get maximum length of caster_stasis value.
Definition at line 2359 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_charging_state | ( | ) | const |
Get maximum length of charging_state value.
Definition at line 1130 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_front_left | ( | ) | const |
Get maximum length of cliff_front_left value.
Definition at line 510 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_front_left_signal | ( | ) | const |
Get maximum length of cliff_front_left_signal value.
Definition at line 1379 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_front_right | ( | ) | const |
Get maximum length of cliff_front_right value.
Definition at line 541 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_front_right_signal | ( | ) | const |
Get maximum length of cliff_front_right_signal value.
Definition at line 1412 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_left | ( | ) | const |
Get maximum length of cliff_left value.
Definition at line 479 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_left_signal | ( | ) | const |
Get maximum length of cliff_left_signal value.
Definition at line 1347 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_right | ( | ) | const |
Get maximum length of cliff_right value.
Definition at line 572 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_right_signal | ( | ) | const |
Get maximum length of cliff_right_signal value.
Definition at line 1444 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_current | ( | ) | const |
Get maximum length of current value.
Definition at line 1192 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_dirt_detect | ( | ) | const |
Get maximum length of dirt_detect value.
Definition at line 758 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_distance | ( | ) | const |
Get maximum length of distance value.
Definition at line 1068 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_encoder_counts_left | ( | ) | const |
Get maximum length of encoder_counts_left value.
Definition at line 1727 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_encoder_counts_right | ( | ) | const |
Get maximum length of encoder_counts_right value.
Definition at line 1758 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_home_base_charger_available | ( | ) | const |
Get maximum length of home_base_charger_available value.
Definition at line 1476 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_internal_charger_available | ( | ) | const |
Get maximum length of internal_charger_available value.
Definition at line 1509 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_ir_opcode_left | ( | ) | const |
Get maximum length of ir_opcode_left value.
Definition at line 2170 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_ir_opcode_omni | ( | ) | const |
Get maximum length of ir_opcode_omni value.
Definition at line 789 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_ir_opcode_right | ( | ) | const |
Get maximum length of ir_opcode_right value.
Definition at line 2203 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_left_motor_current | ( | ) | const |
Get maximum length of left_motor_current value.
Definition at line 2235 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_center_left | ( | ) | const |
Get maximum length of light_bump_center_left value.
Definition at line 2040 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_center_right | ( | ) | const |
Get maximum length of light_bump_center_right value.
Definition at line 2073 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_front_left | ( | ) | const |
Get maximum length of light_bump_front_left value.
Definition at line 2007 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_front_right | ( | ) | const |
Get maximum length of light_bump_front_right value.
Definition at line 2106 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_left | ( | ) | const |
Get maximum length of light_bump_left value.
Definition at line 1975 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_right | ( | ) | const |
Get maximum length of light_bump_right value.
Definition at line 2138 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_main_brush_current | ( | ) | const |
Get maximum length of main_brush_current value.
Definition at line 2297 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_mode | ( | ) | const |
Get maximum length of mode value.
Definition at line 293 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_left_wheel | ( | ) | const |
Get maximum length of overcurrent_left_wheel value.
Definition at line 696 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_main_brush | ( | ) | const |
Get maximum length of overcurrent_main_brush value.
Definition at line 665 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_right_wheel | ( | ) | const |
Get maximum length of overcurrent_right_wheel value.
Definition at line 727 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_side_brush | ( | ) | const |
Get maximum length of overcurrent_side_brush value.
Definition at line 634 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_radius | ( | ) | const |
Get maximum length of radius value.
Definition at line 1634 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_right_motor_current | ( | ) | const |
Get maximum length of right_motor_current value.
Definition at line 2266 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_side_brush_current | ( | ) | const |
Get maximum length of side_brush_current value.
Definition at line 2328 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_song_number | ( | ) | const |
Get maximum length of song_number value.
Definition at line 1541 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_song_playing | ( | ) | const |
Get maximum length of song_playing value.
Definition at line 1572 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_temperature | ( | ) | const |
Get maximum length of temperature value.
Definition at line 1223 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_velocity | ( | ) | const |
Get maximum length of velocity value.
Definition at line 1603 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_velocity_left | ( | ) | const |
Get maximum length of velocity_left value.
Definition at line 1696 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_velocity_right | ( | ) | const |
Get maximum length of velocity_right value.
Definition at line 1665 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_virtual_wall | ( | ) | const |
Get maximum length of virtual_wall value.
Definition at line 603 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_voltage | ( | ) | const |
Get maximum length of voltage value.
Definition at line 1161 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wall | ( | ) | const |
Get maximum length of wall value.
Definition at line 448 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wall_signal | ( | ) | const |
Get maximum length of wall_signal value.
Definition at line 1316 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wheel_drop_left | ( | ) | const |
Get maximum length of wheel_drop_left value.
Definition at line 324 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wheel_drop_right | ( | ) | const |
Get maximum length of wheel_drop_right value.
Definition at line 355 of file Roomba500Interface.cpp.
|
virtual |
Check if message is valid and can be enqueued.
message | Message to check |
Implements fawkes::Interface.
Definition at line 3450 of file Roomba500Interface.cpp.
Roomba500Interface::Mode fawkes::Roomba500Interface::mode | ( | ) | const |
Get mode value.
Open Interface mode.
Definition at line 283 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
int16_t fawkes::Roomba500Interface::radius | ( | ) | const |
Get radius value.
Requested radius in mm.
Definition at line 1624 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::right_motor_current | ( | ) | const |
Get right_motor_current value.
Right motor current in mA.
Definition at line 2256 of file Roomba500Interface.cpp.
void fawkes::Roomba500Interface::set_angle | ( | const int16_t | new_angle | ) |
Set angle value.
Turned angle in radians.
new_angle | new angle value |
Definition at line 1109 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_battery_capacity | ( | const uint16_t | new_battery_capacity | ) |
Set battery_capacity value.
Battery capacity in mAh.
new_battery_capacity | new battery_capacity value |
Definition at line 1295 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_battery_charge | ( | const uint16_t | new_battery_charge | ) |
Set battery_charge value.
Battery charge in mAh.
new_battery_charge | new battery_charge value |
Definition at line 1264 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bump_left | ( | const bool | new_bump_left | ) |
Set bump_left value.
Bump on left.
new_bump_left | new bump_left value |
Definition at line 396 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bump_right | ( | const bool | new_bump_right | ) |
Set bump_right value.
Bump on right.
new_bump_right | new bump_right value |
Definition at line 427 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bumper_center_left | ( | const bool | new_bumper_center_left | ) |
Set bumper_center_left value.
Center left bumper active?
new_bumper_center_left | new bumper_center_left value |
Definition at line 1861 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bumper_center_right | ( | const bool | new_bumper_center_right | ) |
Set bumper_center_right value.
Center right bumper active?
new_bumper_center_right | new bumper_center_right value |
Definition at line 1892 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bumper_front_left | ( | const bool | new_bumper_front_left | ) |
Set bumper_front_left value.
Front left bumper active?
new_bumper_front_left | new bumper_front_left value |
Definition at line 1830 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bumper_front_right | ( | const bool | new_bumper_front_right | ) |
Set bumper_front_right value.
Front right bumper active?
new_bumper_front_right | new bumper_front_right value |
Definition at line 1923 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bumper_left | ( | const bool | new_bumper_left | ) |
Set bumper_left value.
Left bumper active?
new_bumper_left | new bumper_left value |
Definition at line 1799 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_bumper_right | ( | const bool | new_bumper_right | ) |
Set bumper_right value.
Right bumper active?
new_bumper_right | new bumper_right value |
Definition at line 1954 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_clean | ( | const bool | new_button_clean | ) |
Set button_clean value.
Clean button pressed.
new_button_clean | new button_clean value |
Definition at line 830 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_clock | ( | const bool | new_button_clock | ) |
Set button_clock value.
Clock button pressed.
new_button_clock | new button_clock value |
Definition at line 1047 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_day | ( | const bool | new_button_day | ) |
Set button_day value.
Day button pressed.
new_button_day | new button_day value |
Definition at line 985 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_dock | ( | const bool | new_button_dock | ) |
Set button_dock value.
Dock button pressed.
new_button_dock | new button_dock value |
Definition at line 892 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_hour | ( | const bool | new_button_hour | ) |
Set button_hour value.
Hour button pressed.
new_button_hour | new button_hour value |
Definition at line 954 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_minute | ( | const bool | new_button_minute | ) |
Set button_minute value.
Minute button pressed.
new_button_minute | new button_minute value |
Definition at line 923 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_schedule | ( | const bool | new_button_schedule | ) |
Set button_schedule value.
Schedule button pressed.
new_button_schedule | new button_schedule value |
Definition at line 1016 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_button_spot | ( | const bool | new_button_spot | ) |
Set button_spot value.
Spot button pressed.
new_button_spot | new button_spot value |
Definition at line 861 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_caster_stasis | ( | const bool | new_caster_stasis | ) |
Set caster_stasis value.
Caster wheel stasis.
new_caster_stasis | new caster_stasis value |
Definition at line 2369 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_charging_state | ( | const ChargingState | new_charging_state | ) |
Set charging_state value.
Charging state.
new_charging_state | new charging_state value |
Definition at line 1140 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_front_left | ( | const bool | new_cliff_front_left | ) |
Set cliff_front_left value.
Cliff detected front left.
new_cliff_front_left | new cliff_front_left value |
Definition at line 520 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_front_left_signal | ( | const uint16_t | new_cliff_front_left_signal | ) |
Set cliff_front_left_signal value.
Raw front left cliff signal.
new_cliff_front_left_signal | new cliff_front_left_signal value |
Definition at line 1390 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_front_right | ( | const bool | new_cliff_front_right | ) |
Set cliff_front_right value.
Cliff detected front right.
new_cliff_front_right | new cliff_front_right value |
Definition at line 551 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_front_right_signal | ( | const uint16_t | new_cliff_front_right_signal | ) |
Set cliff_front_right_signal value.
Raw front right cliff signal.
new_cliff_front_right_signal | new cliff_front_right_signal value |
Definition at line 1423 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_left | ( | const bool | new_cliff_left | ) |
Set cliff_left value.
Cliff detected left.
new_cliff_left | new cliff_left value |
Definition at line 489 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_left_signal | ( | const uint16_t | new_cliff_left_signal | ) |
Set cliff_left_signal value.
Raw left cliff signal.
new_cliff_left_signal | new cliff_left_signal value |
Definition at line 1357 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_right | ( | const bool | new_cliff_right | ) |
Set cliff_right value.
Cliff detected right.
new_cliff_right | new cliff_right value |
Definition at line 582 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_cliff_right_signal | ( | const uint16_t | new_cliff_right_signal | ) |
Set cliff_right_signal value.
Raw right cliff signal.
new_cliff_right_signal | new cliff_right_signal value |
Definition at line 1454 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_current | ( | const int16_t | new_current | ) |
Set current value.
Current in mA.
new_current | new current value |
Definition at line 1202 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_dirt_detect | ( | const bool | new_dirt_detect | ) |
Set dirt_detect value.
Dirt detected?
new_dirt_detect | new dirt_detect value |
Definition at line 768 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_distance | ( | const int16_t | new_distance | ) |
Set distance value.
Travelled distance in m.
new_distance | new distance value |
Definition at line 1078 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_encoder_counts_left | ( | const uint16_t | new_encoder_counts_left | ) |
Set encoder_counts_left value.
Encoder count left.
new_encoder_counts_left | new encoder_counts_left value |
Definition at line 1737 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_encoder_counts_right | ( | const uint16_t | new_encoder_counts_right | ) |
Set encoder_counts_right value.
Encoder count right.
new_encoder_counts_right | new encoder_counts_right value |
Definition at line 1768 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_home_base_charger_available | ( | const bool | new_home_base_charger_available | ) |
Set home_base_charger_available value.
Home base charger available?
new_home_base_charger_available | new home_base_charger_available value |
Definition at line 1487 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_internal_charger_available | ( | const bool | new_internal_charger_available | ) |
Set internal_charger_available value.
Internal charger available?
new_internal_charger_available | new internal_charger_available value |
Definition at line 1520 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_ir_opcode_left | ( | const InfraredCharacter | new_ir_opcode_left | ) |
Set ir_opcode_left value.
Left receiver opcode.
new_ir_opcode_left | new ir_opcode_left value |
Definition at line 2181 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_ir_opcode_omni | ( | const InfraredCharacter | new_ir_opcode_omni | ) |
Set ir_opcode_omni value.
Omni IR receiver code.
new_ir_opcode_omni | new ir_opcode_omni value |
Definition at line 799 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_ir_opcode_right | ( | const InfraredCharacter | new_ir_opcode_right | ) |
Set ir_opcode_right value.
Right receiver opcode.
new_ir_opcode_right | new ir_opcode_right value |
Definition at line 2214 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_left_motor_current | ( | const int16_t | new_left_motor_current | ) |
Set left_motor_current value.
Left motor current in mA.
new_left_motor_current | new left_motor_current value |
Definition at line 2245 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_light_bump_center_left | ( | const uint16_t | new_light_bump_center_left | ) |
Set light_bump_center_left value.
Raw center left bumper signal.
new_light_bump_center_left | new light_bump_center_left value |
Definition at line 2051 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_light_bump_center_right | ( | const uint16_t | new_light_bump_center_right | ) |
Set light_bump_center_right value.
Raw center right bumper signal.
new_light_bump_center_right | new light_bump_center_right value |
Definition at line 2084 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_light_bump_front_left | ( | const uint16_t | new_light_bump_front_left | ) |
Set light_bump_front_left value.
Raw front left bumper signal.
new_light_bump_front_left | new light_bump_front_left value |
Definition at line 2018 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_light_bump_front_right | ( | const uint16_t | new_light_bump_front_right | ) |
Set light_bump_front_right value.
Raw front right bumper signal.
new_light_bump_front_right | new light_bump_front_right value |
Definition at line 2117 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_light_bump_left | ( | const uint16_t | new_light_bump_left | ) |
Set light_bump_left value.
Raw left bumper signal.
new_light_bump_left | new light_bump_left value |
Definition at line 1985 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_light_bump_right | ( | const uint16_t | new_light_bump_right | ) |
Set light_bump_right value.
Raw right bumper signal.
new_light_bump_right | new light_bump_right value |
Definition at line 2148 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_main_brush_current | ( | const int16_t | new_main_brush_current | ) |
Set main_brush_current value.
Main brush current in mA.
new_main_brush_current | new main_brush_current value |
Definition at line 2307 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_mode | ( | const Mode | new_mode | ) |
Set mode value.
Open Interface mode.
new_mode | new mode value |
Definition at line 303 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_overcurrent_left_wheel | ( | const bool | new_overcurrent_left_wheel | ) |
Set overcurrent_left_wheel value.
Overcurrent on left wheel.
new_overcurrent_left_wheel | new overcurrent_left_wheel value |
Definition at line 706 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_overcurrent_main_brush | ( | const bool | new_overcurrent_main_brush | ) |
Set overcurrent_main_brush value.
Overcurrent on main brush.
new_overcurrent_main_brush | new overcurrent_main_brush value |
Definition at line 675 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_overcurrent_right_wheel | ( | const bool | new_overcurrent_right_wheel | ) |
Set overcurrent_right_wheel value.
Overcurrent on right wheel.
new_overcurrent_right_wheel | new overcurrent_right_wheel value |
Definition at line 737 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_overcurrent_side_brush | ( | const bool | new_overcurrent_side_brush | ) |
Set overcurrent_side_brush value.
Overcurrent on side brush.
new_overcurrent_side_brush | new overcurrent_side_brush value |
Definition at line 644 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_radius | ( | const int16_t | new_radius | ) |
Set radius value.
Requested radius in mm.
new_radius | new radius value |
Definition at line 1644 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_right_motor_current | ( | const int16_t | new_right_motor_current | ) |
Set right_motor_current value.
Right motor current in mA.
new_right_motor_current | new right_motor_current value |
Definition at line 2276 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_side_brush_current | ( | const int16_t | new_side_brush_current | ) |
Set side_brush_current value.
Side brush current in mA.
new_side_brush_current | new side_brush_current value |
Definition at line 2338 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_song_number | ( | const uint8_t | new_song_number | ) |
Set song_number value.
Song number.
new_song_number | new song_number value |
Definition at line 1551 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_song_playing | ( | const bool | new_song_playing | ) |
Set song_playing value.
Song playing?
new_song_playing | new song_playing value |
Definition at line 1582 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_temperature | ( | const int8_t | new_temperature | ) |
Set temperature value.
Temperature in degree Celsius.
new_temperature | new temperature value |
Definition at line 1233 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_velocity | ( | const int16_t | new_velocity | ) |
Set velocity value.
Requested velocity in mm/s.
new_velocity | new velocity value |
Definition at line 1613 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_velocity_left | ( | const int16_t | new_velocity_left | ) |
Set velocity_left value.
Requested right velocity in mm/s.
new_velocity_left | new velocity_left value |
Definition at line 1706 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_velocity_right | ( | const int16_t | new_velocity_right | ) |
Set velocity_right value.
Requested left velocity in mm/s.
new_velocity_right | new velocity_right value |
Definition at line 1675 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_virtual_wall | ( | const bool | new_virtual_wall | ) |
Set virtual_wall value.
Virtual wall detected.
new_virtual_wall | new virtual_wall value |
Definition at line 613 of file Roomba500Interface.cpp.
void fawkes::Roomba500Interface::set_voltage | ( | const uint16_t | new_voltage | ) |
Set voltage value.
Voltage in mV.
new_voltage | new voltage value |
Definition at line 1171 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_wall | ( | const bool | new_wall | ) |
Set wall value.
Wall sensor.
new_wall | new wall value |
Definition at line 458 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_wall_signal | ( | const uint16_t | new_wall_signal | ) |
Set wall_signal value.
Raw wall signal
new_wall_signal | new wall_signal value |
Definition at line 1326 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_wheel_drop_left | ( | const bool | new_wheel_drop_left | ) |
Set wheel_drop_left value.
Left wheel drop sensor.
new_wheel_drop_left | new wheel_drop_left value |
Definition at line 334 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
void fawkes::Roomba500Interface::set_wheel_drop_right | ( | const bool | new_wheel_drop_right | ) |
Set wheel_drop_right value.
Right wheel drop sensor.
new_wheel_drop_right | new wheel_drop_right value |
Definition at line 365 of file Roomba500Interface.cpp.
Referenced by Roomba500Thread::write_blackboard().
int16_t fawkes::Roomba500Interface::side_brush_current | ( | ) | const |
Get side_brush_current value.
Side brush current in mA.
Definition at line 2318 of file Roomba500Interface.cpp.
uint8_t fawkes::Roomba500Interface::song_number | ( | ) | const |
Get song_number value.
Song number.
Definition at line 1531 of file Roomba500Interface.cpp.
int8_t fawkes::Roomba500Interface::temperature | ( | ) | const |
Get temperature value.
Temperature in degree Celsius.
Definition at line 1213 of file Roomba500Interface.cpp.
const char * fawkes::Roomba500Interface::tostring_BrushState | ( | BrushState | value | ) | const |
Convert BrushState constant to string.
value | value to convert to string |
Definition at line 268 of file Roomba500Interface.cpp.
const char * fawkes::Roomba500Interface::tostring_ChargingState | ( | ChargingState | value | ) | const |
Convert ChargingState constant to string.
value | value to convert to string |
Definition at line 251 of file Roomba500Interface.cpp.
const char * fawkes::Roomba500Interface::tostring_InfraredCharacter | ( | InfraredCharacter | value | ) | const |
Convert InfraredCharacter constant to string.
value | value to convert to string |
Definition at line 207 of file Roomba500Interface.cpp.
const char * fawkes::Roomba500Interface::tostring_Mode | ( | Mode | value | ) | const |
Convert Mode constant to string.
value | value to convert to string |
Definition at line 192 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::velocity | ( | ) | const |
Get velocity value.
Requested velocity in mm/s.
Definition at line 1593 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::velocity_left | ( | ) | const |
Get velocity_left value.
Requested right velocity in mm/s.
Definition at line 1686 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::velocity_right | ( | ) | const |
Get velocity_right value.
Requested left velocity in mm/s.
Definition at line 1655 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::voltage | ( | ) | const |
Get voltage value.
Voltage in mV.
Definition at line 1151 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::wall_signal | ( | ) | const |
Get wall_signal value.
Raw wall signal
Definition at line 1306 of file Roomba500Interface.cpp.