Hey everybody,
I just finished the development on a little Robot Monitoring Program in VB.Net for our Robot and I’m kinda courious what you guys think about it and if anybody would maybe like to use it for their team.
What it basically does is interpreting Commands send with printf() to your Computer and showing the Content of Variables and so called Viewers which are taking the values of variables you select and showing them graphically in a little Box on the Screen.
For example if you got the Variables pwm07 and pwm08 you want to use these in the Program you just add this little Line somewhere in your Code to see it:
printf("snd Pwm_Out7=%02x Pwm_Out8=%02x
", pwm07, pwm08);
If you don’t want to send the Variable as a Hex String for some Reasons (like Performance, Signed Types, Strings, …) you can also use these notations:
printf("snd SignedInt:%d
", mySignedInt); // For Sending a Decimal Number
prinft("snd MyString$Hello_i_am_a_String
");
The other thing thats kinda nice is that the Viewer Windows for the Program a easily expandable and not limited to a set amount of varibales (well maybe to some point with performance but that varies). So theoretically you could make a Viewer that simulates an entire Robot + Playingfield, but since this thing would need tons of variables thats might getting a little harsh on performance : ).
But whatever I added some Screenshots to give you guys a little better Idea about what I’m talking:
http://www.werocktheusa.com/gw/mainscreen.gif
**This is the Main Window, to the Right you see 2 boxes. One shows all avaible variables and one shows the ones your watching. Underneath it you see all Input from the Controler (besides the snd snd’s which are hidden).
**
http://www.werocktheusa.com/gw/selectviewer.gif
This shows the Viewer Selection Window where you can choose your Viewer and set up the Variables you want it to use.
http://www.werocktheusa.com/gw/viewerwindow.gif
This is another Shot of the Main Windows, but this time filled with Viewers. One is Watching the Pwm Outputs with a little Wheel Screen, one show the signal of an connected IR Sensor and the third one could be used to Display a Joystick Input (here it’s just using the PWM’s since I didn’t had a Joystick connected)
So if anybody is interested, has questions or anything like that, just post here : ). And btw. I believe it’s also possible to write these Viewer Classes in C# for those of you who don’t like VB.Net : ) …
Bye
Felix