Grid display using C++
Posted on 2004-07-30
My senior project partner and I need some help in programming a grid display using C++. A quick overview of our project: we are making a RF PET LEASH.
We are going to have 2 antennas which we will have fixed at 2 sides of a house and 3 transmitters doing their thing. The angles from the 2 transmitters to "Transmitter 3" (pet) will be the used to calculate the coordinates.
On the grid one of the antennas will be used as the zero axis and then there is the other one at a fixed distance away and then we have our "Transmitter 3" (x coord.) bopping away somewhere in the middle so ideally when "Transmitter 3" breaches the boundaries... we send out a warning signal.
So in one sentence "All the antenna's send data out to the pc, which parses them and displays it on the grid, calculating where the dot is and sounding an alarm when required."
We have a partial program right now that computes the coordinates of "Transmitter 3" and we would like to display this computed result relative to 2 fixed reference points on the grid. I did ask a few friends who are very familiar with C++ but it seems that grid/graph display is something they don't use or know much about.
Are there any specific books or websites you would suggest for this? Or better still do you know of a program that does something similar to this?
thanks in advance.