6 #include "ecrobot_interface.h"
\r
9 #define N_NXTe_CH 1 /* number of NXTe channels in use */
\r
10 #define SERVO_DELAY 4 /* servo control delay */
\r
12 #define BLANK -1 /* no angle data */
\r
23 S16 angle[N_NXTe_CH][MAX_SERVO_CH]; /* angles for servo ch01 to ch10 (-1: set no angle) */
\r
24 U16 wait; /* wait time in msec after setting all angles */
\r
28 motion_t *pMotion; /* address of motion parameter */
\r
29 int steps; /* motion steps */
\r
32 extern void initServo(U8 port_id);
\r
33 extern int setServo(U8 port_id, motion_t *motion);
\r
34 extern void setMotion(U8 port_id, motionCmd_t cmd);
\r