#ifndef __PUB_CHASSIS_NODE_H__
#define __PUB_CHASSIS_NODE_H__

struct alignas(8) car_state
{
    unsigned char ebp;
    unsigned char gear;
    unsigned char door;
    unsigned char warning;
    unsigned char turn_light;
    unsigned char headlamp;
    unsigned char fog_light;
    unsigned char ac_mode;
    unsigned char horn;
    unsigned char power;  // int2s
    unsigned int mileage; // int2s
    unsigned char emergency_braking;
    unsigned short speed; // int2s
    float steering_angle; // int2s
    /*控制模式*/
    int mode;
};

extern car_state car_st_mes;

#endif