Currently fetcher is configured to write only to stdout. It should be possible to pass a command line option to have fetcher write its output to any stream (such as a file or pipe).
Command would look like:
fetcher -o <output_stream>
This will require the modification of how sensor data is printed (to allow writing to any stream using fprintf) as well as the parsing of command line parameters.
Finally, make sure you update fetcher.use to include the new command line option.
Currently fetcher is configured to write only to stdout. It should be possible to pass a command line option to have fetcher write its output to any stream (such as a file or pipe).
Command would look like:
This will require the modification of how sensor data is printed (to allow writing to any stream using
fprintf
) as well as the parsing of command line parameters.Finally, make sure you update
fetcher.use
to include the new command line option.