diff options
author | sicarius <devnull@localhost> | 2007-02-26 22:25:01 +0100 |
---|---|---|
committer | sicarius <devnull@localhost> | 2007-02-26 22:25:01 +0100 |
commit | f61eb900879fe941460a284ff9e4681b0958b944 (patch) | |
tree | e32e6e091b0d025e071f3eab1dbf52c04d107d1d /source/Concept/Framework/modules/interpreter/position_tracker.h | |
parent | 343397ecf6e8ba9ca94fc61e27c241139eff120b (diff) | |
download | rc2007-soccer-f61eb900879fe941460a284ff9e4681b0958b944.tar rc2007-soccer-f61eb900879fe941460a284ff9e4681b0958b944.zip |
SoccerTeam, Stuff from Magdeburg
Diffstat (limited to 'source/Concept/Framework/modules/interpreter/position_tracker.h')
-rwxr-xr-x | source/Concept/Framework/modules/interpreter/position_tracker.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source/Concept/Framework/modules/interpreter/position_tracker.h b/source/Concept/Framework/modules/interpreter/position_tracker.h index 56b16c4..7a5781f 100755 --- a/source/Concept/Framework/modules/interpreter/position_tracker.h +++ b/source/Concept/Framework/modules/interpreter/position_tracker.h @@ -40,18 +40,20 @@ public: }
// returns x-koordinate in mm
- int GetPositionX() {
- return (int)((positionX*10.0f)/TICKS_PER_CM);
+ int16 GetPositionX()
+ {
+ return (int16)((positionX*10.0f)/TICKS_PER_CM);
}
// returns y-koordinate in mm
- int GetPositionY() {
- return (int)((positionY*10.0f)/TICKS_PER_CM);
+ int16 GetPositionY()
+ {
+ return (int16)((positionY*10.0f)/TICKS_PER_CM);
}
// returns orientation
- float GetOrientation() {
- //return 0.0f; //tmp!!!!!!!!!!
+ float GetOrientation()
+ {
return orientation;
}
};
|