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.
Fork of Teleop_Controller by
math_ops.h
00001 #ifndef MATH_OPS_H 00002 #define MATH_OPS_H 00003 00004 #define PI 3.14159265359f 00005 00006 #include "math.h" 00007 00008 float fmaxf(float x, float y); 00009 float fminf(float x, float y); 00010 float fmaxf3(float x, float y, float z); 00011 float fminf3(float x, float y, float z); 00012 void limit_norm(float *x, float *y, float limit); 00013 int float_to_uint(float x, float x_min, float x_max, int bits); 00014 float uint_to_float(int x_int, float x_min, float x_max, int bits); 00015 00016 #endif
Generated on Wed Jul 13 2022 06:07:44 by
