takaki`s wheel.h file

Dependents:   kourobo kourobo5

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers wheel.h Source File

wheel.h

00001 double omuni_speed(double x,double y,double direction)
00002 {
00003     double atanval,sinval;
00004     atanval = atan2(y,x);
00005     sinval = sin(atanval - direction);
00006     return sinval;
00007 }