Go to Post So why are we trying to go to Mars? It's because it's bigger, better, and bolder. Doing what nearly no other team can do, and defying all those who say it can't be done. That reward is a lot more than 9 points. - Mike [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #12   Spotlight this post!  
Unread 23-01-2010, 19:27
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Tips for C++ programming the 2010 control system

Quote:
Originally Posted by DanDon View Post
What should I have my classmate's IP address configured to?
The classmate can always be 10.xx.yy.5

Quote:
Originally Posted by DanDon View Post
I'm getting communications with the robot, and I have the camera tracking the target on a pan/tilt mount, but I'm not getting anything on the dashboard (nothing from the camera and nothing from the digital inputs/pwms either). The calls to DashboardDataSender are still there as per the 2010 Image demo.
You are running it locally? Are you getting an error from the data unpacking on the dashboard? Perhaps your data types don't match.

Quote:
Originally Posted by woodk View Post
I think the classmate sets itself to 10.xx.yy.5 when you go into the Driver Station account. You should probably leave it that when even if you are using for development.

If you use a separate laptop for development, you can set it to 10.xx.yy.6
Correct.

Quote:
Originally Posted by jc4p View Post
I could be wrong, but I think you just need to wait for the code to get updated and released. Last year, laptops attached to the dashboard would have the IP of 10.xx.yy.6, while the dashboard it self had 10.xx.yy.5. This year, because the dashboard and laptop are one item, the code needs to send its data to 10.xx.yy.5. Just wait until the new versions of the examples ship out and the updated verison of the CameraToDashboardExample sends to the correct IP.
The robot is the server and the dashboard is the client. Therefore the IP address of the dashboard does not matter. It will connect to the robot to get images.

Quote:
Originally Posted by woodk View Post
Has anyone got the CameraToDashboardExample to actually work? I can compile it but I get nothing on the DriverStation. I notice that the driverstation program changes your IP address to 10.xx.yy.5 however the CameraToDashboardExample program says it is sending the images to 10.xx.yy.6 I tried setting up a remote dashboard with the IP10.xx.yy.6 but it is not able to connect to the robot at all.
Remote dashboard is only used if you are running the dashboard on a different laptop than the driver station application. If you choose local, the packets will be sent to localhost.

Quote:
Originally Posted by woodk View Post
Since there is no source code available yet, I can't change the code to send to 10.xx.yy.5.
There is source code available. What source are you waiting for? Look at http://firstforge.wpi.edu/sf/projects/wpilib
Reply With Quote
 


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
2010 Control System Manual screamingeagle FRC Control System 9 11-01-2010 14:01
Unclaassified: Information about the 2010 control system Nadav Zingerman General Forum 35 24-11-2009 19:17
2009 Control System LabVIEW Tips and Pitfalls Travis Hoffman NI LabVIEW 3 22-12-2008 11:25
2009 Control System C++ Tips & Pitfalls heydowns Programming 1 19-12-2008 17:59
A few questions on programming the Control System Avarik Control System 21 08-02-2004 11:42


All times are GMT -5. The time now is 14:11.

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