TIDUED6B august 2018 – april 2023
Figure 2-10 shows the sensor node software flowchart.
Each sensor packet includes 4 bytes of the frame number, 4 bytes of the number of objects detected, and 12 bytes of tracking information for each object.
The tracking information for each object is 12 bytes which include 4 bytes track ID, 4 bytes target position in the X dimension, and 4 bytes target position in the Y dimension.
/*!
mmWave Object Field
*/
typedef struct _Smsgs_objtrackingfield_t
{
uint32_t tid;
uint32_t posx;
uint32_t posy;
} Smsgs_objtrackingfield_t;
/*!
mmWave Sensor Field
*/
typedef struct _Smsgs_mmwavesensorfield_t
{
/*! mmWave frame number */
uint32_t frame_number;
/*! Number of objects detected */
uint16_t num_objs;
/*! Tracking information for each object */
Smsgs_objtrackingfield_t objInfo[SMSGS_SENSOR_MMWAVE_MAX_OBJ];
} Smsgs_mmwaveSensorField_t;