Go to Post Imagine your crate going over Niagara Falls => pack it accordingly (esp if you are attending the Toronto Regional :^) - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 24-03-2011, 21:22
aaddcc aaddcc is offline
Registered User
no team
 
Join Date: Mar 2011
Location: United States
Posts: 1
aaddcc is an unknown quantity at this point
FRC Java on Mac OS X

Hi everyone,

I've heard from other robotics members that this is the best place to go for help, which I need a lot of. I never really thought of myself as on the robotics team at my school, but I did occasionally come to help out with mechanical things since I have friends on the team. I can program well and most of my friends know that, but I wasn't really interested in being on the program team because of the people on it. Evidentially, the programming team is being extremely secretive and blatantly refuses to test coding, so the head of our robotics team asked me to program the robot.

I feel fairly confident about programming the robot in Java, since I already know how to program in Java and all of the documentation seems easy enough to understand. What I cannot seem to figure out, is how to connect to the cRIO on my Mac so that I can upload the program to the robot.

The cRIO might not even have the right image on it, but I don't know how I can update that either. I tried to connect and set up a network (Netbeans even said I was on the right subnet), but it just won't connect. I would prefer to connect to it over Mac because that's what I prefer, but I also have Windows XP and 7 running on parallels on my computer, so I could connect with that too. I haven't been able to find any information about connecting to the cRIO on Mac, and the only information I've been able to find about imaging the cRIO requires LabView, which no one even seems to know where it is.

Please help me by pointing me in the right direction or telling me how to connect to the cRIO. This is very frustrating. I tried to setup a network over ethernet with a router and made my computer the host, but it didn't work. I even tried using a cross over cable, but Netbeans refuses to connect.

Sorry that my post is so long, but I figure it's better to articulate all the struggles I'm having now rather than being asked later.

Thank you ver much
Reply With Quote
  #2   Spotlight this post!  
Unread 24-03-2011, 22:08
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: FRC Java on Mac OS X

I don't think any of the cRIO stuff was made to run on a Mac
However, u may want to either:
1. Contact National Instruments to see if they have a solution
2. FTPing into the cRIO
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 24-03-2011, 22:16
nchen99 nchen99 is offline
Registered User
AKA: Nelson Chen
FRC #2587 (DiscoBots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Houston
Posts: 2
nchen99 is an unknown quantity at this point
Re: FRC Java on Mac OS X

I have generally had little trouble using my Macbook Pro to deploy code to the cRIO since FRC Java was released last year. The only drawbacks are that the cRIO imaging tool and Driver Station are Windows-only, but we run both from the Classmate. If your team competed in a regional this year, they had the correct cRIO image (v28 required to pass Inspection).

You need to set your Mac to a static IP address of 10.XX.YY.Z where:
XX are the first 2 digits of your team's number
YY are the last 2 digits of your team's number
Z is a number greater than 6 (so you don't conflict with static IP addressess of the cRIO, radio, DS, etc.)
Subnet Mask should be 255.0.0.0 (although you seem to have this part right)

To check if you're connected to the cRIO, open Terminal and type:
ping 10.XX.YY.2 (IP address of the cRIO if imaged correctly)
where XX.YY is your team number

You also need to set your Team # in Netbeans:
Netbeans --> Preferences --> FRC Configuration tab --> Fill in the Team Number box

Good luck and hope this helps!
Reply With Quote
  #4   Spotlight this post!  
Unread 25-03-2011, 08:37
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: FRC Java on Mac OS X

The only other thing to try off the bat is to disable the Mac's firewall.

If this doesn't help, please post the run log.
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


All times are GMT -5. The time now is 13:25.

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