| | |
| | | int32_t tof_i; |
| | | uint32_t tof_i_ui; |
| | | double tof_f; |
| | | extern int32_t freq_offset,freq_offset_filter; |
| | | extern int32_t freq_offset,freq_offset_filter; |
| | | void SetANCTimestap(uint8_t i,uint8_t* pollrx,uint8_t* resptx,uint32_t resprx,uint8_t* distoffset,int32_t anc_clockoffset_from_MK,uint32_t polltx) //写入时间戳信息 |
| | | { |
| | | memcpy(&anc_pollrx[i],pollrx,4); |
| | | memcpy(&anc_resptx[i],resptx,4); |
| | | memcpy(&tag_resprx[i],&resprx,4); |
| | | memcpy(&anc_distoffset[i],distoffset,2); |
| | | memcpy(&tag_polltx[i],&polltx,4); |
| | | memcpy(&tag_polltx[i],&polltx,4); |
| | | //anc_clockoffset[i] = anc_clockoffset_from_MK;//MK8000修改 |
| | | } |
| | | //void CalculateDists1(int64_t poll_tx_ts) |
| | | //void CalculateDists1(int64_t poll_tx_ts) |
| | | //{ |
| | | //for(int i=0;i<MAX_NEARBASE_NUM;i++) |
| | | // { |