Data Logging Controls
Data logging will not start by default. It is started from the data logging control panel or API
The logging frequency is 1Hz
The Orientation changes the Tilt and Roll output based on how the camera is oriented
IMU zero sets the zero value of Tilt and Roll to the current orientation
Scripting API and Data Logging
StartLogging starts logging and the return IsLogging:True confirms it has started
StopLogging stops logging and the return IsLogging:False confirms it has stopped
API calls that can be sent via TCP/UDP/Serial or used within scripting
Other calls are available through the API: Rayfin Scripting API | Data Logging
Built-in sensor logging format
Data is logged as a .CSV in the “/Media/Data” folder
Tilt and Roll are logging in the $--SCF string for all Rayfin models
Depth and Temperature are logged in the $--SCF string for camera models with a built-in depth sensor
The data is echoed as an output on UDP port: 8886
The format for the SCF string is shown below
1 | SystemDateTime | 2020-11-05 9:51:152 | SystemDateTime | 2020-11-05 9:51:162 |
2 | NMEA | $--SCF | NMEA | $GPRMC |
3 | Blank (future) | UTC | 095116 | |
4 | depth | 2.53 | latitude | 4124.8963 |
5 | temp | 17.75 | bearing | N |
6 | heading | -46.67 | longitude | 08151.6838 |
7 | relative | R | bearing | W |
8 | roll | 0.9 | fix quality | 1 |
9 | pitch | 46.77 | satellites | 05 |
10 | headingAcc | 2.5 | HDOP | 1.5 |
11 | rollAcc | 0.05 | Altitude | -100, M |
12 | Blank (future) | ellipsoid | -34, M | |
13 | status | 5 | time DGPS | |
14 | selfTest | 15 | DGPS id | |
15 | checksum | 0*0B | checksum | 0*75 |