Giter Club home page Giter Club logo

cv2x-traffic-generator's People

Contributors

fabianeckermann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cv2x-traffic-generator's Issues

Checksum failure when decoding transport blocks

Issue Description

  • Packets are failing the CRC checksum (srslte_bit_diff) in the srslte_pssch_decode function in pssch_ue. This causes num_decoded_tb to always equal 0 (even when num_decoded_sci is non-zero), or takes a very long time before a packet passes srslte_pssch_decode.

Setup Details

We have tried 2 different synchronization setups to fix this issue. We are using two NI 2901 USRPs.

  1. Synchronization with 2 Keysight waveform generators. Both USRPs are connected to a signal generator at 10MHz and another at 1 Hz.
  2. Synchronization with GPSDO using OctoClock clock distribution module

Expected Behavior

  • num_decoded_tb to be a non-zero value during transmission of C-V2X packets.

Steps to reproduce the problem

  • Add ERROR("Checksum error") error printing statements within the CRC checksum in pssch.ue/srslte_pssch_decode, i.e.:
  1. Change # 1
  if (srslte_bit_diff(q->cb_crc_temp, &q->c_r[(K_r - L)], L) != 0) {
        ERROR("Checksum error");
        return SRSLTE_ERROR;
  }
  1. Change # 2
  if (srslte_bit_diff(q->tb_crc_temp, &q->b[(B - SRSLTE_PSSCH_CRC_LEN)], SRSLTE_PSSCH_CRC_LEN) != 0) {
    ERROR("Checksum error");
    return SRSLTE_ERROR;
  }
  • For waveform generator synchronization: Run ./pssch_ue and ./cv2x_traffic_generator -d UHD -a clock=external -n 5 -l 10 -s 0 on separate USRPs
  • For OctoClock synchronization: Run ./pssch_ue and ./cv2x_traffic_generator -d UHD -a clock=gpsdo on separate USRPs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.