123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- #ifndef MOBILEYE_H
- #define MOBILEYE_H
- // 0x700
- typedef struct _AWS_display
- {
- bool dusk_time;
- bool night_time;
- bool lanes_on;
- }AWS_display;
- // 0x737
- typedef struct _lane{
- double curvature;
- double heading;
- bool is_ca; //construction area
- bool is_right_LDW_available;
- bool is_left_LDW_available;
- double yaw;
- double pitch;
- }lane;
- // 0x738
- typedef struct _obstacle_status{
- int num_obstacles;
- int timestamp;
- int app_version;
- int active_version;
- bool is_left_close_rang_cut_in;
- bool is_right_close_rang_cut_in;
- int go;
- int protocol_version;
- bool is_close_car;
- int failsafe;
- }obstacle_status;
- // 0x739
- typedef struct _obstacle_data_a{
- int obstacle_ID;
- double obstacle_pos_x;
- double obstacle_pos_y;
- int blinker_info;
- int cut_in_and_out;
- double obstacle_rel_vel_x;
- int obstacle_type;
- int obstacle_status;
- bool is_obstacle_brake_lights;
- int obstacle_valid;
- }obstacle_data_a;
- // 0x73a
- typedef struct _obstacle_data_b{
- double obstacle_length;
- double obstacle_width;
- int obstacle_age;
- int obstacle_lane;
- bool is_cipv_flag;
- double radar_pos_x;
- double radar_vel_x;
- int radar_match_confidence;
- int matched_radar_id;
- }obstacle_data_b;
- // 0x73b
- typedef struct _obstacle_data_c{
- double obstacle_angle_rate;
- double obstacle_scale_change;
- double object_accel_x;
- bool is_obstacle_replaced;
- double obstacle_angle;
- }obstacle_data_c;
- // 0x669
- typedef struct _aftermarket_lane{
- unsigned int lane_conf_left;
- bool is_ldw_availablility_left;
- unsigned int lane_type_left;
- double dist_to_lane_l;
- unsigned int lane_conf_right;
- bool is_ldw_availablility_right;
- unsigned int lane_type_right;
- double dist_to_lane_r;
- }aftermarket_lane;
- // 0x766
- typedef struct _lka_left_lane_a
- {
- int lane_type;
- int quality;
- int model_degree;
- double position;
- double curvature;
- double curvature_derivative;
- double width_left_marking;
- }lka_left_lane_a;
- // 0x767
- typedef struct _lka_left_lane_b
- {
- double heading_angle;
- double view_range;
- bool is_view_range_availability;
- }lka_left_lane_b;
- // 0x768
- typedef struct _lka_right_lane_a
- {
- int lane_type;
- int quality;
- int model_degree;
- double position;
- double curvature;
- double curvature_derivative;
- double width_left_marking;
- }lka_right_lane_a;
- // 0x769
- typedef struct _lka_right_lane_b
- {
- double heading_angle;
- double view_range;
- bool is_view_range_availability;
- }lka_right_lane_b;
- // 0x76c
- typedef struct _next_lane_a
- {
- int lane_type;
- int quality;
- int model_degree;
- double position;
- double curvature;
- double curvature_derivative;
- double lane_mark_width;
- }next_lane_a;
- // 0x76d
- typedef struct _next_lane_b
- {
- double heading_angle;
- double view_range;
- bool is_view_range_availability;
- }next_lane_b;
- // 0x76a
- typedef struct _ref_points
- {
- double ref_point_1_position;
- double ref_point_1_dist;
- bool is_ref_point_1_validity;
- double ref_point_2_position;
- double ref_point_2_dist;
- bool is_ref_point_2_validity;
- }ref_points;
- // 0x76b
- typedef struct _num_of_next_lane_mark_reported
- {
- int num_of_next_lane_mark_reported;
- }num_of_next_lane_mark_reported;
- typedef struct _obstacle_info
- {
- obstacle_data_a obs_a;
- obstacle_data_b obs_b;
- obstacle_data_c obs_c;
- }obstacle_info;
- #endif // MOBILEYE_H
|