libkipr  1.0.0
create.h File Reference
Include dependency graph for create.h:

Go to the source code of this file.

Enumerations

enum  BaudRate { Baud57600 = 0 , Baud115200 = 1 }
 The baudrate to use with the create. More...
 

Functions

EXPORT_SYM int create_connect ()
 
EXPORT_SYM int create_connect_once ()
 
EXPORT_SYM void create_disconnect ()
 
EXPORT_SYM void create_passive ()
 
EXPORT_SYM void create_safe ()
 
EXPORT_SYM void create_full ()
 
EXPORT_SYM int get_create_mode ()
 
EXPORT_SYM int get_create_lbump ()
 
EXPORT_SYM int get_create_rbump ()
 
EXPORT_SYM int get_create_lwdrop ()
 
EXPORT_SYM int get_create_cwdrop ()
 
EXPORT_SYM int get_create_rwdrop ()
 
EXPORT_SYM int get_create_wall ()
 
EXPORT_SYM int get_create_lcliff ()
 
EXPORT_SYM int get_create_lfcliff ()
 
EXPORT_SYM int get_create_rfcliff ()
 
EXPORT_SYM int get_create_rcliff ()
 
EXPORT_SYM int get_create_llightbump ()
 
EXPORT_SYM int get_create_lflightbump ()
 
EXPORT_SYM int get_create_lclightbump ()
 
EXPORT_SYM int get_create_rclightbump ()
 
EXPORT_SYM int get_create_rflightbump ()
 
EXPORT_SYM int get_create_rlightbump ()
 
EXPORT_SYM int get_create_llightbump_amt ()
 
EXPORT_SYM int get_create_rlightbump_amt ()
 
EXPORT_SYM int get_create_lflightbump_amt ()
 
EXPORT_SYM int get_create_lclightbump_amt ()
 
EXPORT_SYM int get_create_rclightbump_amt ()
 
EXPORT_SYM int get_create_rflightbump_amt ()
 
EXPORT_SYM int get_create_vwall ()
 
EXPORT_SYM int get_create_infrared ()
 
EXPORT_SYM int get_create_advance_button ()
 
EXPORT_SYM int get_create_play_button ()
 
EXPORT_SYM int get_create_normalized_angle ()
 
EXPORT_SYM void set_create_normalized_angle (int angle)
 
EXPORT_SYM int get_create_total_angle ()
 
EXPORT_SYM void set_create_total_angle (int angle)
 
EXPORT_SYM int get_create_distance ()
 
EXPORT_SYM void set_create_distance (int dist)
 
EXPORT_SYM int get_create_battery_charging_state ()
 
EXPORT_SYM int get_create_battery_temp ()
 
EXPORT_SYM int get_create_battery_charge ()
 
EXPORT_SYM int get_create_battery_capacity ()
 
EXPORT_SYM int get_create_wall_amt ()
 
EXPORT_SYM int get_create_lcliff_amt ()
 
EXPORT_SYM int get_create_lfcliff_amt ()
 
EXPORT_SYM int get_create_rfcliff_amt ()
 
EXPORT_SYM int get_create_rcliff_amt ()
 
EXPORT_SYM int get_create_song_number ()
 
EXPORT_SYM int get_create_song_playing ()
 
EXPORT_SYM void create_stop ()
 
EXPORT_SYM void create_drive (int speed, int radius)
 
EXPORT_SYM void create_drive_straight (int speed)
 
EXPORT_SYM void create_spin_CW (int speed)
 
EXPORT_SYM void create_spin_CCW (int speed)
 
EXPORT_SYM void create_drive_direct (int l_speed, int r_speed)
 
EXPORT_SYM void create_spin_block (int speed, int angle)
 
EXPORT_SYM int _create_get_raw_encoders (long *lenc, long *renc)
 
EXPORT_SYM int create_load_song (const unsigned char *song, const unsigned char length, const unsigned char num)
 
EXPORT_SYM int create_play_song (const unsigned char num)
 
EXPORT_SYM int create_read_block (char *data, int count)
 
EXPORT_SYM void create_write_byte (char byte)
 
EXPORT_SYM void create_clear_serial_buffer ()
 
EXPORT_SYM enum BaudRate get_create_baud_rate ()
 
EXPORT_SYM void set_create_baud_rate (const enum BaudRate baudRate)
 

Detailed Description

Author
Braden McDorman

Enumeration Type Documentation

◆ BaudRate

enum BaudRate

The baudrate to use with the create.

The baudrate can be thought of as the refresh rate, or how many times per second the wombat/wallaby checks the create's sensors and sends commands (if any) to the create

Enumerator
Baud57600 

Baudrate of 57600 times per second.

Baud115200 

Baudrate of 115200 times per second.