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 2015robot_main by
Parameters_ps3.h
- Committer:
- DeguNaoto
- Date:
- 2015-09-26
- Revision:
- 48:64d005c70df2
- Parent:
- 30:2923c6879e5f
- Child:
- 50:8ea4714316ce
File content as of revision 48:64d005c70df2:
/** * This define list is included main.cpp. * Defined some parameters. */ #ifndef PARAMETERS_H #define PARAMETERS_H /** * Defines */ #define RATE 0.01 #define PI 3.14159265359 //#define speed 10000.0 #define speed 100000.0 #define swingspeed 0.7 /** * Motor Parameters. */ /***Move motor period us.***/ #define MOVE_R_PERIOD_US 125 #define MOVE_L_PERIOD_US 125 #define SWING_PERIOD 125 /** * Machine Parameters. */ const double d = 375.0; const double r_wheel = 34.0; /** * Encoder Parameters. */ const double ppr = 400.0; const double pprS = 360.0; #endif /*Parameters.h*/