Go to Post "We just fundraised $5000 for registration, and you spent it all on balloons?" - [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #1   Spotlight this post!  
Unread 03-08-2016, 04:05
AMendenhall AMendenhall is offline
Registered User
FRC #3925
 
Join Date: Sep 2015
Location: Ventura
Posts: 28
AMendenhall is an unknown quantity at this point
Multiple Languages on RoboRIO?

I've found that C++ is nice for doing vision and controlling certain sensors in FRC (not to mention speed or any serial bus communications). I also prefer Java for everything else. So, would it be possible to run both on a RoboRIO at the same time? If so, how would the two different parts of the program communicate?

<speculation>
You have to install the JRE onto the RoboRIO in order to work in Java, and install the latest version. I'm not sure exactly what this does inside the filesystem of the RIO, but that sounds to me like it may cause problems running two languages.
I suppose there would have to be a custom compiler in order to use both Java and C++. Rewriting WPILib stuff wouldn't be feasible, at least for me - I'm not really sure what goes on under the hood of the C++ toolchains or development tools added with the FIRST update suite.
</speculation>

Even if this isn't a possibility, I'd be interested to learn more about what is happening in the RoboRIO: what files are being accessed and where on the RIO (I've only scratched the surface, I assume, with FTP), how a program sends data through NetworkTables, what JNI is etc.
Thanks!
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


All times are GMT -5. The time now is 09:42.

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