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 37 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 133 of file Roomba500Interface.h.
Current charging state.
Definition at line 122 of file Roomba500Interface.h.
Infrared character values.
Definition at line 63 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 51 of file Roomba500Interface.h.
int16_t fawkes::Roomba500Interface::angle | ( | ) | const |
Get angle value.
Turned angle in radians.
Definition at line 1087 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::battery_capacity | ( | ) | const |
Get battery_capacity value.
Battery capacity in mAh.
Definition at line 1273 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::battery_charge | ( | ) | const |
Get battery_charge value.
Battery charge in mAh.
Definition at line 1242 of file Roomba500Interface.cpp.
Roomba500Interface::ChargingState fawkes::Roomba500Interface::charging_state | ( | ) | const |
Get charging_state value.
Charging state.
Definition at line 1118 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 1367 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 1400 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::cliff_left_signal | ( | ) | const |
Get cliff_left_signal value.
Raw left cliff signal.
Definition at line 1335 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::cliff_right_signal | ( | ) | const |
Get cliff_right_signal value.
Raw right cliff signal.
Definition at line 1432 of file Roomba500Interface.cpp.
|
virtual |
Copy values from other interface.
other | other interface to copy values from |
Implements fawkes::Interface.
Definition at line 2400 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 2375 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::current | ( | ) | const |
Get current value.
Current in mA.
Definition at line 1180 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::distance | ( | ) | const |
Get distance value.
Travelled distance in m.
Definition at line 1056 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::encoder_counts_left | ( | ) | const |
Get encoder_counts_left value.
Encoder count left.
Definition at line 1715 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::encoder_counts_right | ( | ) | const |
Get encoder_counts_right value.
Encoder count right.
Definition at line 1746 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 2411 of file Roomba500Interface.cpp.
Roomba500Interface::InfraredCharacter fawkes::Roomba500Interface::ir_opcode_left | ( | ) | const |
Get ir_opcode_left value.
Left receiver opcode.
Definition at line 2158 of file Roomba500Interface.cpp.
Roomba500Interface::InfraredCharacter fawkes::Roomba500Interface::ir_opcode_omni | ( | ) | const |
Get ir_opcode_omni value.
Omni IR receiver code.
Definition at line 777 of file Roomba500Interface.cpp.
Roomba500Interface::InfraredCharacter fawkes::Roomba500Interface::ir_opcode_right | ( | ) | const |
Get ir_opcode_right value.
Right receiver opcode.
Definition at line 2191 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bump_left | ( | ) | const |
Get bump_left value.
Bump on left.
Definition at line 374 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 405 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 1839 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_center_right | ( | ) | const |
Get bumper_center_right value.
Center right bumper active?
Definition at line 1870 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_front_left | ( | ) | const |
Get bumper_front_left value.
Front left bumper active?
Definition at line 1808 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_front_right | ( | ) | const |
Get bumper_front_right value.
Front right bumper active?
Definition at line 1901 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_left | ( | ) | const |
Get bumper_left value.
Left bumper active?
Definition at line 1777 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_bumper_right | ( | ) | const |
Get bumper_right value.
Right bumper active?
Definition at line 1932 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_clean | ( | ) | const |
Get button_clean value.
Clean button pressed.
Definition at line 808 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_clock | ( | ) | const |
Get button_clock value.
Clock button pressed.
Definition at line 1025 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_day | ( | ) | const |
Get button_day value.
Day button pressed.
Definition at line 963 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_dock | ( | ) | const |
Get button_dock value.
Dock button pressed.
Definition at line 870 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_hour | ( | ) | const |
Get button_hour value.
Hour button pressed.
Definition at line 932 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_minute | ( | ) | const |
Get button_minute value.
Minute button pressed.
Definition at line 901 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_schedule | ( | ) | const |
Get button_schedule value.
Schedule button pressed.
Definition at line 994 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_button_spot | ( | ) | const |
Get button_spot value.
Spot button pressed.
Definition at line 839 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_caster_stasis | ( | ) | const |
Get caster_stasis value.
Caster wheel stasis.
Definition at line 2347 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_front_left | ( | ) | const |
Get cliff_front_left value.
Cliff detected front left.
Definition at line 498 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_front_right | ( | ) | const |
Get cliff_front_right value.
Cliff detected front right.
Definition at line 529 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_left | ( | ) | const |
Get cliff_left value.
Cliff detected left.
Definition at line 467 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_cliff_right | ( | ) | const |
Get cliff_right value.
Cliff detected right.
Definition at line 560 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_dirt_detect | ( | ) | const |
Get dirt_detect value.
Dirt detected?
Definition at line 746 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 1464 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_internal_charger_available | ( | ) | const |
Get internal_charger_available value.
Internal charger available?
Definition at line 1497 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_left_wheel | ( | ) | const |
Get overcurrent_left_wheel value.
Overcurrent on left wheel.
Definition at line 684 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_main_brush | ( | ) | const |
Get overcurrent_main_brush value.
Overcurrent on main brush.
Definition at line 653 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_right_wheel | ( | ) | const |
Get overcurrent_right_wheel value.
Overcurrent on right wheel.
Definition at line 715 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_overcurrent_side_brush | ( | ) | const |
Get overcurrent_side_brush value.
Overcurrent on side brush.
Definition at line 622 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_song_playing | ( | ) | const |
Get song_playing value.
Song playing?
Definition at line 1560 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_virtual_wall | ( | ) | const |
Get virtual_wall value.
Virtual wall detected.
Definition at line 591 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_wall | ( | ) | const |
Get wall value.
Wall sensor.
Definition at line 436 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_wheel_drop_left | ( | ) | const |
Get wheel_drop_left value.
Left wheel drop sensor.
Definition at line 312 of file Roomba500Interface.cpp.
bool fawkes::Roomba500Interface::is_wheel_drop_right | ( | ) | const |
Get wheel_drop_right value.
Right wheel drop sensor.
Definition at line 343 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 2223 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 2028 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 2061 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 1995 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 2094 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 1963 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 2126 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 2285 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_angle | ( | ) | const |
Get maximum length of angle value.
Definition at line 1097 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_battery_capacity | ( | ) | const |
Get maximum length of battery_capacity value.
Definition at line 1283 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_battery_charge | ( | ) | const |
Get maximum length of battery_charge value.
Definition at line 1252 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bump_left | ( | ) | const |
Get maximum length of bump_left value.
Definition at line 384 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bump_right | ( | ) | const |
Get maximum length of bump_right value.
Definition at line 415 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_center_left | ( | ) | const |
Get maximum length of bumper_center_left value.
Definition at line 1849 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_center_right | ( | ) | const |
Get maximum length of bumper_center_right value.
Definition at line 1880 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_front_left | ( | ) | const |
Get maximum length of bumper_front_left value.
Definition at line 1818 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_front_right | ( | ) | const |
Get maximum length of bumper_front_right value.
Definition at line 1911 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_left | ( | ) | const |
Get maximum length of bumper_left value.
Definition at line 1787 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_bumper_right | ( | ) | const |
Get maximum length of bumper_right value.
Definition at line 1942 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_clean | ( | ) | const |
Get maximum length of button_clean value.
Definition at line 818 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_clock | ( | ) | const |
Get maximum length of button_clock value.
Definition at line 1035 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_day | ( | ) | const |
Get maximum length of button_day value.
Definition at line 973 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_dock | ( | ) | const |
Get maximum length of button_dock value.
Definition at line 880 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_hour | ( | ) | const |
Get maximum length of button_hour value.
Definition at line 942 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_minute | ( | ) | const |
Get maximum length of button_minute value.
Definition at line 911 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_schedule | ( | ) | const |
Get maximum length of button_schedule value.
Definition at line 1004 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_button_spot | ( | ) | const |
Get maximum length of button_spot value.
Definition at line 849 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_caster_stasis | ( | ) | const |
Get maximum length of caster_stasis value.
Definition at line 2357 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_charging_state | ( | ) | const |
Get maximum length of charging_state value.
Definition at line 1128 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_front_left | ( | ) | const |
Get maximum length of cliff_front_left value.
Definition at line 508 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 1377 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_front_right | ( | ) | const |
Get maximum length of cliff_front_right value.
Definition at line 539 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 1410 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_left | ( | ) | const |
Get maximum length of cliff_left value.
Definition at line 477 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_left_signal | ( | ) | const |
Get maximum length of cliff_left_signal value.
Definition at line 1345 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_right | ( | ) | const |
Get maximum length of cliff_right value.
Definition at line 570 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_cliff_right_signal | ( | ) | const |
Get maximum length of cliff_right_signal value.
Definition at line 1442 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_current | ( | ) | const |
Get maximum length of current value.
Definition at line 1190 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_dirt_detect | ( | ) | const |
Get maximum length of dirt_detect value.
Definition at line 756 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_distance | ( | ) | const |
Get maximum length of distance value.
Definition at line 1066 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_encoder_counts_left | ( | ) | const |
Get maximum length of encoder_counts_left value.
Definition at line 1725 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_encoder_counts_right | ( | ) | const |
Get maximum length of encoder_counts_right value.
Definition at line 1756 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 1474 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_internal_charger_available | ( | ) | const |
Get maximum length of internal_charger_available value.
Definition at line 1507 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_ir_opcode_left | ( | ) | const |
Get maximum length of ir_opcode_left value.
Definition at line 2168 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_ir_opcode_omni | ( | ) | const |
Get maximum length of ir_opcode_omni value.
Definition at line 787 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_ir_opcode_right | ( | ) | const |
Get maximum length of ir_opcode_right value.
Definition at line 2201 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_left_motor_current | ( | ) | const |
Get maximum length of left_motor_current value.
Definition at line 2233 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 2038 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 2071 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 2005 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 2104 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_left | ( | ) | const |
Get maximum length of light_bump_left value.
Definition at line 1973 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_light_bump_right | ( | ) | const |
Get maximum length of light_bump_right value.
Definition at line 2136 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_main_brush_current | ( | ) | const |
Get maximum length of main_brush_current value.
Definition at line 2295 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_mode | ( | ) | const |
Get maximum length of mode value.
Definition at line 291 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_left_wheel | ( | ) | const |
Get maximum length of overcurrent_left_wheel value.
Definition at line 694 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_main_brush | ( | ) | const |
Get maximum length of overcurrent_main_brush value.
Definition at line 663 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_right_wheel | ( | ) | const |
Get maximum length of overcurrent_right_wheel value.
Definition at line 725 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_overcurrent_side_brush | ( | ) | const |
Get maximum length of overcurrent_side_brush value.
Definition at line 632 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_radius | ( | ) | const |
Get maximum length of radius value.
Definition at line 1632 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_right_motor_current | ( | ) | const |
Get maximum length of right_motor_current value.
Definition at line 2264 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_side_brush_current | ( | ) | const |
Get maximum length of side_brush_current value.
Definition at line 2326 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_song_number | ( | ) | const |
Get maximum length of song_number value.
Definition at line 1539 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_song_playing | ( | ) | const |
Get maximum length of song_playing value.
Definition at line 1570 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_temperature | ( | ) | const |
Get maximum length of temperature value.
Definition at line 1221 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_velocity | ( | ) | const |
Get maximum length of velocity value.
Definition at line 1601 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_velocity_left | ( | ) | const |
Get maximum length of velocity_left value.
Definition at line 1694 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_velocity_right | ( | ) | const |
Get maximum length of velocity_right value.
Definition at line 1663 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_virtual_wall | ( | ) | const |
Get maximum length of virtual_wall value.
Definition at line 601 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_voltage | ( | ) | const |
Get maximum length of voltage value.
Definition at line 1159 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wall | ( | ) | const |
Get maximum length of wall value.
Definition at line 446 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wall_signal | ( | ) | const |
Get maximum length of wall_signal value.
Definition at line 1314 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wheel_drop_left | ( | ) | const |
Get maximum length of wheel_drop_left value.
Definition at line 322 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::maxlenof_wheel_drop_right | ( | ) | const |
Get maximum length of wheel_drop_right value.
Definition at line 353 of file Roomba500Interface.cpp.
|
virtual |
Check if message is valid and can be enqueued.
message | Message to check |
Implements fawkes::Interface.
Definition at line 3448 of file Roomba500Interface.cpp.
Roomba500Interface::Mode fawkes::Roomba500Interface::mode | ( | ) | const |
Get mode value.
Open Interface mode.
Definition at line 281 of file Roomba500Interface.cpp.
Referenced by RoombaJoystickThread::loop().
int16_t fawkes::Roomba500Interface::radius | ( | ) | const |
Get radius value.
Requested radius in mm.
Definition at line 1622 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 2254 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 1107 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 1293 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 1262 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 394 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 425 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 1859 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 1890 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 1828 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 1921 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 1797 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 1952 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 828 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 1045 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 983 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 890 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 952 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 921 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 1014 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 859 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 2367 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 1138 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 518 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 1388 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 549 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 1421 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 487 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 1355 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 580 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 1452 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 1200 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 766 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 1076 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 1735 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 1766 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 1485 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 1518 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 2179 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 797 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 2212 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 2243 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 2049 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 2082 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 2016 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 2115 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 1983 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 2146 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 2305 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 301 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 704 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 673 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 735 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 642 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 1642 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 2274 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 2336 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 1549 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 1580 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 1231 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 1611 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 1704 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 1673 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 611 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 1169 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 456 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 1324 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 332 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 363 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 2316 of file Roomba500Interface.cpp.
uint8_t fawkes::Roomba500Interface::song_number | ( | ) | const |
Get song_number value.
Song number.
Definition at line 1529 of file Roomba500Interface.cpp.
int8_t fawkes::Roomba500Interface::temperature | ( | ) | const |
Get temperature value.
Temperature in degree Celsius.
Definition at line 1211 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 266 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 249 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 205 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 190 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::velocity | ( | ) | const |
Get velocity value.
Requested velocity in mm/s.
Definition at line 1591 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::velocity_left | ( | ) | const |
Get velocity_left value.
Requested right velocity in mm/s.
Definition at line 1684 of file Roomba500Interface.cpp.
int16_t fawkes::Roomba500Interface::velocity_right | ( | ) | const |
Get velocity_right value.
Requested left velocity in mm/s.
Definition at line 1653 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::voltage | ( | ) | const |
Get voltage value.
Voltage in mV.
Definition at line 1149 of file Roomba500Interface.cpp.
uint16_t fawkes::Roomba500Interface::wall_signal | ( | ) | const |
Get wall_signal value.
Raw wall signal
Definition at line 1304 of file Roomba500Interface.cpp.