Go to Post Could you explain this concept of a break from FIRST? Did my wife put you up to this? - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2010, 22:02
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
Very Basic: Get a program running on the cRio that will show video on Classmat

We are attempting to learn how to get a program running on the cRio that can send data (especially video feed) to a dashboard. We are able to get template Labview programs that drive the robot running, but we don't have any idea how to use a dashboard. How would we go about that? The camera works fine when connected directly to the Classmate and also when connected to the router (as long as the ip addresses are on the same subnet.) We have successfully used the Setup Axis Camera utility, and we've now plugged the camera into port 2 on the cRio.

So, very very basic please. How can we get a program on the cRio and also get live data on a dashboard running on the Classmate?

Thanks!
Isaac
for 3018 Team Rocket
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 00:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,817
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Very Basic: Get a program running on the cRio that will show video on Classmat

First check that you have the latest default Dashboard program.
Check the pictures here to see if you have the correct one.

If you already downloaded the default Robot Project with some of your changes, then the camera code will already be in it.

Then make sure your camera has an FRC account (username: FRC, password: FRC).

The camera then plugs into port 2 on the cRIO with a crossover cable (pink in the KOP).

The ring around the camera lens should light up green after a minute or two.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2010, 08:40
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
Re: Very Basic: Get a program running on the cRio that will show video on Classmat

Yes, we have the updated dashboard on the classmate. The camera lights up when we give it power, and it's connected to port 2 on the cRio using last years crossover cable, which is orange (I've checked the wire to pin arrangement, it's definetly a crossover cable.). The camera has an ip address of 192.168.0.90, and has a "root", password "admin", and an "FRC", password "FRC" account. So when we run the default robot project, we open the Robot Main.vi and click run continuously. The program deploys, and we can drive the robot. Where should we see the camera image? Would it show up in the front panel of the Robot Main.vi? How can we actually use the dashboard. Do we login as driver after the program is running on the robot?
Reply With Quote
  #4   Spotlight this post!  
Unread 23-01-2010, 09:11
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Very Basic: Get a program running on the cRio that will show video on Classmat

While the code is being developed and running from the development tool, do not log out or fast user switch. Instead, use the Start menu to launch the Driver Station application -- or use separate laptops for development and driver station.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 23-01-2010, 13:06
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: Very Basic: Get a program running on the cRio that will show video on Classmat

At the moment we are having a similar problem. Our developer laptop is running on the team network with a dhcp assigned address of 10.2.79.10. The classmate has the static IP of 10.2.79.5. We ran the driver station update tool on both computers (from the developer account on the classmate). We then ran the dashboard on the developer computer and ran the classmate driver account. The two dashboards are different. We have the new dashboard Mark posted pictures of on the developer computer and a dashboard that is different than both of Mark's pictures on the classmate. So the camera is not working on the classmate pc but then i went into the driverstation and forwarded the dashboard to the remote dashboard at 10.2.79.10 and it works on the devoper computer fine. any help?

edit: SOLVED! okay so what we did was look for the driverstation and dashboard executables on both computers and discovered that the dashboard.exe file on the classmate was not updated even though the driverstation.exe was. no idea why though. what we then did was copy dashboard.exe and dashboard.ini from the developer computer to the classmate computer overwriting the previous dashboard files. it works now. I don't know if this will help the first team that posted but I suggest you guys check the dates on the dashboard.exe and driverstation.exe files
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award

Last edited by Burmeister #279 : 23-01-2010 at 14:17.
Reply With Quote
  #6   Spotlight this post!  
Unread 23-01-2010, 14:28
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
Re: Very Basic: Get a program running on the cRio that will show video on Classmat

Where in the start menu is the Driver Station application you're talking about? (or on the hard drive, we could just run the .exe if there isn't a start menu shortcut) And we are going to start using a second laptop for dev, but we don't have it yet, so everything is happening on the Classmate.
Reply With Quote
  #7   Spotlight this post!  
Unread 23-01-2010, 17:33
garyk garyk is offline
Programming Mentor: 668, 972, 2643
FRC #0668 (Apes of Wrath)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Santa Clara (Silicon Valley) Calif.
Posts: 93
garyk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the rough
Re: Very Basic: Get a program running on the cRio that will show video on Classmat

We have entries in the start menu, and also:

Start => All Programs => FRC Dashboard
Start => All Programs => FRC Driver Station

If all else fails, the .exe files are in:

c:\Program Files\FRC Dashboard\
c:\Program Files\FRC Driver Station\
__________________

Silicon Valley Regional 2005, 2006 972
Silicon Valley Regional 2007 668 Xerox Creativity Award
Championship Event 2007 668
Portland Regional 2008 668
Silicon Valley Regional 2008 668, 972
Beta Test Team 2008 668 (with 100 & 254)
Silicon Valley Regional 2009 668 Regional Chairman's Award; 2643
Sacramento Regional 2009 668 Winning Alliance (thanks, 1717 & 2473!), 2010 Winning Alliance 3256
CalGames 2006, 2007, 2008, 2009, 2010, 2011 Field Tech
NorCal FTC Regional 2008, 2009 Inspector
Championship Event 2009
San Diego, Silicon Valley Regionals; Champ. Event 2010 668, 2643, 3256
Silicon Valley, Madera Regional 2012 2643
WRRF Programming Instructor 2006-2016
Regional Woodie Flowers Award 2014 2643 Utah Regional

Reply With Quote
Reply


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
cRIO Not Running Program railerobotics NI LabVIEW 5 18-01-2009 08:48
student running the show newgrl101 Finding A Team 3 20-02-2006 20:27
Looking for a CAD program that will run on an older comp Cuog Inventor 3 10-12-2005 18:44
How to keep a program running at a school which doesn't get it? Jimmy General Forum 9 03-04-2003 10:08
Another post that will get 105 replies and 900+ Views... What is success??? Robby O Chit-Chat 9 03-08-2001 21:47


All times are GMT -5. The time now is 08:00.

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