Shop OBEX P1 Docs P2 Docs Learn Events
PENGUIN ROBOT Real Time Data Plotter — Parallax Forums

PENGUIN ROBOT Real Time Data Plotter

HumanoidoHumanoido Posts: 5,770
edited 2008-04-02 16:51 in Robotics
Title: Real Time Data Plotter
Code Name: penguin_realtime_dataplotter.bpx
Purpose: This program takes the incoming data stream
and plots the most current value on the Debug screen
in real time.


This Penguin Robot program is very useful as a working example
for virtual reality instrument panels and plotting data in real time.
It can be used as a stand alone example or as drop in code for
new programs. It's not only a plotter but an instrument viewer
panel as well. It's an integral part of the compass suite of
Penguin code.

humanoido

' The Penguin Real Time Data Plotter handles a a data stream and plots
' the most current value on the Debug screen. The data point is
' displayed 20 microseconds, then erased. A new data point follows.
' This is useful for plotting the changing cardinal compass
' direction or other data, and then displaying the result in an easy
' to understand panel that reads numerically. It handles numbers from
' 0 to 360 (covering a complete circle of angles, etc. and can be
' scaled and expanded) and plots the incoming data point to
' a corresponding proportional graphics scale panel. This program
' is the prerequisite for programs such as Mapping, Compass Plotter
' and Virtual Reality Knob.
Sign In or Register to comment.