Record Replay with GOOSE Embedded Platform - Fraunhofer-IIS/ogre GitHub Wiki

Step wise procedure to set up GOOSE embedded platform V3 for Record-Replay with Notebook (having USB3.0):

Interface connections

  • Connect USB3.0 and ethernet cables with GOOSE, as shown below: GOOSE_Embedded_V3_components

  • Here we use Dell Notebook having USB3.0 (Type C) interface, as shown: GOOSE_Embedded_V3_components

Check static IP address for GOOSE

  • Type ifconfig in recording notebook terminal where GOOSE is connected via serial control interface. Check the static IP assigned to the GOOSE. Here, e.g. the IP for the port eth1 is shown: GOOSE_Embedded_V3_components

  • If the IP is still not assigned type:

    • ifdown eth1
    • ifup eth1
    • Check the ifconfig again
  • NOTE: The current OS in GOOSE is having AVAHI (zero network configuration) and it gets automatic a static IP which is fixed for that specific GOOSE. Normally it looks like 169.254.XXX.YY. Here, in the above picture it is with old rootfs of GOOSE that is why the IP looks different.

Make static IP address for notebook

  • In order to communicate between GOOSE and notebook both need to have a static IP.
    One method possible to do this is shown here:

  • Type ifconfig to check the IP address and ethernet port as: GOOSE_Embedded_V3_components

  • ethernet port in above example is enx00e04c3605c9 and no IP is assigned

  • Set IP to static for notebook: open file sudo vim /etc/network/interfaces and add the lowest 4 lines as shown below: GOOSE_Embedded_V3_components

  • NOTE: As GOOSE normally gets static IP like 169.254.XXX.XX. The static IP in recording notebook should also be assigned like 169.254.XXX.YY. Assign different IP for recording notebook e.g. 169.254.XXX.YY+1. Here, in the above picture it is with old roots of GOOSE that is why the IP looks different.

  • Type sudo ifdown enx00e04c3605c9

  • Type sudo ifup enx00e04c3605c9

  • Type ifconfig to check if static IP is assigned for the port enx00e04c3605c9 GOOSE_Embedded_V3_components

  • If the IP is still not assigned, reboot the notebook and check the ifconfig

Connect to GOOSE from notebook via IP

Run the python script

  • In GOOSE SBC root folder or any other place type flexiband_uart.py & to run the python script for handling the usb request from FX3.

Open the FrontendGUI on the notebook

  • To start the FrontendGUI on the notebook, type FrontendGUI GOOSE_Embedded_V3_components
  • Make sure that the GOOSE Frontend is detected: at the arrow it must read "GCBB USB 3.0".

Record

  • Make sure to connect the GNSS Antenna cable with GOOSE Ant.

  • Disable the replay from GOOSE terminal by typing disable_replay

  • For single band L1 recording, in the FrontendGUI select variant GOOSE_L1 as shown: GOOSE_Embedded_V3_components

  • Select the correct configurations: enter the path, file name and time for recording, enable AGC, and then press record to start recording as shown with red arrows in the picture below: GOOSE_Embedded_V3_components

  • While recording, there should be no Errors and no Pack.Lost shown in the GUI above.

  • It is always better to analyze the histogram and spectrum before starting the recording to check if everything is working fine.

  • L1 frequency spectrum GOOSE_Embedded_V3_components

  • In the above picture we see the tone at -9.58MHz which is the L1 Intermediate Frequency (IF) in the GOOSE frontend. It shows antenna is connected and the setup works as expected.

  • L1 histogram (Gaussian distribution as expected) GOOSE_Embedded_V3_components

Replay

  • Enable the replay. Open GOOSE SBC terminal and type enable_replay

  • For single band L1 replay, in the FrontendGUI select variant Replay I-1m (L1_E1abc_B1_G1)/1 as shown: GOOSE_Embedded_V3_components

  • Then in the FrontendGUI, specify the already recorded file and then press Run or Playback GOOSE_Embedded_V3_components

  • While replay, there should be no Errors and no Pack.Lost shown in the GUI above.

Run the receiver program

  • Type nice -n -20 taskset -c 1 ogre_console --gps-l1 --galileo-e1 --cold-start --log-ch-states

  • If you want to send the ogrp outupt to GooseGUI then add also --ogrp-output=1

  • After 27-30 secs the output of the receiver should contain 3D position fix based on the replayed file (if the recorded file contains at least 4 satellites with elevation greater than 45 degrees and giving Dilusion Of Precision (DOP) less than 2.5).

Turn off SBC safely

  • To turn off the SBC from terminal type shutdown -h now and then turn off the power supply. (Don't turn off the power supply, while GOOSE is running)
⚠️ **GitHub.com Fallback** ⚠️