Project

General

Profile

Revision 6257c97d

ID6257c97dd822231155108c01df3c40200eaa7c12

Added by Alex Zirbel over 11 years ago

Continuing work on standardization of units.

View differences:

scout/scoutsim/src/scout_constants.h
45 45
 * OTHER DEALINGS IN THE SOFTWARE.
46 46
 */
47 47

  
48
/// @todo Comment up.
49

  
50 48
namespace scoutsim
51 49
{
50
    // Maximum speed which will be sent to scoutsim in absolute units
51
    const int MAX_ABSOLUTE_SPEED = 255;
52
    // Speed in m/s corresponding to maximum absolute speed
53
    const float MAX_SPEED_MPS = 1.0;
54

  
52 55
    // Pixels in scoutsim per real-world meter.
53 56
    // Note that scout image size has been set based on this.
54 57
    const float PIX_PER_METER = 200.0;

Also available in: Unified diff