|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Outputting Data Onto Computer Screen
Quote:
If all you want to do is output text, the "LCD" User Messages area on the Driver Station is available. |
|
#2
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Quote:
|
|
#3
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
The real question is WHY?
|
|
#4
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
I am not familiar with LabView, No one is, I rather do it in C++ with OpenGL, I think it has more potential then LabView
|
|
#5
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Quote:
Edit, Im an idiot at times. :\ |
|
#6
|
||||
|
||||
|
Re: Outputting Data Onto Computer Screen
Well if I am understanding ye right, you want to have a non-LabVIEW dashboard to display something (i.e. a computer generated image) on the Classmate?
As far as I know that wouldn't be legal for competition use with this year's rules, though you can certainly pipe out the dashboard data to another computer (via remote dashboard) and read the values coming in via whatever method of programming language you like (Processing sounds like fun). I haven't tried it, but it might work. -Tanner |
|
#7
|
||||||
|
||||||
|
Re: Outputting Data Onto Computer Screen
Quote:
|
|
#8
|
||||
|
||||
|
Re: Outputting Data Onto Computer Screen
Then all sounds good then for something like this.
-Tanner |
|
#9
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
I CAN put an arry of LEDs on the robot to light up each led according to the sensor input... That would be pretty cool
|
|
#10
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Quote:
EDIT: 2337 uses the vibration of the xbox controller to provide feedback to their driver, just another way of doing it. |
|
#11
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Any data visualization should be done off-board the target (cRIO). The robot doesn't care what you see on the screen, so why should it do any extra work to put it there? You just need to set up your robot to pipe the required data to an external viewer.
The dashboard classes built into WPILib are probably the easiest way to pull data off of the robot. The Labview example dashboard is probably the easiest way to view this data. You don't need to worry about any of the transport methods, and can just concentrate on doing things that matter. We used a custom Labview dashboard quite frequently to plot sensor inputs/motor outputs over time to help tune our control loops. If you really are opposed to using free functionality, you can set up your own socket connection to the target and pump the data through manually. Or run a http server on the robot and fetch selective data with http requests and return JSON/XML. Or whatever you want, really. Edit: I forgot about this. Seems pretty cool. http://code.google.com/p/webdma/ Last edited by Tom Bottiglieri : 12-04-2010 at 17:00. |
|
#12
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
As has already been said, you can run notepad as your dashboard if you like. The key is that it listens on the DB port and pulls the data from the data streams. Also said, you don't need to build bitmaps or renderings on the cRIO. Sure, you can do it if you try hard enough, but the fact that the cRIO doesn't have a video card might be a clue that it was designed for something else.
If you are interested in doing OpenGL programming, you can find many frameworks and toolkits to assist you in the language you choose, and yes, the scene graph, sometimes called the 3D Picture Control, will do 3D in LV. Honestly, I don't think you need OpenGL. LV has a display called the intensity graph which maps a 2D numeric field into color-coded display. It doesn't do contours and fancier stuff, but it does fast display, typically of spectrograms, but other times data from 2D microphone arrays, radio telescopes, etc. Greg McKaskle |
|
#13
|
|||||
|
|||||
|
Re: Outputting Data Onto Computer Screen
Quote:
"The dashboard" is just a program that receives data on a certain port. You don't have to use the one that is installed by default alongside the Driver Station application. It is perfectly reasonable to replace it with a custom program, either by replacing the default one with a custom one of the same name or by changing the Driver Station configuration file to start the one you want instead. See the forum discussion of ZomB, for example. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| outputting data to DS's usermessage | kennypu | C/C++ | 26 | 12-02-2010 02:41 |
| Can I download code from the RC onto my computer? | Team1341TechMan | Programming | 2 | 16-10-2007 18:29 |
| PWMs not outputting in Autonomous | 937Programmers | Programming | 15 | 08-02-2007 21:25 |
| computer LCD touch screen | John Gutmann | Electrical | 4 | 14-08-2005 17:13 |
| How do you upload an analog video onto a computer? | Avarik | Computer Graphics | 12 | 30-12-2004 21:42 |