pan zhan / panzhan_main_controller_continuous

Dependencies:   mbed-dev_spine

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers data_command.h Source File

data_command.h

00001 #ifndef _DATA_COMMAND_H
00002 #define _DATA_COMMAND_H
00003 
00004 
00005 #include "mbed.h"
00006 #include "CAN.h"
00007 #include "used_leg_message.h"
00008 #include "mode.h"
00009 #include "control.h"
00010 
00011 
00012 extern Serial      command;
00013 
00014 extern int command_control_flag;
00015 
00016 extern float  v_pid, p_pid, kp_pid, kd_pid, tff_pid;
00017 
00018 extern int c_lock; 
00019 
00020 
00021 void serial_command_isr();
00022 void command_control();
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 #endif
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058