|
rflex_commands.cc File Reference
#include <sys/types.h>
#include <sys/time.h>
#include <netinet/in.h>
#include "rflex-info.h"
#include "rflex_commands.h"
#include "rflex-io.h"
#include "rflex_configs.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <unistd.h>
#include <rflex.h>
|
Functions |
void | rflex_sonars_on (int fd) |
void | rflex_sonars_off (int fd) |
void | rflex_digital_io_on (int fd, int period) |
void | rflex_digital_io_off (int fd) |
void | rflex_ir_on (int fd) |
void | rflex_ir_off (int fd) |
void | rflex_brake_on (int fd) |
void | rflex_brake_off (int fd) |
void | rflex_motion_set_defaults (int fd) |
void | rflex_odometry_on (int fd, long period) |
void | rflex_odometry_off (int fd) |
void | rflex_set_velocity (int fd, long tvel, long rvel, long acceleration) |
void | rflex_stop_robot (int fd, int deceleration) |
int | rflex_open_connection (char *device_name, int *fd) |
void | rflex_update_status (int fd, int *distance, int *bearing, int *t_vel, int *r_vel) |
int | rflex_update_sonar (int fd, int num_sonars, int *ranges) |
void | rflex_update_bumpers (int fd, int num_bumpers, char *values) |
void | rflex_update_ir (int fd, int num_irs, unsigned char *values) |
void | rflex_update_system (int fd, int *battery, int *brake) |
void | rflex_initialize (int fd, int trans_acceleration, int rot_acceleration, int trans_pos, int rot_pos) |
Function Documentation
void rflex_sonars_on |
( |
int |
fd |
) |
|
|
void rflex_sonars_off |
( |
int |
fd |
) |
|
|
void rflex_digital_io_on |
( |
int |
fd, |
|
|
int |
period |
|
) |
|
|
void rflex_digital_io_off |
( |
int |
fd |
) |
|
|
void rflex_ir_on |
( |
int |
fd |
) |
|
|
void rflex_ir_off |
( |
int |
fd |
) |
|
|
void rflex_brake_on |
( |
int |
fd |
) |
|
|
void rflex_brake_off |
( |
int |
fd |
) |
|
|
void rflex_motion_set_defaults |
( |
int |
fd |
) |
|
|
void rflex_odometry_on |
( |
int |
fd, |
|
|
long |
period |
|
) |
|
|
void rflex_odometry_off |
( |
int |
fd |
) |
|
|
void rflex_set_velocity |
( |
int |
fd, |
|
|
long |
tvel, |
|
|
long |
rvel, |
|
|
long |
acceleration |
|
) |
|
|
void rflex_stop_robot |
( |
int |
fd, |
|
|
int |
deceleration |
|
) |
|
|
int rflex_open_connection |
( |
char * |
device_name, |
|
|
int * |
fd |
|
) |
|
|
void rflex_update_status |
( |
int |
fd, |
|
|
int * |
distance, |
|
|
int * |
bearing, |
|
|
int * |
t_vel, |
|
|
int * |
r_vel |
|
) |
|
|
int rflex_update_sonar |
( |
int |
fd, |
|
|
int |
num_sonars, |
|
|
int * |
ranges |
|
) |
|
|
void rflex_update_bumpers |
( |
int |
fd, |
|
|
int |
num_bumpers, |
|
|
char * |
values |
|
) |
|
|
void rflex_update_ir |
( |
int |
fd, |
|
|
int |
num_irs, |
|
|
unsigned char * |
values |
|
) |
|
|
void rflex_update_system |
( |
int |
fd, |
|
|
int * |
battery, |
|
|
int * |
brake |
|
) |
|
|
void rflex_initialize |
( |
int |
fd, |
|
|
int |
trans_acceleration, |
|
|
int |
rot_acceleration, |
|
|
int |
trans_pos, |
|
|
int |
rot_pos |
|
) |
|
|
Generated on Tue May 3 14:15:43 2005 for Player by 1.3.6
|