12
CONTROL/CALCULATE/calculate.h
- Committer:
- panzhan
- Date:
- 2021-06-09
- Revision:
- 0:dd5d4837292c
File content as of revision 0:dd5d4837292c:
#ifndef _CALCULATE_H #define _CALCULATE_H #include "mbed.h" #include "data_pc.h" #include "data_board.h" #include "fuzzy.h" #include "timer.h" #include "used_leg_message.h" #define CT (10) extern unsigned int send_enable; extern float pos_ankle; extern float pos_knee; float position_knee(float res); float position_ankle(float res); void calculate_ankle_fuzzy(float ankp, float knp); void calculate_fuzzy(float ankp, float knp); void init_joint_angles(); #endif