libwallaby  v24
The wallaby standard library
create.h
Go to the documentation of this file.
1 /*
2  * create.h
3  *
4  * Created on: Nov 13, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_CREATE_H_
9 #define INCLUDE_WALLABY_CREATE_H_
10 
18 #include "export.h"
19 #include "vtable.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
33 
41 
48 
53 
58 
63 
68 
73 
78 
82 VF EXPORT_SYM void create_demo(int d);
83 
88 
93 
98 
103 
108 
113 
118 
123 
128 
133 
138 
143 
148 
153 
158 
163 
168 
173 
178 
183 
188 
193 
198 
203 
208 
213 
218 
223 
228 
233 
238 
243 
247 VF EXPORT_SYM void set_create_total_angle(int angle);
248 
253 
257 VF EXPORT_SYM void set_create_distance(int dist);
258 
263 
268 
273 
278 
283 
288 
293 
298 
303 
308 
313 
318 
323 
328 
333 
338 
343 
348 
353 
358 
362 VF EXPORT_SYM void create_stop();
363 
367 VF EXPORT_SYM void create_drive(int speed, int radius);
368 
372 VF EXPORT_SYM void create_drive_straight(int speed);
373 
377 VF EXPORT_SYM void create_spin_CW(int speed);
378 
382 VF EXPORT_SYM void create_spin_CCW(int speed);
383 
387 VF EXPORT_SYM void create_drive_direct(int l_speed, int r_speed);
388 
392 VF EXPORT_SYM void create_spin_block(int speed, int angle);
393 
397 VF EXPORT_SYM int _create_get_raw_encoders(long *lenc, long *renc);
398 
402 VF EXPORT_SYM void create_advance_led(int on);
403 
407 VF EXPORT_SYM void create_play_led(int on) ;
408 
412 VF EXPORT_SYM void create_power_led(int color, int brightness);
413 
417 VF EXPORT_SYM void create_digital_output(int bits);
418 
422 VF EXPORT_SYM void create_pwm_low_side_drivers(int pwm2, int pwm1, int pwm0);
423 
427 VF EXPORT_SYM void create_low_side_drivers(int pwm2, int pwm1, int pwm0);
428 
432 VF EXPORT_SYM void create_load_song(int num);
433 
437 VF EXPORT_SYM void create_play_song(int num);
438 
442 VF EXPORT_SYM int create_read_block(char *data, int count);
443 
447 VF EXPORT_SYM void create_write_byte(char byte);
448 
453 
455 {
458 };
459 
464 
468 VF EXPORT_SYM void set_create_baud_rate(const enum BaudRate baudRate);
469 
470 VFL
471 
472 #ifdef __cplusplus
473 }
474 #endif
475 
476 
477 
478 #endif /* INCLUDE_WALLABY_CREATE_H_ */
get_create_advance_button
VF EXPORT_SYM int get_create_advance_button()
get_create_battery_charge
VF EXPORT_SYM int get_create_battery_charge()
get_create_requested_left_velocity
VF EXPORT_SYM int get_create_requested_left_velocity()
create_cover
VF EXPORT_SYM void create_cover()
get_create_battery_capacity
VF EXPORT_SYM int get_create_battery_capacity()
create_connect_once
VF EXPORT_SYM int create_connect_once()
create_cover_dock
VF EXPORT_SYM void create_cover_dock()
get_create_rflightbump_amt
VF EXPORT_SYM int get_create_rflightbump_amt()
get_create_lclightbump
VF EXPORT_SYM int get_create_lclightbump()
create_spin_CCW
VF EXPORT_SYM void create_spin_CCW(int speed)
get_create_rlightbump
VF EXPORT_SYM int get_create_rlightbump()
get_create_battery_current
VF EXPORT_SYM int get_create_battery_current()
get_create_lfcliff_amt
VF EXPORT_SYM int get_create_lfcliff_amt()
get_create_wall
VF EXPORT_SYM int get_create_wall()
create_play_song
VF EXPORT_SYM void create_play_song(int num)
get_create_total_angle
VF EXPORT_SYM int get_create_total_angle()
get_create_cwdrop
VF EXPORT_SYM int get_create_cwdrop()
get_create_requested_radius
VF EXPORT_SYM int get_create_requested_radius()
get_create_rclightbump
VF EXPORT_SYM int get_create_rclightbump()
create_spin_block
VF EXPORT_SYM void create_spin_block(int speed, int angle)
get_create_battery_temp
VF EXPORT_SYM int get_create_battery_temp()
get_create_rfcliff_amt
VF EXPORT_SYM int get_create_rfcliff_amt()
vtable.h
get_create_requested_velocity
VF EXPORT_SYM int get_create_requested_velocity()
get_create_llightbump_amt
VF EXPORT_SYM int get_create_llightbump_amt()
get_create_song_playing
VF EXPORT_SYM int get_create_song_playing()
create_play_led
VF EXPORT_SYM void create_play_led(int on)
create_read_block
VF EXPORT_SYM int create_read_block(char *data, int count)
get_create_rbump
VF EXPORT_SYM int get_create_rbump()
get_create_rlightbump_amt
VF EXPORT_SYM int get_create_rlightbump_amt()
get_create_number_of_stream_packets
VF EXPORT_SYM int get_create_number_of_stream_packets()
get_create_rwdrop
VF EXPORT_SYM int get_create_rwdrop()
create_stop
VF EXPORT_SYM void create_stop()
create_digital_output
VF EXPORT_SYM void create_digital_output(int bits)
get_create_requested_right_velocity
VF EXPORT_SYM int get_create_requested_right_velocity()
create_passive
VF EXPORT_SYM void create_passive()
get_create_rflightbump
VF EXPORT_SYM int get_create_rflightbump()
get_create_battery_charging_state
VF EXPORT_SYM int get_create_battery_charging_state()
set_create_baud_rate
VF EXPORT_SYM void set_create_baud_rate(const enum BaudRate baudRate)
create_drive_straight
VF EXPORT_SYM void create_drive_straight(int speed)
get_create_mode
VF EXPORT_SYM int get_create_mode()
VFL
#define VFL
Definition: vtable.h:20
get_create_llightbump
VF EXPORT_SYM int get_create_llightbump()
get_create_battery_voltage
VF EXPORT_SYM int get_create_battery_voltage()
get_create_overcurrents
VF EXPORT_SYM int get_create_overcurrents()
get_create_lflightbump_amt
VF EXPORT_SYM int get_create_lflightbump_amt()
get_create_bay_DI
VF EXPORT_SYM int get_create_bay_DI()
create_power_led
VF EXPORT_SYM void create_power_led(int color, int brightness)
get_create_rcliff_amt
VF EXPORT_SYM int get_create_rcliff_amt()
create_spot
VF EXPORT_SYM void create_spot()
get_create_rclightbump_amt
VF EXPORT_SYM int get_create_rclightbump_amt()
create_demo
VF EXPORT_SYM void create_demo(int d)
get_create_baud_rate
VF EXPORT_SYM enum BaudRate get_create_baud_rate()
create_full
VF EXPORT_SYM void create_full()
get_create_rcliff
VF EXPORT_SYM int get_create_rcliff()
create_drive
VF EXPORT_SYM void create_drive(int speed, int radius)
get_create_lclightbump_amt
VF EXPORT_SYM int get_create_lclightbump_amt()
get_create_vwall
VF EXPORT_SYM int get_create_vwall()
get_create_lflightbump
VF EXPORT_SYM int get_create_lflightbump()
get_create_wall_amt
VF EXPORT_SYM int get_create_wall_amt()
create_spin_CW
VF EXPORT_SYM void create_spin_CW(int speed)
_create_get_raw_encoders
VF EXPORT_SYM int _create_get_raw_encoders(long *lenc, long *renc)
set_create_distance
VF EXPORT_SYM void set_create_distance(int dist)
create_start
VF EXPORT_SYM void create_start()
get_create_play_button
VF EXPORT_SYM int get_create_play_button()
get_create_lbump
VF EXPORT_SYM int get_create_lbump()
get_create_lcliff
VF EXPORT_SYM int get_create_lcliff()
get_create_lwdrop
VF EXPORT_SYM int get_create_lwdrop()
Baud57600
Definition: create.h:456
get_create_lfcliff
VF EXPORT_SYM int get_create_lfcliff()
EXPORT_SYM
#define EXPORT_SYM
Definition: export.h:14
get_create_normalized_angle
VF EXPORT_SYM int get_create_normalized_angle()
create_write_byte
VF EXPORT_SYM void create_write_byte(char byte)
set_create_normalized_angle
VF EXPORT_SYM void set_create_normalized_angle(int angle)
BaudRate
BaudRate
Definition: create.h:454
create_clear_serial_buffer
VF EXPORT_SYM void create_clear_serial_buffer()
create_pwm_low_side_drivers
VF EXPORT_SYM void create_pwm_low_side_drivers(int pwm2, int pwm1, int pwm0)
create_safe
VF EXPORT_SYM void create_safe()
Baud115200
Definition: create.h:457
create_connect
VF EXPORT_SYM int create_connect()
get_create_bay_AI
VF EXPORT_SYM int get_create_bay_AI()
get_create_lcliff_amt
VF EXPORT_SYM int get_create_lcliff_amt()
create_disconnect
VF EXPORT_SYM void create_disconnect()
create_low_side_drivers
VF EXPORT_SYM void create_low_side_drivers(int pwm2, int pwm1, int pwm0)
VF
#define VF
Definition: vtable.h:19
get_create_distance
VF EXPORT_SYM int get_create_distance()
create_load_song
VF EXPORT_SYM void create_load_song(int num)
get_create_rfcliff
VF EXPORT_SYM int get_create_rfcliff()
create_drive_direct
VF EXPORT_SYM void create_drive_direct(int l_speed, int r_speed)
get_create_infrared
VF EXPORT_SYM int get_create_infrared()
create_advance_led
VF EXPORT_SYM void create_advance_led(int on)
set_create_total_angle
VF EXPORT_SYM void set_create_total_angle(int angle)
get_create_song_number
VF EXPORT_SYM int get_create_song_number()
export.h