NXT internal data logging via Bluetooth
Debugging a real-time control embedded software is a diffucult job even if you had a powerful debugger (setting break point at the specific line does not help you to debug a NXTway-GS...). So typical real-time control software developer uses some data measurement tool to analyze the run time behavior of the application. nxtOSEK provides a Bluetooth data logging API (ecrobot_bt_data_logger) and this API sends pre-configured data (Sensor data, Motor rev and internal status) to the NXT GamePad utility on the host PC. If you stop a data logging, you can save all logging data into a CSV file, then you can analyze what was happened inside of your NXT.
You can visualize the logging data in data analysis software (e.g. Microsoft Excel, MATLAB...)
Back to Samples