|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Outputting Data Onto Computer Screen
Ok anyone have an idea how to do it? How draw the image from the robot sensors to the screen? Not through the dashboard but a separate program. I know that if I print something out, it only shows up on the IDE output window. So theoretically I can just put the OpenGL code on the robot, the window would pop up to the screen. But if that would work, that would be takin away processing power and memory. But the cRio does not have a video card, so it will not be able to do OpenGL... Or I can just render it softwarely.
|
|
#2
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
What do you mean by image from the robot sensors? Do you mean you want to generate an image from sensors on the robot?
|
|
#3
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
The sensors would take in an array of data of the distances and then that can be turned into an "image". So each distance can be turned into a color, which can be easily put on the screen with OpenGL
|
|
#4
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
This seems like a job for the dashboard. IF you decide to go with another program my suggestion would be to pipe the array to standard out and then read it in from a C++/Python/Haskell/C#/Language of Choice program that then outputs the image to the screen.
|
|
#5
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Quote:
|
|
#6
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Why would your display program be modifying data?
|
|
#7
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
So it can alter reality... LOL, yea you are right, why would it modify anything?
|
|
#8
|
|||||
|
|||||
|
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. |
|
#9
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Quote:
|
|
#10
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
The real question is WHY?
|
|
#11
|
|||
|
|||
|
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
|
|
#12
|
|||||
|
|||||
|
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. |
|
#13
|
|||
|
|||
|
Re: Outputting Data Onto Computer Screen
Quote:
Edit, Im an idiot at times. :\ |
|
#14
|
||||
|
||||
|
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 |
|
#15
|
||||||
|
||||||
|
Re: Outputting Data Onto Computer Screen
Quote:
|
![]() |
| 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 |