Go to Post however, if i tried it i would probably end up setting my hair on fire - Henry_Mareck [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 22-01-2005, 23:00
the_undefined's Avatar
the_undefined the_undefined is offline
German FES
AKA: Felix Geisendörfer
#1648 (Gearbox Gangstas)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Germany
Posts: 77
the_undefined has a spectacular aura aboutthe_undefined has a spectacular aura about
Lightbulb Team #1648's Robot Monitoring Program

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:

Code:
printf("snd Pwm_Out7=%02x Pwm_Out8=%02x\n", 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:

Code:
printf("snd SignedInt:%d\n", mySignedInt); // For Sending a Decimal Number
prinft("snd MyString$Hello_i_am_a_String\n");
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:


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).



This shows the Viewer Selection Window where you can choose your Viewer and set up the Variables you want it to use.


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

Last edited by the_undefined : 22-01-2005 at 23:45.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question: What was the first FIRST competition you attended? JVN General Forum 182 25-01-2016 08:24
The Death of FIRST Anton Abaya General Forum 23 03-05-2006 17:18
Question of the Week!!! (9/3/04) Andy Grady General Forum 36 19-09-2004 20:13
Metro teens put robot to test Brandon Martus FIRST In the News... 1 24-03-2004 17:06
Shelf Life Of A Team Vin211 General Forum 21 07-01-2004 22:31


All times are GMT -5. The time now is 10:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi