Tobis Programm forked to not destroy your golden files
Fork of Robocode by
Diff: header/Movement.h
- Revision:
- 85:d8ea8a99fa3a
- Parent:
- 77:ff87a10c4baf
- Child:
- 86:df8c869a5a52
--- a/header/Movement.h Mon May 01 07:39:18 2017 +0000 +++ b/header/Movement.h Mon May 01 10:07:35 2017 +0000 @@ -5,10 +5,10 @@ #include "Grabbing.h" #define sqrt2 1.4142135623730950488016887242097 +#define wheel_r 3.8 //radius in cm int moving(); -int move_forward_for_distance(float distance); -int move_backward_for_distance(); +float move_for_distance(float distance); float turn_for_deg(float deg); //returns left deg for turning int move_to_next_coord(); int move_in_search_for_brick(); \ No newline at end of file