📄 readme.design
字号:
DESCRIPTION: This file discusses the design of gpsplot, a OpenGL plotting tool used to plot data that OpenGPS produces.AUTHOR: Stephan EsterhuizenDATE: 24 July 2003----------------------------------------------------------------------------------------------------FEATURES/LIMITATIONS--------------------gpsplot will be able to support the following features: - time plot of IE,QE,IL,QL overlayed on each other - time plot of any combination of I/Q dumps, including + Power Late + Power Early + Power Prompt - polar plot of any two I/Q dumps - Different colours for overlayed graphs - Only graphs of some magnitude/units can be overlayed - Only one OpenGL window per gpsplot instance is possibleData communication is via ring buffer containing elements CHAN_INFOoffset size quantity 0 long length of buffer in units size( CHAN_INFO) 4 long most recently written element 8 size( CHAN_INFO) array of elementstotal length: N * size( CHAN_INFO) + 8 bytes--------------GRAPH FEATURES--------------In order to sustain the above features, the OpenGL graphing library must---------------GRAPH FUNCTIONS---------------Polar-----The polar plot graphing utility will have the following function calls - polarPlotDraw() : This gets called by the idle OpenGL function. This function will draw all the points in its data array - polarPlotAdd(x,y,colour) : Add point (x,y) to the polar plot's data array. - x,y,index = polarPlotGet(index) : Returns the x,y coordinates and colour of pixel at 'index'. index=0 is the newest pixel, while index=MAX_POLAR_BUF is the oldest x,y coordinate - polarPlotXLabel(label) : change the x label to 'label' - polarPlotYLabel(label) : change the y label to 'label'The data array for polarPlot will be a circular buffer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -