Classes | Defines | Functions | Variables
dynpick_driver.cpp File Reference
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/iofunc.h>
#include <sys/dispatch.h>
#include <sys/mman.h>
#include <sys/neutrino.h>
#include <sys/slog.h>
#include <sys/time.h>
#include <termios.h>
#include <unistd.h>
Include dependency graph for dynpick_driver.cpp:

Go to the source code of this file.

Classes

struct  server_msg_t

Defines

#define cfsetspeed(term, baudrate)
#define DATA_LENGTH   27
#define min(a, b)   ((a) < (b) ? (a) : (b))

Functions

int io_read (resmgr_context_t *ctp, io_read_t *msg, RESMGR_OCB_T *ocb)
int main (int argc, char **argv)
int message_callback (message_context_t *ctp, int type, unsigned flags, void *handle)
int ReadCom (int fdc, unsigned short *data)
int SetComAttr (int fdc)
void wait_t (void)

Variables

static char * buffer = "Hello world\n"
static resmgr_connect_funcs_t ConnectFuncs
unsigned short force_sensor_data_0 [6]
unsigned short force_sensor_data_1 [6]
static iofunc_attr_t IoFuncAttr
static resmgr_io_funcs_t IoFuncs

Define Documentation

#define cfsetspeed (   term,
  baudrate 
)
Value:
cfsetispeed(term, baudrate);\
   cfsetospeed(term, baudrate);

Definition at line 59 of file dynpick_driver.cpp.

#define DATA_LENGTH   27
#define min (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Definition at line 187 of file dynpick_driver.cpp.


Function Documentation

int io_read ( resmgr_context_t *  ctp,
io_read_t *  msg,
RESMGR_OCB_T *  ocb 
)

Definition at line 384 of file dynpick_driver.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 290 of file dynpick_driver.cpp.

int message_callback ( message_context_t *  ctp,
int  type,
unsigned  flags,
void handle 
)

Definition at line 203 of file dynpick_driver.cpp.

int ReadCom ( int  fdc,
unsigned short *  data 
)

Definition at line 137 of file dynpick_driver.cpp.

int SetComAttr ( int  fdc)

added

Definition at line 63 of file dynpick_driver.cpp.

void wait_t ( void  )

Definition at line 438 of file dynpick_driver.cpp.


Variable Documentation

char* buffer = "Hello world\n" [static]

Definition at line 190 of file dynpick_driver.cpp.

resmgr_connect_funcs_t ConnectFuncs [static]

Definition at line 194 of file dynpick_driver.cpp.

unsigned short force_sensor_data_0[6]

Definition at line 52 of file dynpick_driver.cpp.

unsigned short force_sensor_data_1[6]

Definition at line 53 of file dynpick_driver.cpp.

iofunc_attr_t IoFuncAttr [static]

Definition at line 196 of file dynpick_driver.cpp.

resmgr_io_funcs_t IoFuncs [static]

Definition at line 195 of file dynpick_driver.cpp.



hironx_ros_bridge
Author(s): Kei Okada , Isaac I.Y. Saito
autogenerated on Thu Feb 21 2019 03:42:37