libkipr  1.0.0
create.h
Go to the documentation of this file.
1 
53 #ifndef _KIPR_CREATE_CREATE_H_
54 #define _KIPR_CREATE_CREATE_H_
55 
56 #include "kipr/export/export.h"
57 
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
61 
70 
78 
86 
100 
112 
125 
135 
142 
149 
156 
164 
171 
179 
188 
197 
206 
215 
227 
239 
251 
263 
275 
287 
299 
311 
323 
335 
347 
359 
367 
376 
383 
390 
398 
406 
414 
422 
430 
437 
446 
452 
458 
464 
471 
482 
493 
504 
514 
520 
527 
535 
544 EXPORT_SYM void create_drive(int speed, int radius);
545 
552 
559 EXPORT_SYM void create_spin_CW(int speed);
560 
567 EXPORT_SYM void create_spin_CCW(int speed);
568 
575 EXPORT_SYM void create_drive_direct(int l_speed, int r_speed);
576 
586 EXPORT_SYM void create_spin_block(int speed, int angle);
587 
596 EXPORT_SYM int _create_get_raw_encoders(long *lenc, long *renc);
597 
615 EXPORT_SYM int create_load_song(const unsigned char* song, const unsigned char length, const unsigned char num);
616 
624 EXPORT_SYM int create_play_song(const unsigned char num);
625 
633 EXPORT_SYM int create_read_block(char *data, int count);
634 
643 
650 
659 {
660  Baud57600 = 0,
661  Baud115200 = 1
662 };
663 
664 
672 
677 EXPORT_SYM void set_create_baud_rate(const enum BaudRate baudRate);
678 
679 #ifdef __cplusplus
680 }
681 #endif
682 
683 
684 
685 #endif /* INCLUDE_WALLABY_CREATE_H_ */
BaudRate
The baudrate to use with the create.
Definition: create.h:659
@ Baud115200
Baudrate of 115200 times per second.
Definition: create.h:661
@ Baud57600
Baudrate of 57600 times per second.
Definition: create.h:660
#define EXPORT_SYM
Definition: export.h:7
EXPORT_SYM int get_create_infrared()
EXPORT_SYM int get_create_llightbump_amt()
EXPORT_SYM int get_create_wall_amt()
EXPORT_SYM void set_create_baud_rate(const enum BaudRate baudRate)
EXPORT_SYM int get_create_rwdrop()
EXPORT_SYM int get_create_rfcliff_amt()
EXPORT_SYM int get_create_lfcliff()
EXPORT_SYM int create_connect_once()
EXPORT_SYM int get_create_normalized_angle()
EXPORT_SYM int get_create_battery_charging_state()
EXPORT_SYM int get_create_lclightbump_amt()
EXPORT_SYM void create_drive_straight(int speed)
EXPORT_SYM int create_connect()
EXPORT_SYM int create_load_song(const unsigned char *song, const unsigned char length, const unsigned char num)
EXPORT_SYM int get_create_cwdrop()
EXPORT_SYM int get_create_song_playing()
EXPORT_SYM void create_spin_block(int speed, int angle)
EXPORT_SYM int create_play_song(const unsigned char num)
EXPORT_SYM int get_create_rflightbump()
EXPORT_SYM int get_create_rlightbump()
EXPORT_SYM int get_create_wall()
EXPORT_SYM void create_disconnect()
EXPORT_SYM void create_clear_serial_buffer()
EXPORT_SYM int get_create_lfcliff_amt()
EXPORT_SYM void create_passive()
EXPORT_SYM void set_create_total_angle(int angle)
EXPORT_SYM int get_create_battery_capacity()
EXPORT_SYM int get_create_battery_charge()
EXPORT_SYM void create_drive(int speed, int radius)
EXPORT_SYM int get_create_rbump()
EXPORT_SYM int get_create_rclightbump_amt()
EXPORT_SYM int get_create_lcliff_amt()
EXPORT_SYM int create_read_block(char *data, int count)
EXPORT_SYM int get_create_rcliff_amt()
EXPORT_SYM int get_create_rlightbump_amt()
EXPORT_SYM void set_create_distance(int dist)
EXPORT_SYM int get_create_rcliff()
EXPORT_SYM int get_create_lflightbump()
EXPORT_SYM int get_create_rflightbump_amt()
EXPORT_SYM int get_create_lclightbump()
EXPORT_SYM int _create_get_raw_encoders(long *lenc, long *renc)
EXPORT_SYM int get_create_lwdrop()
EXPORT_SYM void create_full()
EXPORT_SYM int get_create_advance_button()
EXPORT_SYM void create_safe()
EXPORT_SYM int get_create_song_number()
EXPORT_SYM void create_drive_direct(int l_speed, int r_speed)
EXPORT_SYM int get_create_lbump()
EXPORT_SYM void create_spin_CCW(int speed)
EXPORT_SYM void create_stop()
EXPORT_SYM int get_create_vwall()
EXPORT_SYM int get_create_distance()
EXPORT_SYM void create_spin_CW(int speed)
EXPORT_SYM int get_create_total_angle()
EXPORT_SYM int get_create_rclightbump()
EXPORT_SYM int get_create_lflightbump_amt()
EXPORT_SYM int get_create_battery_temp()
EXPORT_SYM int get_create_lcliff()
EXPORT_SYM int get_create_play_button()
EXPORT_SYM void create_write_byte(char byte)
EXPORT_SYM void set_create_normalized_angle(int angle)
EXPORT_SYM enum BaudRate get_create_baud_rate()
EXPORT_SYM int get_create_mode()
EXPORT_SYM int get_create_llightbump()
EXPORT_SYM int get_create_rfcliff()