Search found 478 matches
- Mon Jan 28, 2013 7:38 pm
- Forum: Ideas
- Topic: Airplane mode RTH
- Replies: 824
- Views: 336386
Re: Airplane mode RTH
That's why I uncomment DONT_RESET_HOME_AT_ARM on MultiWii for my airplane and the arming via the sticks (it's on a switch)
- Mon Jan 28, 2013 6:32 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1162285
Re: Direct Frsky telemtry data from MW FC
Care to share the stripped down version of the SoftSerial Library? I have an need for it right now. I hope you find the needed parts in this code extract. initTelemetry() has to be called in setup() and write_softserial() writes a single byte on the configured pin with the desired baudrate (which i...
- Mon Jan 28, 2013 6:21 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1162285
Re: Direct Frsky telemtry data from MW FC
Make it universal and not just specific for Frsky, Heck ya! And how would one do that? There is already LCD telemetry within MultiWii and FrSky telemetry is nothing like it ... Graupners Hott however, might be another story, but I don't have the hardware required to test this. I suspect you mean th...
- Mon Jan 28, 2013 4:29 pm
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 21122
Re: Better MPU6050 support
It still is a black box, so we don't really know what the DMP does internally. And for 9-axis fusion (with magnetometer) you still need to do some stuff for youself. Also the highest frequency for sensor fusion data is 200 Hz which might be perceived as too slow by the MultiWii community (no matter ...
- Mon Jan 28, 2013 4:23 pm
- Forum: Ideas
- Topic: Airplane mode RTH
- Replies: 824
- Views: 336386
Re: Airplane mode RTH
Home point is set when GPS has a 3D fix, system is armed and it wasn't set before. With the default settings it is set on every arming of the system which might be not desired on airplanes (uncomment DONT_RESET_HOME_AT_ARM in config.h to prevent that). If you want to reset home without disarming/arm...
- Mon Jan 28, 2013 4:17 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1162285
Re: Direct Frsky telemtry data from MW FC
Anyone interested in a more complete version with support for using a pin to directly connect to the FrSky receiver (inverted logic / soft serial)?
- Mon Jan 28, 2013 1:50 am
- Forum: Ideas
- Topic: Airplane mode RTH
- Replies: 824
- Views: 336386
Re: Airplane mode RTH
That's very small, wow!
I testcompiled a version with FrSky telemetry and it makes a difference of 2.3K. I am sure this can be optimised further. I have high hopes we can get both features to a state so it can be included in MultiWii
I testcompiled a version with FrSky telemetry and it makes a difference of 2.3K. I am sure this can be optimised further. I have high hopes we can get both features to a state so it can be included in MultiWii
- Sun Jan 27, 2013 8:09 pm
- Forum: Ideas
- Topic: Airplane mode RTH
- Replies: 824
- Views: 336386
Re: Airplane mode RTH
I tried the current dev version of MultiWii on my NanoWii board (Arduino Leonardo). 23728 bytes of 28672 bytes used when compiled with I2C_GPS ... I hope 5k will be enough for RTH (and FrSky telemetry).
- Sat Jan 26, 2013 8:41 pm
- Forum: Ideas
- Topic: Airplane mode RTH
- Replies: 824
- Views: 336386
Re: Airplane mode RTH
I agree, lets get this working. It should get warmer and less wet in february
- Fri Jan 25, 2013 9:13 pm
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 21122
Re: Better MPU6050 support
There is no NDA I am aware of and everybody can sign up and download/read it.
- Fri Jan 25, 2013 9:28 am
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 21122
Re: Better MPU6050 support
Amazingly Invensense just released a new version of their "Embedded Motion Driver" which has somewhat decent documentation included and seems to be independent of the used microcontroller architecture. It supports 6 DOF sensor fusion, some calibration methods and who'd new that when the DM...
- Fri Jan 18, 2013 4:47 pm
- Forum: Software development
- Topic: Interesting post on APM move to github
- Replies: 5
- Views: 1667
Re: Interesting post on APM move to github
They were on Git before, but now moved over to Github. The reasons and their restructuring (code reviews for everyone and no direct commit to master/trunk) seem valid ...
and I like the HAL stuff
and I like the HAL stuff
- Sun Jan 06, 2013 7:18 pm
- Forum: Software development
- Topic: Making Flow chart for Multiwii development?
- Replies: 11
- Views: 4822
Re: Making Flow chart for Multiwii development?
So nothing like the graphs Doxygen would generate (examples attached)? Timings may be difficult because the dependence on compile options (config.h) ...
- Sun Jan 06, 2013 6:43 pm
- Forum: Software development
- Topic: Making Flow chart for Multiwii development?
- Replies: 11
- Views: 4822
Re: Making Flow chart for Multiwii development?
Do you mean something like Doxygen would generate from the code? Or something that does explain what happens at each state, etc? Possibly realtime, like a MultiWii simulator you can peak into?
- Sun Jan 06, 2013 6:30 pm
- Forum: Software development
- Topic: Arduino 1.03 saves space???
- Replies: 12
- Views: 3712
Re: Arduino 1.03 saves space???
This worked for me to compile MultiWii and also results in smaller file sizes:
https://github.com/queezythegreat/arduino-cmake
https://github.com/queezythegreat/arduino-cmake
- Sun Jan 06, 2013 6:27 pm
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 21122
Re: Better MPU6050 support
I agree with your last point, QuadBow. The DMP feature is undocumented and and not fully understood and it might not save much time at all while the current algorithm (used by MultiWii) is already pretty fast and accurate in standard situations. Some flipping and incorrect angles occur in different ...
- Sat Dec 22, 2012 12:46 pm
- Forum: Software development
- Topic: which GPS data do you want to see on LCD/OLED?
- Replies: 17
- Views: 4545
Re: which GPS data do you want to see on LCD/OLED?
A change at the fourth digit behind the decimal point equals to around 14 meters on earths surface ... the fifth digit gives 1-meter accuracy. Geocaching coordinates are usually given with 5 to 6-digit accuracy (they use minutes instead of decimals). I think that will be fine for copter-displays as ...
- Thu Dec 20, 2012 2:50 pm
- Forum: Software development
- Topic: which GPS data do you want to see on LCD/OLED?
- Replies: 17
- Views: 4545
Re: which GPS data do you want to see on LCD/OLED?
Just a quick reply. GPS lon and lat are limited to 0-180 degree, so 3 digits perfore the decimal point is enough
- Fri Dec 07, 2012 5:33 pm
- Forum: Software development
- Topic: disabling all sensors except 1 axis gyro
- Replies: 9
- Views: 3188
Re: disabling all sensors except 1 axis gyro
How is turning off the PID controllers different from taking the props off? For the rx stuff, just configure your rx to not send those channels or leave them on the center setting (gain -100?) ...
- Fri Dec 07, 2012 5:27 pm
- Forum: Software development
- Topic: An Official 2.2 Release soon?
- Replies: 26
- Views: 10797
Re: An Official 2.2 Release soon?
I suppose that's the slow winter time ... hadn't had a chance to fly or look at code in the last 4 weeks.
And i hope FrSky telemetry support will be included in the next release
And i hope FrSky telemetry support will be included in the next release
- Tue Nov 13, 2012 3:02 pm
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 21122
Re: Better MPU6050 support
You can get the temperature from the gyro (see code linked in the first post of this thread). Can't do much in November, since I am not at home most of the time. Feel free to pick up the idea presented here and improve upon it
- Thu Nov 08, 2012 6:40 pm
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 21122
Re: Better MPU6050 support
m Page 12 for the gyro, tl;dr: +-2% sensitivity scale factor variation over temperature and +-20 deg/second variation of the bias (zero level) value over -40 to +85 °C ... btw: cross axis sensitivity is also at +- 2% Page 13 for the accelerometer, tl;dr: sensitivity change (scale factor) at +-2 g se...
- Mon Nov 05, 2012 11:07 pm
- Forum: General discussions
- Topic: New AMA requirement- pilot must be able to deactivate
- Replies: 5
- Views: 2375
Re: New AMA requirement- pilot must be able to deactivate
I hope my insurance company doesn't have such strange requirements. How would a copter fly without a gyro? If the insurance also covers your model destruction due to crashes caused by flying without a gyro, fine It's as strange as the requirement (in Germany) to have a second pilot who can always ta...
- Mon Nov 05, 2012 10:49 pm
- Forum: General discussions
- Topic: Mini Quad with interesting controller on Kickstarter
- Replies: 0
- Views: 782
Mini Quad with interesting controller on Kickstarter
http://www.kickstarter.com/projects/qfo ... qtm-copter
Just wanted to post the link in case you haven't seen this already. They mention Arduino as possible payload for their quad and updateable firmware via USB
Lets hope they can make this product real until March 2013 (their stated delivery date for the pledges).
Just wanted to post the link in case you haven't seen this already. They mention Arduino as possible payload for their quad and updateable firmware via USB
Lets hope they can make this product real until March 2013 (their stated delivery date for the pledges).
- Mon Nov 05, 2012 8:59 pm
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 21122
Re: Better MPU6050 support
We are working on incorporating this DMP info into future product register maps, there may also be a standalone document created. We will notify you when the documentation is ready.
From Invensense developer support. That's better than anything I heard from them before
- Mon Nov 05, 2012 7:38 pm
- Forum: Software development
- Topic: Your prefer configuration
- Replies: 2
- Views: 1435
Re: Your prefer configuration
Wrong sub forum, I guess ...
- Mon Nov 05, 2012 12:18 am
- Forum: Software development
- Topic: MultiWii compile error
- Replies: 8
- Views: 2811
Re: MultiWii compile error
Subversion doesn't allow a commit if there a newer changes in the repository. If you testcompile before each commit there can never be a state where compilation errors, right?
- Sun Nov 04, 2012 8:24 pm
- Forum: Ideas
- Topic: A super acccurate MultiWii version?
- Replies: 28
- Views: 11808
Re: A super acccurate MultiWii version?
It's more or less the same one used by everyone (other Arduino based flight controller projects). I tested DMP integration which could be interesting if Invensense would release some real documentation for it. Other than this, I am currently trying to get HIL going so things can be tested indoors an...
- Fri Nov 02, 2012 6:00 pm
- Forum: Software development
- Topic: HIL and possible bug in getEstimatedAttitude()
- Replies: 0
- Views: 771
HIL and possible bug in getEstimatedAttitude()
HIL means hardware in the loop and with temperatures getting colder I thought it would be a nice idea to be able to fly our copters/planes inside a flight simulator. So I tried to connect MultiWii running on a mega2560 board to Flightgear and it didn't work out. The accelerations don't seem to be co...
- Thu Nov 01, 2012 11:32 pm
- Forum: Software development
- Topic: does BaroAlt var get reset to 0 upon startup or arm?
- Replies: 2
- Views: 1131
Re: does BaroAlt var get reset to 0 upon startup or arm?
That is true. BaroAlt gets set to 0 at startup and height ist calculated from the difference of ground pressure vs. current pressure (was a lot faster in tests). Ground pressure gets set ca. 15 seconds after startup and when the pilot does the gyro calibration stick combo (which also sets a new GPS ...
- Thu Nov 01, 2012 10:09 pm
- Forum: Software development
- Topic: Motors spinning for a split second if stick movement to arm
- Replies: 10
- Views: 3403
Re: Motors spinning for a split second if stick movement to
Is there a list somewhere of who was/is responsible for what part of the code so he/she can be contacted? Something like "git blame" (sorry to bring git up again)? +1 for the change. When arm is on an AUX channel the stick combos should not be active (kind of important for airplanes, i thi...
- Thu Nov 01, 2012 1:59 pm
- Forum: Pictures & Videos
- Topic: Helicopter fishes R/C plane out of tree
- Replies: 3
- Views: 2029
- Thu Nov 01, 2012 1:39 pm
- Forum: Software development
- Topic: r1240 roll of death
- Replies: 10
- Views: 3635
Re: r1240 roll of death
When I had rolls of death it was always because of the gyro not working. As I later found out voltage drops was the cause for this and a capacitor fixed it. Symptoms were I2C errors in the GUI after a crash and said non working gyro :/
- Wed Oct 31, 2012 1:45 am
- Forum: Software development
- Topic: Ellipsoid into Sphere Calibration of Acc and Magn
- Replies: 17
- Views: 8087
Re: Ellipsoid into Sphere Calibration of Acc and Magn
The developer section of invensense.com has the complete source code they use to access the DMP and the support promised me last week that they are working on written documentation. They would be awefully late for a product that is available for over a year now, but hey ... I wont complain if we don...
- Wed Oct 31, 2012 12:35 am
- Forum: Software development
- Topic: Ellipsoid into Sphere Calibration of Acc and Magn
- Replies: 17
- Views: 8087
Re: Ellipsoid into Sphere Calibration of Acc and Magn
So this is an external calibration application, correct? You record acc/magnetometer for some time while moving it around (slowly?) and this input combined with some matrix "magic" gives offsets and scale factors? Together with a static calibration over a temperature range it could also ge...
- Tue Oct 30, 2012 7:27 pm
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
Here is a working and improved (baro calibration at startup and with gyro calibration stick combo) version:
https://github.com/sebastianherp/multiw ... roved_baro
Diff:
https://github.com/sebastianherp/multiw ... roved_baro
The particular commit:
https://github.com/sebastianherp/multiw ... 5dbc78983e
If someone on the MultiWii dev team would implement it, that would be swell
https://github.com/sebastianherp/multiw ... roved_baro
Diff:
https://github.com/sebastianherp/multiw ... roved_baro
The particular commit:
https://github.com/sebastianherp/multiw ... 5dbc78983e
If someone on the MultiWii dev team would implement it, that would be swell
- Tue Oct 30, 2012 4:10 pm
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
Large negative values can only occur if groundpressure was measured "too early" and/or it has a value significantly lower than the current air pressure. Increasing INIT_DELAY in Imu.ino should help and getting a new groundpressure value when arming and/or with a stick command should help t...
- Tue Oct 30, 2012 2:39 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1596908
Re: Altitude Hold improvement solution
Two things here: 1) without GPS activated baro is read out almost as fast as possible for some time now ... true, altitude gets only calculated at 40 Hz, that's something that can be improved 2) Is your code free to use AND this is exactly what some of use talk about, having patches or zip files wit...
- Tue Oct 30, 2012 12:23 am
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
I measured the timing of the code: ⋅ With serial GPS enabled (NMEA, with or without a GPS connected) the time between two baro_update calls is only seldomly below 10000 µs, so getEstimatedAltitude doesn't get called often enough. With Ublox, Sonar lower baudrate and/or BMP085 this issue co...
- Mon Oct 29, 2012 6:01 pm
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
Is this always a crius board with ublox serial? In the baro case can you measure the time from one call of baro_update to the next? It could be worse for bmp085 because it switches between deadlines of 8 and 14 MS ... The solution with separate tasks should be the fix for this Kind of problem however.
- Mon Oct 29, 2012 2:03 am
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
Or ... with GPS active and when it is slow enough (you had a baudrate auf 57600 and ublox, I don't know about that) and maybe Sonar it would be easily possible that Baro_update gets only called every 10000 µs and then getEstimatedAltitude would never execute. This needs to be fixed by giving getEsti...
- Mon Oct 29, 2012 1:26 am
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
The only possibility Baro_update() would never return 0 is when other stuff is taking longer than 10 ms ... i don't know how this could be the case. Is your average cycleTime higher than normal, e.g. in the 10000 range?
- Sun Oct 28, 2012 1:57 pm
- Forum: Ideas
- Topic: Camstab disable aux 3 and 4 and ideea SOLVED
- Replies: 15
- Views: 5980
Re: Camstab disable aux 3 and 4 and ideea SOLVED
I recently installed a gimbal on my copter and was a little confused about the difference between SERVO_MIX_TILT and SERVO_TILT. I was able to get what each of those defines does from the code, but maybe there should be some documentation in form of comments
- Sun Oct 28, 2012 1:50 pm
- Forum: Software development
- Topic: [PATCH] Make EEPROM profile selection optional
- Replies: 6
- Views: 2287
Re: [PATCH] Make EEPROM profile selection optional
+1 ... my Leonardo (NanoWii) needs some byte savings, too
- Sun Oct 28, 2012 12:17 am
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
You can try
or debug currentTime and INIT_DELAY ...
I don't get it why baroPressureSum has some value, but baroGroundPressure stays 0.
Code: Select all
baroGroundPressure = 100;
if(currentTime > INIT_DELAY) { // 10 seconds delay
or debug currentTime and INIT_DELAY ...
I don't get it why baroPressureSum has some value, but baroGroundPressure stays 0.
- Sat Oct 27, 2012 6:19 pm
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
Hi, I attached my Multiwii. BaroPressureSum looks like is not 0, plotted to debug1 divided by 100 and shows around 19000 so maybe a really big number indeed. BR Adrian Your config.h looks pretty default and 19000 is in the correct range when devided by 100 (equals 950 mbar pressure). I'll try to co...
- Sat Oct 27, 2012 4:01 pm
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
Well, I "developed" that part of the code on a mega2560 and it works for me. As long as baroGroundPressure is 0 the altitude will always be 0. Can you also plot/debug baroPressureSum on your copter? That should be around 20 times the value of baroPressure. You already wrote baroPressure se...
- Fri Oct 26, 2012 12:20 pm
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
I had a version which combines gyro and acc readout for the mpu6050 (nanowii) that saves a few bytes, but it is not yet included in MultiWii. @nhadrian can you post you config.h settings and mabye debug the following values: - baroGroundPressure (should be whatever the ground pressure is, after 10 s...
- Thu Oct 25, 2012 11:58 pm
- Forum: Software development
- Topic: MWC R1232 has a bug in ALT reading
- Replies: 38
- Views: 12439
Re: MWC R1232 has a bug in ALT reading
Immediately after software update to R1232, GUI showed on ALT graph -25000m or something like that and a wild baro graph with ups and downs, then i rebooted and worked nice for a while, i was impressed how smooth worked. In this period I observer that wen calibrating giro, the ALT graph had a sudde...
- Thu Oct 25, 2012 11:13 pm
- Forum: Ideas
- Topic: Some custom MultiWii software with autolanding
- Replies: 4
- Views: 4423
Re: Some custom MultiWii software with autolanding
Should have an online repo somewhere so people can easier check it out Some of the features would be nice for MultiWii ... Added it to the Trello board (m) as a single card, but really should be different ones. Do you see any chance to make those features (one after the other) into patches for curre...