ROBOSTEP_3rd_SHARE / Mbed 2 deprecated PS3conOut2

Dependencies:   mbed

Fork of PS3conOut by ROBOSTEP_3rd_SHARE

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers User.h Source File

User.h

00001 //#define radicon
00002 #define common
00003 //#define DEBUG_MODE
00004 
00005 #define CUTOFF 10
00006 #define KP 1.5
00007 #define KD 0.0
00008 #define KP2 3.0
00009 #define KD2 2.0
00010 #define ST_VAL 2
00011 
00012 #define SCALE 40.0
00013 #define SCALE2 27.0
00014 #define LR_YOKU 20
00015 #define REFRESHRATE_PRINTF 50
00016 #define KAITEN_VAL 30
00017 #define ACCEL1 1000
00018 #define AVR_ACCEL 10
00019 #define ACCEL_RATIO 20
00020 
00021 
00022 
00023 void UserLoopSetting(void);
00024 void UserLoop(char,const u8*);
00025 double sai1(double x[],double y[]);
00026 void AutoAccel(double *tar_data, double *real_data, double *data, double roop_time, double accel);
00027 void Saidaika(double *data);
00028 void Filter(double *data);
00029 void SendDAC(int *data);
00030 int TypeDivider(void *pType, char byte[]);
00031 int TypeConstructor(void *pType, char byte[]);
00032