22 #ifndef RFLEX_COMMANDS_H
23 #define RFLEX_COMMANDS_H
25 int rflex_open_connection(
char *dev_name,
int *fd);
26 int rflex_close_connection(
int *fd);
28 void rflex_sonars_on(
int fd);
29 void rflex_sonars_off(
int fd);
31 void rflex_ir_on(
int fd);
32 void rflex_ir_off(
int fd);
34 void rflex_brake_on(
int fd);
35 void rflex_brake_off(
int fd);
37 void rflex_odometry_off(
int fd );
38 void rflex_odometry_on(
int fd,
long period );
40 void rflex_motion_set_defaults(
int fd);
42 void rflex_initialize(
int fd,
int trans_acceleration,
47 void rflex_update_status(
int fd,
int *distance,
48 int *bearing,
int *t_vel,
51 void rflex_update_system(
int fd,
int *battery,
54 int rflex_update_sonar(
int fd,
int num_sonars,
56 void rflex_update_bumpers(
int fd,
int num_bumpers,
58 void rflex_update_ir(
int fd,
int num_irs,
59 unsigned char *ranges);
61 void rflex_set_velocity(
int fd,
long t_vel,
long r_vel,
63 void rflex_stop_robot(
int fd,
int deceleration);
int bumper_style
bumper bit style
Definition: rflex_configs.h:109
Definition: rflex-info.h:112