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.
Dependencies: mbed BufferedSerial ConfigFile
ROBOFRIEN_PID.h
00001 00002 #ifndef MBED_ROBOFRIEN_PID_H 00003 #define MBED_ROBOFRIEN_PID_H 00004 00005 #include "mbed.h" 00006 00007 00008 00009 class ROBOFRIEN_PID { 00010 public: 00011 void Init(); 00012 void update( ); 00013 float err_Rate[3]; 00014 float output_Data[3]; 00015 float RAT_KP[3], RAT_KD[3], RAT_KI[3]; 00016 float ANG_KP[3], ANG_KD[3], ANG_KI[3]; 00017 void RAT_INTEGER_RESET(); 00018 private: 00019 int16_t RAT_INTEGER[3]; 00020 }; 00021 00022 #endif
Generated on Sat Jul 16 2022 14:19:21 by
1.7.2