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):
Follow the page Getting started with the GOOSE Embedded Platform Version3 till check if everything works fine
-
Connect USB3.0 and ethernet cables with GOOSE, as shown below:
-
Here we use Dell Notebook having USB3.0 (Type C) interface, as shown:
-
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 porteth1
is shown: -
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.
-
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: -
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: -
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 portenx00e04c3605c9
-
If the IP is still not assigned, reboot the notebook and check the
ifconfig
- Type
ssh [email protected]
, password isroot
- 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.
- To start the FrontendGUI on the notebook, type
FrontendGUI
- Make sure that the GOOSE Frontend is detected: at the arrow it must read "GCBB USB 3.0".
-
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: -
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:
-
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
-
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)
-
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: -
Then in the FrontendGUI, specify the already recorded file and then press
Run
orPlayback
-
While replay, there should be no Errors and no Pack.Lost shown in the GUI above.
-
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).
- 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)