![]() |
Linux based development
I'm currently using a virtual machine to build and compile my cRIO project
Is there a way to do it without windows? From what I can tell, the netbean plugins are executing a bunch of commands (what I don't know) If that's not possible, is it possible to build and upload via some sort of build script or ant build script? Opening up netbeans on anything is a pain, especially in a virtual machine, so if all I could do is deploy via a commandline tool in windows, it will be great. Also, I can't seems to access the sourcecode for wpilib java even though I'm logged in. Is that also proprietary? |
Re: Linux based development
OK... the plugin is pure java and works on either Windows, Mac or Linux. So you can run that on Linux without any problem, I use a Mac as my development system. You'll still need to have a windows system (or some emulation) to run the Driver Station as that is Windows only.
The driver station can run on a different computer from the Netbeans development tools, just make them different IP addresses. The source code is always built into the release. In your user directory, look for the sunspotfrcsdk folder. Inside there there is a lib directory with the WPILibJ project that contains all the source code for that release. Whenever you get a new update, the source updates as well. Brad |
Re: Linux based development
Are we allowed to actually modify the WPILib code?
|
Re: Linux based development
Quote:
Better is to make additional classes or subclass the pieces in the library to add features. For example, if you want to make your own implementation of a Jaguar, the make a class the extends (subclasses) the built-in class. Then you can override the built-in methods or add your own. Brad |
Re: Linux based development
Linux Development is 100% possible.
Netbeans is available on every OS. Simply Install the latest Netbeans for your Distro, in your Native Package format or through your native package manager. Install the plugins just the same as with any Windows computer. Set up that computer with a different IP address from the other laptop that is the driver station (driver station must be Windows). I believe you can deploy code just the same... (We are a rookie team and have not preformed the benchtop test yet....) |
Re: Linux based development
What about eclipse.. If you think eclipse is bad.. think again after you opened up netbeans...
Maybe we could port the dev tool to eclipse if it is just executing a bunch of commands.. |
Re: Linux based development
Quote:
|
Sounds awesome!
|
Quote:
|
Quote:
|
Re: Linux based development
Quote:
|
I have geany, about 3-4 terminal window, 20 tabs in Chrome and xchat. Sometimes i will have python or octave and vim in additional terminal windows
|
Re: Linux based development
Quote:
|
Quote:
Also... netbeans has little to no options... customization is difficult.. at least eclipse has options... |
| All times are GMT -5. The time now is 11:23. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi