Tobis Programm forked to not destroy your golden files
Fork of Robocode by
header/Movement.h@134:5c29654ce301, 2017-05-16 (annotated)
- Committer:
- cittecla
- Date:
- Tue May 16 14:24:11 2017 +0000
- Revision:
- 134:5c29654ce301
- Parent:
- 122:8bfb39434fb7
bugfixes;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cittecla | 18:a82994e67297 | 1 | #pragma once |
cittecla | 39:92723f7ea54f | 2 | #include "mbed.h" |
cittecla | 39:92723f7ea54f | 3 | #include "Robot.h" |
cittecla | 52:56399c2f13cd | 4 | #include "Positioning.h" |
cittecla | 77:ff87a10c4baf | 5 | #include "Grabbing.h" |
cittecla | 52:56399c2f13cd | 6 | |
cittecla | 53:453f24775644 | 7 | #define sqrt2 1.4142135623730950488016887242097 |
cittecla | 134:5c29654ce301 | 8 | #define wheel_r 0.0395 // radius des Rades |
cittecla | 134:5c29654ce301 | 9 | #define circle_r 0.09 // radius von mitte roboter bis Rad |
cittecla | 18:a82994e67297 | 10 | |
cittecla | 39:92723f7ea54f | 11 | int moving(); |
cittecla | 85:d8ea8a99fa3a | 12 | float move_for_distance(float distance); |
PESGruppe1 | 114:720dc5df42a5 | 13 | float turn_for_deg(float deg, float multiplier); //returns left deg for turning |
cittecla | 105:d489c2e8de35 | 14 | float move_for_distance_with_radius(float distance, float r); |
cittecla | 86:df8c869a5a52 | 15 | void stop_move(); |
cittecla | 86:df8c869a5a52 | 16 | void stop_turn(); |
cittecla | 122:8bfb39434fb7 | 17 | int move_to_brick_by_coordlist(); |
cittecla | 54:36c290715769 | 18 | int move_in_search_for_brick(); |