Skip to content

Dummy Telemetry Test Script

Note: This guide assumes that you have installed the GCS application, have it set up correctly, and know how to run it. If you haven’t done so, please refer to the Installation Guide and Running GCS Guide.

The purpose of this script is to confirm that the communication between the GCS Integration Library and the GCS Application is working. The script will randomly generate dummy telemetry data and send it into the vehicle telemetry queues.

  1. Under the User Interface Repository (GCS application), go to the .env file.
  2. Ensure DUMMY_DATA_ENABLED = false and TEST_PUBLISHER = false. This will disable the GCS-side testing so it can recieve the dummy test data from the GCS Integration Library Repository.
  1. Clone the GCS Integration Library Repository
  2. Go to xbee-tel-update-testing branch
Terminal window
git checkout xbee-tel-update-testing
  1. Install serial library. This is not needed for the testing script, but is required for the repository to work with the Xbees.
Terminal window
pip install serial
  1. Change directory to Communication folder
Terminal window
cd Communication
  1. Run the test script
Terminal window
python3 xbee_tag_gcs.py
  1. Run the GCS application if you want to see results on the UI. Otherwise, ensure RabbitMQ container is running.

  2. Open docker desktop and click on RabbitMQ’s port link.

    RabbitMQport
  3. Log in with username: admin password: admin.

  4. You should see each that vehicles’s telemetry queue is receiving the dummy telemetry data as shown below. If you ran the GCS application, the data should be displayed on the UI.

RabbitMQReceiving