Thanks Clough42!, i can't try it out now, will do it soon.
manu
Search found 220 matches
- Thu Jul 11, 2013 4:35 pm
- Forum: Software development
- Topic: Building MultiWii in Eclipse
- Replies: 25
- Views: 10173
- Wed Jul 10, 2013 1:18 pm
- Forum: Software development
- Topic: NOTICE: Trunk has been migrated to .cpp/.h files
- Replies: 64
- Views: 27118
Re: NOTICE: Trunk has been migrated to .cpp/.h files
http://www.multiwii.com/forum/viewtopic.php?f=8&t=2931&start=20#p37239 To be quick up and running on most OS's, most is done by the effort of others... Install Arduino Install Eclipse C++ for developers (+ eventually Java) Install the Eclipse Arduino plugin Install the Eclipse SVN plugin Tes...
- Sun Jul 07, 2013 3:50 pm
- Forum: Software development
- Topic: NOTICE: Trunk has been migrated to .cpp/.h files
- Replies: 64
- Views: 27118
Re: NOTICE: Trunk has been migrated to .cpp/.h files
MultiWii.h #if defined(THROTTLE_ANGLE_CORRECTION) extern int16_t throttleAngleCorrection; // correction of throttle in lateral wind, extern int8_t cosZ; // cos(angleZ)*100 #endif MultiWii.cpp #if defined(THROTTLE_ANGLE_CORRECTION) int16_t throttleAngleCorrection = 0; // correction of throttle in lat...
- Sun Jul 07, 2013 11:09 am
- Forum: Software development
- Topic: NOTICE: Trunk has been migrated to .cpp/.h files
- Replies: 64
- Views: 27118
Re: NOTICE: Trunk has been migrated to .cpp/.h files
thank you for this clough42 You're welcome. Casquad and alll did a lot of the work. I am really happy we got it done, and that everybody see the benefit of it, thought the hardest work has still to be done, "the real reorganization" . As TC said, a more modular structure, with reusable &q...
- Thu Jul 04, 2013 11:18 am
- Forum: Ideas
- Topic: wishlist for v2.3
- Replies: 104
- Views: 44301
Re: wishlist for v2.3
scary wishlist..., lets focus first on "rock solid" PID control loops, gps HOLD, and easy to tune them ("more/less" via transmitter?)
Only once this is done, add special features...
IMHO
manu
Only once this is done, add special features...
IMHO
manu
- Thu Jul 04, 2013 9:03 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
The "boss" is back!
You are welcome to temper the minds down, i feel we are on the right track finally.
Thanks,
Manu
You are welcome to temper the minds down, i feel we are on the right track finally.
Thanks,
Manu
- Sun Jun 30, 2013 5:53 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
..., cpp/header organized
- Fri Jun 28, 2013 6:13 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
+1 richie Wathever PID control loop implemented, 1st, it should never induce calculation "overflow" when P I and D are maxed ie = 255, never! 2nd, any PID should be able to handle all combinations of PID ie PD-loop (I=0), D-loop-only P&I=0), ... General rule to set it up: Knowing the &...
- Fri Jun 28, 2013 8:32 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Kiss, kiss, kiss,
Many thanks for keeping the CPP branch up to date,
manu
Many thanks for keeping the CPP branch up to date,
manu
- Fri Jun 28, 2013 8:19 am
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
Most important for us to be able to tune the different PID values (0..255 is to explain (the developer of the PID loop) how and what the ERROR is and how it is calculated, this for each PID. And the PID formula in speudo code : eg: previous_error = 0 integral = 0 start: error = setpoint - measured_v...
- Fri Jun 28, 2013 7:33 am
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
Welcome back alex! I think the discussion on obfuscating PID values with "user friendly" 0-100 scale is simply off topic. Related perhaps, but start another thread if it's so important. So far I've seen only two sets of working PIDs posted here, please post your PIDs!. My experiments with...
- Thu Jun 27, 2013 8:42 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
but yet, it is the BEST I have seen as of today. Yes i like these kind of "simple" explanations, you see he "knows" by experience. This is very good, excellent in fact! The only misgiving I can see is, if the P value is too low from the start, it will oscillate also but somewhat...
- Thu Jun 27, 2013 7:37 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
copterrichie wrote:I think part of the problem is, many do not understand what the PID process is or not to tune it. This Explanation should be incorporated into the Wiki.
http://www.rcgroups.com/forums/showthread.php?t=1890703
He also only talks about "increasing", "back off", "speed", ...
manu
- Thu Jun 27, 2013 7:04 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
PS:could we have the "more/less" (0-100%) PID values implemented, this will so much clearer. no difference at all. Both ranges [0;100] and [0;255] (or [0;0.255]) are of the same category - numbers with no resemblance to real world. One is not in any way better than the other - in both cas...
- Thu Jun 27, 2013 4:47 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
IMO it would be better to have "safe" default values (that will never overshoot on any machine). As no copter is the same, and people pretending they use default values are lucky if it works or are not aware it could be 100x better with the right values for a given copter. manu PS:could we...
- Mon Jun 24, 2013 8:48 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
timecop wrote:bumping this before it gets too outdated.
Mmmm, too late ?
I saw Revision r1501, I really hope we could move to the new reorganized cpp/h structure. As i see it going, to get the cpp-branch in sync, we will have to do it manually, and apply diffs based on r1474?
manu
- Mon Jun 24, 2013 8:46 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
Mmmm,
I saw Revision r1501, I really hope we could move to the new reorganized cpp/h structure. As i see it going, to get the cpp-branch in sync, we will have to do it manually?
manu
I saw Revision r1501, I really hope we could move to the new reorganized cpp/h structure. As i see it going, to get the cpp-branch in sync, we will have to do it manually?
manu
- Sun Jun 23, 2013 8:08 pm
- Forum: Software development
- Topic: What makes Naza 'better' than Multiwii
- Replies: 83
- Views: 31897
Re: What makes Naza 'better' than Multiwii
Multiwii can do all the dji / nasa can do, it's a matter of having a good multi and the right PID values.
Show me a dji/nasa or other ... keeping pos hold with 25-30 km/h gutsy wind and doing 3D and "fly" like a charm. Only drawback, it needs looooots of time to get there.
manu
Show me a dji/nasa or other ... keeping pos hold with 25-30 km/h gutsy wind and doing 3D and "fly" like a charm. Only drawback, it needs looooots of time to get there.
manu
- Sat Jun 22, 2013 11:03 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
@casquad i tried to make a new "svn" project from eclipse, point to the right CPPMigration directory, and the "Check out as a project using the New Project Wizard", but this is grayed out because you left a the svn ".project" file in the repository. (maybe you did it by...
- Sat Jun 22, 2013 9:01 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
THANKS "Cas"! which eclipse SVN plugin (clients) do you use (i saw there are many)? (i use Tortoise for windows) I don't see there could be a side effect due to the reorganization!I checked the generated binaries and are both equal in size, the logic didn't change! Come on, try to convince...
- Sat Jun 22, 2013 6:44 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Hi,
Checked out CPP, applied the patch and all 6 coptertests do pass the compilation in both Eclipse and Arduino IDE's.
Sad that Alex is on vacation i think, somebody else can apply it in the main trunck?
thanks,
manu
Checked out CPP, applied the patch and all 6 coptertests do pass the compilation in both Eclipse and Arduino IDE's.
Sad that Alex is on vacation i think, somebody else can apply it in the main trunck?
thanks,
manu
- Sat Jun 22, 2013 5:42 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
0.3 / 0.03 what units. I already said these PID values do not mean much if the implementation details are not know or wel documented. IMO all mwii PID values should be shown in the GUI's like 0..100%. Really, on the field i am NOT interested in the real values/units of measure, just "more"...
- Sat Jun 22, 2013 12:52 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
...I think mwii should somehow implement that altered Pid controller as an option to choose from. On the other hand who really cares? The soft is opensource. It's just a matter of days, till someone comes up with a more polished version of that. Maybe mahowik? Cheers Rob Or make it more "plugg...
- Sat Jun 22, 2013 8:45 am
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
...nobody of the developers seem to care - the fun part here is complete.... So, good luck to everyone! Come on, the "non-developers/comiters" do also want to have fun You could at least ask a separate branch as casquad got for the code reorganisation! , "commiters", can you mak...
- Fri Jun 21, 2013 10:33 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Mmmm, So, if i understand it, or Alex is going to abondon the *.ino and move to *.c / *.h style asap, i hope so, that was on his whish list , or "we" keep a separate branch that we try to keep up to date with the "trunk" branche? IMO there are no arguments anymore to stay with th...
- Fri Jun 21, 2013 1:10 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Hi! @casquad : Optimized on what, size? I get the same size for both! Yes i used "CONFIG_CLEAN" as the original untouched config (except for COPTERTEST define), otherwise i make copies of it and name them to be used for specific copters/boards. So here i use config.h to "route" t...
- Fri Jun 21, 2013 10:35 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
The sources, i didn't reviewed the func() without "void" made by "casquad" as you suggested, the ones i added, i did.
manu
manu
- Fri Jun 21, 2013 10:27 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Like this, i suppose you need the sources too?
- Fri Jun 21, 2013 10:14 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
and 5 & 6 (with the help of the indexer manu PS: sebbi? how to go further with this reorganization? COPTERTEST=5 Device: atmega328p Program: 25528 bytes (77.9% Full) (.text + .data + .bootloader) Data: 1709 bytes (83.4% Full) (.data + .bss + .noinit) *Arduino-1.0.2: 25528 bytes (out of 28672 byt...
- Fri Jun 21, 2013 9:39 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Yes i just added extern volatile unsigned long timer0_overflow_count; in MultiWii.h Just finished COPTERTEST=4 But COPTERTEST=3 Arduino-1.0.2 IDE gives a warning that hex is too big, in Eclipse it tells it is 97.0% Full ! So, how do we further proceed? manu COPTERTEST=1 Device: atmega328p Program: 1...
- Fri Jun 21, 2013 8:34 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
I am busy trying to compile COPTERTEST=4 and got stucked on this one, any suggestion ?: 'timer0_overflow_count' was not declared in this scope Serial.cpp /MultiWii line 827 C/C++ Problem defined in wiring.c of the Arduino library as volatile unsigned long timer0_overflow_count = 0; Serial.cpp : #inc...
- Thu Jun 20, 2013 6:30 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Who did you gave the access, i or you can ask him?
- Thu Jun 20, 2013 5:21 pm
- Forum: Software development
- Topic: V2.2 - ACRO PID implementation is wrong, right?
- Replies: 282
- Views: 189691
Re: V2.2 - ACRO PID implementation is wrong, right?
alex.khoroshko wrote:
This is realy, realy helpful to understand and afterwards tune the PID's!
Many thanks for that!
Is this the current multiwii2.2 or an adapted version, which SVN release?
Manu
- Thu Jun 20, 2013 5:11 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
So, should i continue with "COPTERTEST=4"? I don't want to put an efford (with the help of the indexer , if it will not be used aferwards, or somebody else is doing the same.
I think it is not that much work.
Waiting for feedback and coordination.
Thanks,
manu
I think it is not that much work.
Waiting for feedback and coordination.
Thanks,
manu
- Thu Jun 20, 2013 9:33 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Ok i see, thanks, manu
- Thu Jun 20, 2013 8:50 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
I can't commit because i don't have an account / permission. (I have a google account) Just post patches, people can commit them. It's not hard. Mmmm, i don't want to upload modified source files without the help of SVN, or did i misunderstood the "post patches". COPTERTEST 1 - 3 currentl...
- Wed Jun 19, 2013 10:48 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
I can't commit because i don't have an account / permission. (I have a google account)
- Wed Jun 19, 2013 9:56 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Ok, I will try to detect empty declarations and add the void parameter. I use both ways indistinctly, but I agree with you that adding the void is safer. @All developers: please take this into account when commiting new code to this branch. I have eclipse working, but can't help there i cant' commi...
- Wed Jun 19, 2013 10:04 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Hi casquad, What is the easiest way in Eclipse to « point/link » to the svn directory and have the core Arduino available? Basically how do you create a new project in Eclipse , add source folder + arduino core libraries. Do you use the Arduino plugin or just the avr plugin? I would prefer to have a...
- Tue Jun 18, 2013 11:12 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
not in bulk like that! The goal was to put the exposed ones per topic in the .h files, and the forward declarations at the top of the .cpp. @casquad i don't see how we could contribute/help in this process to migrate all to .h and .cpp. If you think or tell me how, let me know. Thanks man, finally i...
- Mon Jun 17, 2013 9:52 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
So, when will the ino files be abandoned?
I suppose you will "freeze" the current ino-development, "copy" the branch, reorganize to .h and .cpp, test all possible coptertest (1..5), if they pass, we continue with the new file structure. Am i right?
manu
I suppose you will "freeze" the current ino-development, "copy" the branch, reorganize to .h and .cpp, test all possible coptertest (1..5), if they pass, we continue with the new file structure. Am i right?
manu
- Mon Jun 17, 2013 12:08 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Hi,
Just to keep the same AVR-Arduino Eclipse-tool-chain initial approach and reuse big parts of the multiwii code, but now target a much more powerful 32-bit ARM Cortex-M3 microprocessor, could we not use these “Arduino-like” boards (The Maple Mini) and use external sensors for example?
http://leaflabs.com/
manu
Just to keep the same AVR-Arduino Eclipse-tool-chain initial approach and reuse big parts of the multiwii code, but now target a much more powerful 32-bit ARM Cortex-M3 microprocessor, could we not use these “Arduino-like” boards (The Maple Mini) and use external sensors for example?
http://leaflabs.com/
manu
- Mon Jun 17, 2013 6:15 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Yes, all avr compiler + avrdude are included in the Arduino IDE. All that is needed (follow install instructions i mentioned abobe) : *Install Java JRE, *Install latests version of Arduino, *Install Eclipse C+C++, *Install Arduino Plugin, And you should have your toolchain working. I am happy this i...
- Sun Jun 16, 2013 8:00 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Please verify output code sizes are same as within arduino ide or smaller. The same ECLIPSE: 20:55:01 **** Incremental Build of configuration Release for project MultiWii **** make all Invoking: Print Size avr-size --format=avr --mcu=atmega328p MultiWii.elf AVR Memory Usage ---------------- Device:...
- Sun Jun 16, 2013 6:59 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
To keep track of all these boards and features /*************************************************************************************************/ /**** config.h : CONFIG files selector ****/ /*************************************************************************************************/ #ifndef ...
- Sat Jun 15, 2013 1:06 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
Try to stay positive, nobody is perfect, except ...
- Sat Jun 15, 2013 12:07 pm
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
tested it out, its working, had to add some forward declares in sensors.
I have the whole Eclipse Arduino AVR toolchain working (upload via avrdude included!)
And it compiles still from within Arduino IDE
No exuses anymore to go further with it
I have the whole Eclipse Arduino AVR toolchain working (upload via avrdude included!)
And it compiles still from within Arduino IDE
No exuses anymore to go further with it
- Sat Jun 15, 2013 11:07 am
- Forum: Software development
- Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
- Replies: 146
- Views: 52891
Re: Reorganising source *.c code with *.h headers; Eclipse I
1000x thanks for this!!!!! And really happy to have a "professional" on board to guide us for the coding "best practices". Everybody, i am sure will benefit from it. So we are a big step further ("we" : the ones that could only use the "crappy Arduino IDE"...)...
- Fri Jun 14, 2013 9:45 pm
- Forum: Ideas
- Topic: Position hold using Accelerometer and Gyro
- Replies: 9
- Views: 3844
Re: Position hold using Accelerometer and Gyro
no, because you don't have an "absolute" reference.
- Fri Jun 14, 2013 9:38 pm
- Forum: Software development
- Topic: GPS: combining flightmode-options
- Replies: 25
- Views: 9184
Re: GPS: combining flightmode-options
Since the subject is GPS i want to share this behavior: I have a really stable quad, in acro mode i shake it violently and respond immediately to rx commands without "any" overshoot! No wobbling at all! Thanks SimonK Now, i tuned the 2 GPS PID's and in calm weather (light breeze) the corre...