Real Time Import into Greensea WorkspaceReal Time Import requires an application that can export NMEA sentences in real time via a computer port, and the use of gss_nmea2gss. Real Time Import ExampleIf your application can export NMEA sentences in real time to a computer port, you will need to know how to configure it. The application's documentation should provide the information you need. For example, if your application can export an NMEA GGA sentence (LAT/LON coordinate data) using TCP/IP address 192.168.1.34, port 16720, you would execute the following command in a terminal window before starting Greensea Workspace (this command should be entered on one line):
Where:
Using a Shell Script to Start the Helper ProgramTo create a shell script, the above command can be entered into a .sh file as follows (using the "\" to indicate more data for the command follows on the next line, which makes the file easier to read):
#!/bin/bash A desktop shortcut can be created for this .sh file to make it easier to execute. Information about creating a shortcut can be found online. Options for gss_nmea2gssYou can add the help=true option to the gss_nmea2gss command to display a complete list of supported channels and input parameters. gss_nmea2gss help=true View the gss_nmea2gss help information. Modifying Greensea's Workspace Configuration for ImportHere is a sample excerpt of the modification required to be added to the process_server_config.yml file. - client_name: videoray uuid: USER_CREATED_NAME process_name: /home/videoray/USER_CREATED_SHELL_SCRIPT_NAME.sh arguments: - ~ process_cmd: keep_alive publish_console: 0 keep_alive_ms: 1000 USER_CREATED_NAME and USER_CREATED_SHELL_SCRIPT_NAME should be replaced with the names based on your preference and the filename of your shell script. For assistance modifying the Greensea Workspace configuration or managing processes, please contact VideoRay Support at support@videoray.com. |