Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 767 for code/branches


Ignore:
Timestamp:
Dec 31, 2007, 4:22:18 PM (17 years ago)
Author:
nicolasc
Message:

minor changes

Location:
code/branches/FICN_test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN_test/CMakeLists.txt

    r766 r767  
    2424  PATHS "/usr/bin /bin")
    2525  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.")
    2727  ENDIF(NOT UNAME_CMD)
    2828
     
    3535
    3636  IF (NOT "${UNAME_RV}" STREQUAL "0")
    37     MESSAGE("ERROR: uname terminated unclean.")
     37    MESSAGE(ERROR "ERROR: uname terminated unclean.")
    3838  ENDIF (NOT "${UNAME_RV}" STREQUAL "0")
    3939
  • code/branches/FICN_test/src/orxonox/SpaceshipSteering.cc

    r742 r767  
    104104      if(speedRotateUpDown_ < 0)
    105105        speedRotateUpDown_ += accelerationRotateUpDown_*time;
    106       if(abs(speedRotateUpDown_)<accelerationRotateUpDown_*time)
     106      if(fabsf(speedRotateUpDown_)<accelerationRotateUpDown_*time)
    107107        speedRotateUpDown_ = 0;
    108108    }
     
    128128      if(speedRotateRightLeft_ < 0)
    129129        speedRotateRightLeft_ += accelerationRotateRightLeft_*time;
    130       if(abs(speedRotateRightLeft_)<accelerationRotateRightLeft_*time)
     130      if(fabsf(speedRotateRightLeft_)<accelerationRotateRightLeft_*time)
    131131        speedRotateRightLeft_ = 0;
    132132    }
     
    152152      if(speedLoopRightLeft_ < 0)
    153153        speedLoopRightLeft_ += accelerationLoopRightLeft_*time;
    154       if(abs(speedLoopRightLeft_)<accelerationLoopRightLeft_*time)
     154      if(fabsf(speedLoopRightLeft_)<accelerationLoopRightLeft_*time)
    155155        speedLoopRightLeft_ = 0;
    156156    }
Note: See TracChangeset for help on using the changeset viewer.