List of all members |
Public Member Functions |
Private Types |
Private Member Functions |
Private Attributes
NXT::brick Class Reference
Collaboration diagram for NXT::brick:

Public Member Functions | |
buffer | execute (const buffer &command, bool with_feedback=false) |
buffer | prepare_play_tone (uint16_t tone_Hz, uint16_t duration_ms) |
buffer | prepare_output_state (motors motor, int8_t power_pct, motor_modes mode=motor_brake, regulation_modes regulation=regulation_motor_speed, int8_t turn_ratio=0, motor_run_states state=motor_run_state_running, uint32_t tacho_count=0) |
buffer | prepare_reset_motor_position (motors motor, bool relative_to_last_position=false) |
buffer | prepare_stop_sound_playback (void) |
buffer | prepare_keep_alive (void) |
void | play_tone (uint16_t tone_Hz, uint16_t duration_ms) |
void | set_motor (motors motor, int8_t power_pct) |
output_state | get_motor_state (motors motor) |
uint16_t | get_battery_level (void) |
versions | get_version (void) |
device_info | get_device_info (void) |
void | msg_rate_check (void) |
Private Member Functions | |
buffer | assemble (telegram_types teltype, uint8_t command, const buffer &payload) |
Private Attributes | |
USB_transport | link_ |
The documentation for this class was generated from the following files:
- nxtdc.hh
- nxtdc.cc