summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/modules/interpreter/position_tracker.h
diff options
context:
space:
mode:
authorsicarius <devnull@localhost>2007-02-26 22:25:01 +0100
committersicarius <devnull@localhost>2007-02-26 22:25:01 +0100
commitf61eb900879fe941460a284ff9e4681b0958b944 (patch)
treee32e6e091b0d025e071f3eab1dbf52c04d107d1d /source/Concept/Framework/modules/interpreter/position_tracker.h
parent343397ecf6e8ba9ca94fc61e27c241139eff120b (diff)
downloadrc2007-soccer-f61eb900879fe941460a284ff9e4681b0958b944.tar
rc2007-soccer-f61eb900879fe941460a284ff9e4681b0958b944.zip
SoccerTeam, Stuff from Magdeburg
Diffstat (limited to 'source/Concept/Framework/modules/interpreter/position_tracker.h')
-rwxr-xr-xsource/Concept/Framework/modules/interpreter/position_tracker.h14
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;
}
};