Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
calculate.h
00001 #ifndef _CALCULATE_H 00002 #define _CALCULATE_H 00003 00004 #include "mbed.h" 00005 #include "data_pc.h" 00006 #include "data_board.h" 00007 #include "fuzzy.h" 00008 #include "timer.h" 00009 #include "used_leg_message.h" 00010 00011 00012 00013 #define CT (10) 00014 00015 extern unsigned int send_enable; 00016 extern float pos_ankle; 00017 extern float pos_knee; 00018 00019 00020 00021 float position_knee(float res); 00022 float position_ankle(float res); 00023 void calculate_ankle_fuzzy(float ankp, float knp); 00024 void calculate_fuzzy(float ankp, float knp); 00025 void init_joint_angles(); 00026 00027 00028 00029 #endif
Generated on Wed Jul 13 2022 08:32:47 by
