raiden00pl opened a new pull request, #1460:
URL: https://github.com/apache/nuttx-apps/pull/1460

   ## Summary
   
   This library provides real-time data logging functionality for NuttX.
   
   Supported features:
     - up to 255 channels possible
     - support for standard data types and user-specific data
     - support for vector data or point data
     - support for character-based channels (text messages)
     - support for channel metadata - can be used to enumerate samples or 
timestamp
     - stream buffer overflow detection
     - remote control with commands
     - protocol and interface implementation can be different for control 
commands and stream data
     - (optional) support for user-specific commands
     - (optional) support for samples divider
     - (optional) support for ACK frames
     - (optional) support for user-defined types
     - (optional) support for non-buffered critical channels
   
   In the future I would like to extend its functionality. What comes to my 
mind is:
   - logging to file
   - network support
   - CAN (this one can be tricky, but I have some ideas)
   
   Additionally to NuttX part I wrote a Python plotting tool based on 
matplotlib and some initial work for GUI in wxPython.
   For now, the command-line interface is quite functional, but I'm going to 
publish it later, as it needs some more polishing.
   Below I present some screenshots with captured data (in fact, they are all 
animated charts, but I'm too lazy to create gifs from them :) ).
   
   ## Examples
   
   1. nxscope example on sim target with emulated serial port. Below with 
enabled chan0 (uint8_t type) and chan19 (string-type channel that sends 'hello' 
text message)
   
![NaS2OgD](https://user-images.githubusercontent.com/6563055/208253441-a8f788dc-40ac-4e07-98a3-cd69849f3552.png)
   
   
   2. b-g431b-esc1/foc_f32 with integrated nxscope support (I will upstream 
this one day). Plot shows channel 0 with motor phase currents enabled. Some 
parameters:
   
   - foc notifier = 10kHz, nxscope samples div = 5, which give us sample rate = 
2kHz, 
   - serial interface baud = 10M, 
   - txbuffer size=2560, RXDMA enabled, TXDMA enabled,
   - data stream over ST-Link VCOM with an interval = 100ms (convenient to use, 
but we lose access to the console, so debugging is hell)
   
   
![iabc,notifier=10k,div=5,baud=10M,txbuf=2560,stream_send=100ms](https://user-images.githubusercontent.com/6563055/208253699-81cd5814-9736-457e-9dee-62386806f436.png)
   
   
   3. as above but with additionally enabled channel 1 showing DQ currents 
   
   - nxscope samples div = 10, sample rate = 1kHz
   
   
![iabc+idq,notifier=10k,div=10,baud=10M,txbuf=2560,stream_send=100ms](https://user-images.githubusercontent.com/6563055/208253854-d7e39f4e-da9c-4515-9190-8ed5449fc3e6.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to