|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Re: Linux based development
Are we allowed to actually modify the WPILib code?
|
|
#4
|
|||
|
|||
|
Re: Linux based development
You are free to modify the code, but be careful, because if updates come out you'll loose your changes (or have to reapply them).
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 |
|
#5
|
||||
|
||||
|
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....) |
|
#6
|
|||
|
|||
|
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.. |
|
#7
|
|||
|
|||
|
Re: Linux based development
Working on it.
|
|
#8
|
|||
|
|||
|
Sounds awesome!
|
|
#9
|
||||
|
||||
|
What do you mean? I have used netbeans on both ubuntu and debian with no problems other than basic getting used to the IDE which is normal with all software for me.
|
|
#10
|
|||
|
|||
|
Netbeans is too bloated. I personally enjoy just text editor + commandline
|
|
#11
|
||||
|
||||
|
Re: Linux based development
Quote:
![]() |
|
#12
|
|||
|
|||
|
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
|
|
#13
|
||||
|
||||
|
Re: Linux based development
Well that may do it. However I was able to have 20 bashshells open and running various scripts, as well as pandora and live streaming videos with vlc with no problem with 3GB RAM and a low end 2.1GHz processor.
|
|
#14
|
|||
|
|||
|
Quote:
Also... netbeans has little to no options... customization is difficult.. at least eclipse has options... |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|