|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Tool to easily deploy code, for non-programmers
This is sort of a follow-up from this post:
http://www.chiefdelphi.com/forums/sh...d.php?t=110219 So, several of our non-programmers had difficulty learning how to compile and deploy code to the robot. I decided to try writing a small program that tries to simplify compiling and deploying code as much as possible. It basically downloads the latest source code from an SVN repository (or if there's a folder called "source" in the same folder as the exe, it uses the code from that instead), compiles it, configures the ip address of the computer, and transfers the compiled program via ftp to the robot. I tried to make it as simple as possible: once you set up the options, it should just be a matter of opening the program and clicking a single button. Limitations: It's for C++ only, and any computer that uses this needs to have WindRiver installed. It also only works on Windows. It's set up to download code from an SVN repository only, since that's what my team uses, but you can circumvent that by placing your source code inside a folder called "source", as I stated above. The source code also needs to be a WindRiver project (it has the `.wrmakefile` files in it and such). I'm still in the process of testing it, but I thought I'd post what I have now in case somebody finds it useful. Feedback is appreciated! Link: (source code and exe included) http://www.filedropper.com/one-click-deployr4 |
|
#2
|
|||
|
|||
|
Re: Tool to easily deploy code, for non-programmers
Seems unnecessary.
Once your programming laptop is set up, its just a matter of going to FIRST>Deploy (or whatever that option is called) in WindRiver. Its ALREADY a two-click solution. |
|
#3
|
|||
|
|||
|
Re: Tool to easily deploy code, for non-programmers
True, except for the programmers who've got multiple projects lying around (on the hard drive) and we mechies have no idea which project is what or even that we're deploying the right version of code. Especially when our team has the software guys write test/utility code separately from the main code to test our systems.
|
|
#4
|
||||
|
||||
|
Re: Tool to easily deploy code, for non-programmers
Quote:
|
|
#5
|
|||
|
|||
|
Re: Tool to easily deploy code, for non-programmers
We actually have our software team split up into subsystem teams, who write multiple pieces of code (hardware test code, prototype code, subsystem code, and manual diagnostic code). Unless there is a way of maintaining multiple programs on the cRIO (which I'm not aware there is, unless you write a big umbrella program as a program chooser, or maybe there is)... And we had a naming scheme for the projects and we're finally doing documentation (last I checked, which was a while ago), so non-programmers (and programmers from another system) know what's going on.
Last edited by nathan_hui : 12-01-2013 at 18:59. |
|
#6
|
||||
|
||||
|
Re: Tool to easily deploy code, for non-programmers
Same with Java, though I use git bash anyway.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|