Browse Source

Detection Profiles Added

AGP
Evgeny Gagua 5 years ago
parent
commit
6e4faaa9d8
  1. 35
      lib/rgoose/rgooseTypes.h

35
lib/rgoose/rgooseTypes.h

@ -170,6 +170,20 @@ typedef struct S_DBC_MEDIA_SERVER_STREAM_DATA{
char mrl[128];
} DBC_MEDIA_SERVER_STREAM_DATA;
#define LRF_MAX_DETECTION_PROFILES 4
typedef struct S_LRF_DETECTION_PROFILE{
uint16_t order;
uint16_t offset;
uint16_t delta;
uint16_t flip;
uint32_t width;
uint16_t sst;
uint16_t sun;
uint16_t gp;
uint16_t spikes;
}LRF_DETECTION_PROFILE;
typedef struct S_DBC_LRF_DATA{
uint32_t id;
char serial[33];
@ -192,24 +206,9 @@ typedef struct S_DBC_LRF_DATA{
uint32_t base_shift;
uint32_t mirror_shift;
float max_range;
uint16_t m_order;
uint16_t m_offset;
uint16_t m_delta;
uint16_t m_flip;
uint32_t m_width;
uint16_t m_sst;
uint16_t m_sun;
uint16_t m_gp;
uint16_t m_spikes;
uint16_t s_order;
uint16_t s_offset;
uint16_t s_delta;
uint16_t s_flip;
uint32_t s_width;
uint16_t s_sst;
uint16_t s_sun;
uint16_t s_gp;
uint16_t s_spikes;
uint8_t active_profile;
LRF_DETECTION_PROFILE mlrf_profile[LRF_MAX_DETECTION_PROFILES];
LRF_DETECTION_PROFILE slrf_profile[LRF_MAX_DETECTION_PROFILES];
}DBC_LRF_DATA;
typedef struct S_DBC_UART_DATA{

Loading…
Cancel
Save