Sylphase SDGPS
The software-defined GPS(/GNSS) toolkit
cooked2-to-raw

Type signature: (cooked2->raw)

The cooked2-to-raw node is used to obtain the original raw data by adding the GNSSSample Packets into the cooked2 stream.

Earlier it was stated that nodes that can be linked arbitrarily as long as their interface matches. This node is an exception because you must have used the --output-samples option when using the sylphase-usbgpsimu2 or sylphase-usbgpsimu2-offline nodes. Put simply, not all cooked2 files can be fed into this node.

This node can be useful if you wish to run in the sylphase-usbgpsimu2 node in real time and obtain raw data for future processing simultaneously.

Help

Usage:

cooked2-to-raw [OPTION]...

Allowed options:

Option Description
--help produce help message

Example

sdgps sylphase-usbgpsimu2 --output-samples ! trim-stream 0 120 ! tracker ! write-cooked2-file foo.cooked2

Could then be run with:

sdgps read-cooked2-file foo.cooked2 --rate inf ! cooked2-to-raw ! write-raw-file foo.raw

To obtain the raw stream that was used to generate the subsequent output.