zoukankan      html  css  js  c++  java
  • torcs代码

    /** Info returned by driver during the race */
    typedef struct {
        tdble	steer;	    /**< Steer command [-1.0, 1.0]  */
        tdble	accelCmd;   /**< Accelerator command [0.0, 1.0] */
        tdble	brakeCmd;   /**< Brake command [0.0, 1.0] */
        tdble	clutchCmd;  /**< Clutch command [0.0, 1.0] */
        int		gear;  	    /**< [-1,6] for gear selection */
        int		raceCmd;    /**< command issued by the driver */
    #define RM_CMD_NONE		0	/**< No race command */
    #define RM_CMD_PIT_ASKED	1	/**< Race command: Pit asked */
        char	msg[4][32];     /**< 4 lines of 31 characters 0-1 from car 2-3 from race engine */
    #define RM_MSG_LEN	31
        float	msgColor[4]; /**< RGBA of text */
        int		lightCmd;    /**< Lights command */
    #define RM_LIGHT_HEAD1		0x00000001	/**< head light 1 */
    #define RM_LIGHT_HEAD2		0x00000002	/**< head light 2 */
    } tCarCtrl;
    

      

    该博客停止更新,继续关注请移步: www.foolweel.com
  • 相关阅读:
    Hibernate 查询语句
    application 网站计数器
    Hibernate 配置
    常用正则表达式
    字符串的系列操作
    输入内容验证
    大小写字母验证
    验证非零的正整数
    验证数字输入
    Java面向对象之多态
  • 原文地址:https://www.cnblogs.com/Qwells/p/5075126.html
Copyright © 2011-2022 走看看