Changeset 767
- Timestamp:
- Dec 31, 2007, 4:22:18 PM (17 years ago)
- Location:
- code/branches/FICN_test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN_test/CMakeLists.txt
r766 r767 24 24 PATHS "/usr/bin /bin") 25 25 IF(NOT UNAME_CMD) 26 MESSAGE( "Unable to find uname. Tardis-Check cannot be done.")26 MESSAGE(ERROR "Unable to find uname. Tardis-Check cannot be done.") 27 27 ENDIF(NOT UNAME_CMD) 28 28 … … 35 35 36 36 IF (NOT "${UNAME_RV}" STREQUAL "0") 37 MESSAGE( "ERROR: uname terminated unclean.")37 MESSAGE(ERROR "ERROR: uname terminated unclean.") 38 38 ENDIF (NOT "${UNAME_RV}" STREQUAL "0") 39 39 -
code/branches/FICN_test/src/orxonox/SpaceshipSteering.cc
r742 r767 104 104 if(speedRotateUpDown_ < 0) 105 105 speedRotateUpDown_ += accelerationRotateUpDown_*time; 106 if( abs(speedRotateUpDown_)<accelerationRotateUpDown_*time)106 if(fabsf(speedRotateUpDown_)<accelerationRotateUpDown_*time) 107 107 speedRotateUpDown_ = 0; 108 108 } … … 128 128 if(speedRotateRightLeft_ < 0) 129 129 speedRotateRightLeft_ += accelerationRotateRightLeft_*time; 130 if( abs(speedRotateRightLeft_)<accelerationRotateRightLeft_*time)130 if(fabsf(speedRotateRightLeft_)<accelerationRotateRightLeft_*time) 131 131 speedRotateRightLeft_ = 0; 132 132 } … … 152 152 if(speedLoopRightLeft_ < 0) 153 153 speedLoopRightLeft_ += accelerationLoopRightLeft_*time; 154 if( abs(speedLoopRightLeft_)<accelerationLoopRightLeft_*time)154 if(fabsf(speedLoopRightLeft_)<accelerationLoopRightLeft_*time) 155 155 speedLoopRightLeft_ = 0; 156 156 }
Note: See TracChangeset
for help on using the changeset viewer.