ArduPilot / MissionPlanner

Mission Planner Ground Control Station for ArduPilot (c# .net)
http://ardupilot.org/planner/
GNU General Public License v3.0
1.76k stars 2.38k forks source link

Development setup #85

Closed StereotypicalSquirrel closed 11 years ago

StereotypicalSquirrel commented 11 years ago

I've been able to build the Mission Planner solution in Visual Studio 2012 and make changes to the code. I'm concerned when I use my diff tool it shows a lot of changes to files. For example, I added a couple of ToolStripItems to FlightPlanner.Designer.cs and git diff shows changes to line endings, ordering of items into what appears to be alphabetical order.

Do you have any recommendations for Visual Studio to minimise this? My changes so far would only be about 50 lines of code.

I'm working on some advanced Polygon and Grid/Path tools such as Convex Hulls, Smallest Area Rectangle, fixed area rectangles, etc.

Also, how are you accepting changes to the code? Should we be Forking and then submitting a pull request?

Thanks

meee1 commented 11 years ago

there is no real simple way unfortunately.

StereotypicalSquirrel commented 11 years ago

OK. I'm unsure which question you were answering.

What about development environments? Do you use visual studio - I'm wondering how my IDE wants to reorder so much in the forms.

And what about contributions? Do we fork and do requests or is the project closed to contributors?

John

meee1 commented 11 years ago

theres no realy way to clean up the designer level changes.

as for the code devel side, the standard git process works fine. fork, and use pull requests

StereotypicalSquirrel commented 11 years ago

Thanks. So with the Designer level changes, do you just live with them, or expect contributors to manually edit them to minimise the number of line changes?

Thanks

StereotypicalSquirrel commented 11 years ago

For anyone else watching this issue, @dspanogle has created a useful resource with instructions on building MissionPlanner at http://dev.ardupilot.com/wiki/compile-mission-planner/

StereotypicalSquirrel commented 11 years ago

@meee1 I'm still looking for some direction with regard to the myriad of files that Visual Studio is updating. I think it's a one-off and then after that the changes are minimal, but would like to know how you work it as the manual merging of individual files is painstaking and will just happen over and over again each time a change is made in Visual Studio.