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
  • 相关阅读:
    PHP常量
    jquery中的几种常用总结
    jquery中的ajax
    常用的jquery一些总结
    js验证手机号邮箱号用户名
    PHP优化杂烩
    一个php开发的用于路由器的小功能
    HTML <form>
    window.open
    try&catch
  • 原文地址:https://www.cnblogs.com/Qwells/p/5075126.html
Copyright © 2011-2022 走看看