Compass: mag field is occasionally 2x normal size
We should check the initialisation code to see if there's any possibility of a failure.
Well, if the problem occured since the introduction of the HAL the problem is most probably located there. Just for the HMC883 i would say the current arducopter libs are really outdated in that area. Look at Fabios freeimu implementation. If you want to see a good working synthesis of arducopter and freeimu look at multiwiis current sensor.c. Eos Bandi did a great job on that. Calculation of the initial gains is done there on a solid basis. Gathering 5843 and 5883 in one lib is not a good thing either. Accumulating data on a strict 75Hz basis is also pointless as the 5883 has good supersampling. I wouldn't set it to 75Hz and poll it exactly at that rate. Poll it at 70Hz and don't check for ack, chances are that you re-read a value but the over all lag is reduced. If you really want to keep that accumulatin/averaging stuff take 3 values and you will end up with good data from 5883 at 23Hz instead of pathetic slow 7,5 Hz. I may be completely wrong but that arducopter lib has be redone from scratch.
We haven't seen this problem in a long long time so I'm closing it.
And THAT sir is how you highlight a general lack of Systems Development Life Cycle.
Maybe one day you guys will grow up and be a big boy programmer shop. Your QA & bug testing procedures are a joke.
@MAVProxyUser, It's a bit hard to see how that's a helpful comment. FYI We spent hours yesterday on the compass libraries for both Pixhawk and APM2 looking for ways this issue could be created. Apologies for not making that clear in the comments.
Pushing you guys to actually adhere to an SDLC is really a VERY useful comment. Take it to heart. It is not about the many hours you put in. It is however about consistency across the board. Cherry picking the issues you want to fix, or the features that are the most flashy do not an SDLC make. Likewise failing to have a repeatable, public documented process does not lend itself to good development practices once you hit this scale.
Glad to see you guys considering JIRA here and there on the forums.
I hear what you're saying but your suggestion was wrapped in an insult which doesn't help in trying to get your point across. All it does is pull emotions in which cloud the discussion.
I'd like to point out that we are quite careful about the testing and release portion. I'm not saying that no bugs get through to the final release, but there are far fewer than in years gone by and the severity is also much less.
There is a method to ensuring safety and stability: 1) every check-in goes through the auto tester. The results can be seen here. http://autotest.diydrones.com/ 2) Before there's a release all the code goes through: (a) developer testing (b) release candidates with the last few release candidates taken from a branch to ensure no unplanned changes invalidate the testing. So you'll see branches for AC2.9, AC3.0 and finally AC3.1 in github: https://github.com/diydrones/ardupilot/tree/ArduCopter-3.1 3) warning are posted.
I will think a bit more about the earlier parts of the SDLC. My initial feeling is that it's difficult given that many of the resources are volunteer and not dedicated. Also I"m not sure that applying more process on top of the dev would actually lead to a better outcome in this project..
I find it hard to see how SDLC really fits with this project, just look at Strength vs Weaknesses and you'll see none of this would be here with such an approach. see http://en.wikipedia.org/wiki/Systems_development_life-cycle#Strengths_and_weaknesses
The project and like many Open Source projects are being created under Agile Methodologies, like Pair Programming, Test Driven development, Automated Testing, Continuous Integration, and the test coverage we get from people devoting their own-time (because its fun is great) is enormous, and by people with expertise and interest in the product. It's easy to hire a QA team, who then have no interest in final product, and the results are no where near as thorough.
IMHO the development cycle resembles SCRUM, where we have a meeting to discuss the most important requirements that need attention, and it's not just the fun or personally interesting ones, though they are subjective. It's led by a PM. And people help other devs get passed road blocks to complete tasks they have taken on (That's the SCRUM master role)
In fact Agile's criticisms are an advantage to a small development team we have . [Note: it does say it's not efficient in larger organizations, but it worked extremely well on the projects for a large cooperations I worked for, especially at the team level]
I've worked many processes over the years and this project is doing great on a lot of aspects (always room for improvement). Being pushed to do SDLC (as defined by wikipedia) is probably something we want to avoid.
NOTE: this is not saying that devs don't sit down, think about a design, implement, and maintain code, it's just much more iterative.
Anyway, probably should discuss this further on some more 'discussion' oriented forum.
"your suggestion was wrapped in an insult which doesn't help in trying to get your point across.". If you fail to see how closing an issue by only saying "We haven't seen this problem in a long long time so I'm closing it" is equally insulting I think you have a long way to go in understanding how to support a community.
The steps you have described above point to ONE process of a development lifecycle. Most specifically the QA / testing phase. What it does not speak to is the willy nilly planning style of the development team.
"it's difficult given that many of the resources are volunteer and not dedicated" what makes it difficult is that 3drobotics allows this landscape to exist. It is both a crutch and an excuse. PLENTY of you guys are paid, and have been for a number of years as consultants on the side.
Funny that you mention SCRUM... I think you nailed it. One element of SCRUM that is criticized is what is often called "requirements churn". That statement seems to fit the bill here.
Nailed it: "unpredicted challenges cannot be easily addressed in a traditional predictive or planned manner. As such, Scrum adopts an empirical approach—accepting that the problem cannot be fully understood or defined, focusing instead on maximizing the team's ability to deliver quickly and respond to emerging requirements." http://en.wikipedia.org/wiki/Scrum_(software_development)
"warning are posted." Hah only after someone pulled your teeth to get them put up in the first place. Of course said warnings are VERY easy to find when you buy DIYDrones gear. You just have to dig through one of 3 horribly managed forums on Ning, Google or Arducopter.com
Man SCRUM... you could not have hit that head any more square on if you tried! https://www.scrum.org/scrumbut
'ScrumButs are reasons why teams can’t take full advantage of Scrum to solve their problems and realize the full benefits of product development using Scrum. Every Scrum role, rule, and timebox is designed to provide the desired benefits and address predictable recurring problems. ScrumButs mean that Scrum has exposed a dysfunction that is contributing to the problem, but is too hard to fix. A ScrumBut retains the problem while modifying Scrum to make it invisible so that the dysfunction is no longer a thorn in the side of the team.
A ScrumBut has a particular syntax: (ScrumBut)(Reason)(Workaround)
ScrumBut Examples:
"(We use Scrum, but) (having a Daily Scrum every day is too much overhead,) (so we only have one per week.)"
"(We use Scrum, but) (Retrospectives are a waste of time,) (so we don't do them.)"
"(We use Scrum, but) (we can't build a piece of functionality in a month,) (so our Sprints are 6 weeks long.)"
"(We use Scrum, but) (sometimes our managers give us special tasks,) (so we don't always have time to meet our definition of done.)"
Sometimes organizations make short term changes to Scrum to give them time to correct deficiencies. For example, "done" may not initially include regression and performance testing because it will take several months to develop automated testing. For these months, transparency is compromised, but restored as quickly as possible.'
"Anyway, probably should discuss this further on some more 'discussion' oriented forum." I concur, glad to see you engage that critical thinking. ;)
Hah I also noticed that some of the weaknesses of SDLC are Increased Dev time... um ok I like it when you don't rush! Increased Dev cost... ok Chris has procured 36mil, he has plenty to spend. Systems must be defined up front, not seeing a problem there! A little preplanning may help. Rigidity! Damn wait I am confused, you said these are weaknesses? Sounds like it would make the platform solid and stable to me!
The strengths of SDLC are listed as Control, Documentation, Detailed Steps, Well defined user input, Ease of maintenance, Dev & design standards... sooooooo what is the issue?
Thanks KF, this is tiresome :(
I concur, the view as a developer is certainly different from that of the common end user. You'd think things would take a drastic change at some point. 3 years running and the broken record sounds the same.
Thanks for your hard work guys!
My point - I see the development of this firmware/software akin to Soccer or Rugby and Not Chess or other Strategy game. These developer's are running hard and fast. They know the rules, the game strategy and have to make adaptations to changing environments, events and desires at moments notice. This is NOT an SDLC!
From my corporate and end user experience: SDLC is where so called developers sit on their butts in cubicles or roam the corporate aisles babbling nonsense for years goofing off and partying while they slowly get out the next poor piece of release code - Windoze, Oracle, Delphi for examples. Corporate bloat code with silly features which seldom work.
Ardu... O.S. code - Here you have active, live, action oriented Developers creating never been done code with never existed before IC devices and sensors on never existing before and ever changing hardware in any configuration that the unknown end user throws at them as they assure we Knot Head end users can fly, drive or boat nearly autonomous vehicles in 2D and 3D space across the fields anywhere on the planet.
Kind of a whole different ball game here in Ardu World - Oh - I did not mention that most of these developers barely knew how to code when they started and many are cutting their teeth during the process while the veterans who have learned or built and or coded are aiding them and coding themselves. WOW! This is Amazing! And Awesome! Plus, this is outside the coddled walls of Academia where a student would be sitting using up donated money to the benefit of just learning.
So - Mav(umacallit), Go snake your scales somewhere else. If you can submit constructive tools and methods and possibly setup a viable useable structure to HELP then What-A-Man! Otherwise I say, "Get A Life!" and leave these guys to continue doing GREAT without your NOISE!
B.Stott (Not hiding behind a nom-de-dumb.) Pittsburgh, PA
"B.Stott (Not hiding behind a nom-de-dumb.)" Nobody is hiding.... sorry my github account name isn't to your liking. I did enjoy your thought leadership... thanks for playing.
http://diydrones.com/forum/topics/kevin-finisterre-diydronesafety-and-drone-savant-persona Here... feel better?
Ha, classic case of poison dev: http://www.youtube.com/watch?v=Q52kFL8zVoM
hahaha. "patches welcome". ( see the video )
Maybe you stopped to paying attention around 12:49 when they started to talk about documentation, design decisions and how to handle bug fixes? You know documenting what you fixed and how you fixed it? Excellent video Jason... perhaps you should follow more of this technique.
'Documenting your mistakes... this is something people frequently overlook'
Too funny you failed to follow the advice set forth which is said to lead to wasted time JUST like this.
"If you don't document your project's history, you will be condemned to repeat it... over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over again"
LOVE it bro. Great video. It really seems to push a proper dev life cycle...