Search found 1630 matches
- Sun Nov 17, 2013 2:41 pm
- Forum: Software development
- Topic: RCCommand and angular rates units in PID
- Replies: 2
- Views: 1223
Re: RCCommand and angular rates units in PID
angular rates Most sensors are set to their 2000deg/s The spec of each sensor indicates the relation between LSB and deg/s and multiwii skips the last 2 bytes. That's what you get in the communication between FC and GUI. RC command: in the code // interval [1000;2000] for THROTTLE and [-500;+500] fo...
- Sun Nov 17, 2013 2:31 pm
- Forum: Software development
- Topic: Possible Bug?
- Replies: 4
- Views: 1962
Re: Possible Bug?
Hi,
Good catch, just fixed.
EstG16.V.Z / ACC_1G * 100.0f; => you need to isolate (ACC_1G * 100.0f) otherwise EstG16.V.Z / ACC_1G is evaluated first and is mostly 0.
Good catch, just fixed.
EstG16.V.Z / ACC_1G * 100.0f; => you need to isolate (ACC_1G * 100.0f) otherwise EstG16.V.Z / ACC_1G is evaluated first and is mostly 0.
- Sun Nov 17, 2013 2:28 pm
- Forum: Software development
- Topic: 2.3 version acc_1G and MSP_RAW_IMU
- Replies: 3
- Views: 2041
Re: 2.3 version acc_1G and MSP_RAW_IMU
2.3 version acc_1G definition is nice BUT it should also be used in MSP_RAW_IMU message output (protocol.c). I have an ACC_1G of 4096 and it totally messes up the GUI display. Those values should be shifted according to ACC_1G to give a nice graph. 4096 -> >>3, 2048 -> >>2, etc. Can this be automat...
- Sun Nov 17, 2013 2:22 pm
- Forum: Software development
- Topic: I2C speed setting
- Replies: 4
- Views: 3145
Re: I2C speed setting
No reply? Wouldn't it be more efficient to set the I2C bus to 400 kHz by default and just temporarily switch to 100 kHz in the WMP/Nunchuck sensor methods instead of having 100 kHz the default and switching to 400 kHz for every sensor (except the MPUs)? This is a good idea and here is a reply: m I ...
- Sun Nov 17, 2013 1:47 pm
- Forum: Software development
- Topic: 2.3 is finally here :)
- Replies: 97
- Views: 105794
Re: 2.3 is finally here :)
Hi Alexinparis, please fix this bug - in EEPROM.cpp you have #if GPS GPS_set_pids(); // at this time we don't have info about GPS init done #endif but should be (as in the previous version) #if GPS if (f.I2C_INIT_DONE) GPS_set_pids(); // at this time we don't have info about GPS init done #endif in...
- Sat Nov 09, 2013 7:49 pm
- Forum: Software development
- Topic: 2.3 is finally here :)
- Replies: 97
- Views: 105794
2.3 is finally here :)
m I would like to thank all of you for making it possible main changes 2.2 -> 2.3 ***Control mode*** - main PITCH/ROLL/YAW PID modification (r1474) - the sticks scaling is no more affected by PID coefficients - yaw rate (to the right of the PIDs in GUI) now works as stick scaling - default yaw rate ...
- Sat Nov 09, 2013 1:59 pm
- Forum: Software development
- Topic: 2.3 changelog draft
- Replies: 10
- Views: 5629
Re: 2.3 changelog draft
There is no word about the AlexK-Mod in the description. Can you please add this and describe how to use PID_CONTROLLER 2. For example: First press RESET in the GUI to load the AlexK-defaults Gyro-PIDS are always active Only Level_P is used for ACC; Level_I is HORIZON; Level_D is unused Is there an...
- Sat Nov 09, 2013 1:44 pm
- Forum: Software development
- Topic: Wishlist - MSP 2.2
- Replies: 16
- Views: 6885
Re: Wishlist - MSP 2.2
I wonder why this got ignored? Having a generic MSP_GET/SET framework would be really great. With a dynamically loaded page in multiwiiconf that can expose settings that are deemed too "hard" to implement on promini. Isn't it the case today ? If you use servo, you will see a servo tab in ...
- Sat Nov 09, 2013 1:26 pm
- Forum: Software development
- Topic: [patch] Amperage in MinimOSD via Multiwii MSP
- Replies: 50
- Views: 20187
Re: [patch] Amperage in MinimOSD via Multiwii MSP
haydent wrote:hope its not too late to squeeze this into 2.3, but here is a patch to add amperage display to the GUI
[update]changed patch syntax to context
It will be included, but after 2.3
- Sat Nov 09, 2013 1:23 pm
- Forum: Software development
- Topic: TinyGPS
- Replies: 4
- Views: 1811
Re: TinyGPS
Hi,
I don't know if it's buggy or not, but it seems to be unsupported for a long time, and for sure not widely used.
We could keep it in the code, but I understand EOSBandi point as it takes some more time to understand the logic behind and keep it for each GPS code evolution.
I don't know if it's buggy or not, but it seems to be unsupported for a long time, and for sure not widely used.
We could keep it in the code, but I understand EOSBandi point as it takes some more time to understand the logic behind and keep it for each GPS code evolution.
- Fri Nov 01, 2013 8:42 pm
- Forum: Software development
- Topic: Making Flow chart for Multiwii development?
- Replies: 11
- Views: 4819
Re: Making Flow chart for Multiwii development?
Sebbi wrote:I suspect spam ... first post, stock photo as avatar, link to chart software and english doesn't seem to be his first language.
I suspect also
- Fri Nov 01, 2013 8:30 pm
- Forum: Software development
- Topic: 2.3 changelog draft
- Replies: 10
- Views: 5629
Re: 2.3 changelog draft
Are there new servo diagrams available? there is currently no diagrams. only description for pro mini boards: no modification for mega boards: /*********************** HW PWM Servos ***********************/ // HW PWM Servo outputs for Arduino Mega.. moves: pin D44 (Pitch) pin D45 (Roll) pin D46 (Ca...
- Fri Nov 01, 2013 8:18 pm
- Forum: Software development
- Topic: 2.3 changelog draft
- Replies: 10
- Views: 5629
Re: 2.3 changelog draft
Johnnynunes wrote:sorry for the noob question, but does this means that I can use a src04 sonar for low altitude accuracy?
***GPS***
- Enables sonar altitude from i2c-gps-nav board (1424)
Tks
no, currently, it's only for a more accurate altitude display
- Fri Nov 01, 2013 8:06 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: eeprom save in "GUI Settings" page problem
have tested in R1573 and right now in R1604 to save in the GUI "Settings page" some values. First, i found VBATscale was not saved, but then tried other "green" values in this page: Mintrottle / vbatscale / MAG DECL and none of them was sucessfully saved with write after changed...
- Fri Nov 01, 2013 6:54 pm
- Forum: Shields, boards and sensors
- Topic: arming MultiWii_2.3_r1604
- Replies: 1
- Views: 954
Re: arming MultiWii_2.3_r1604
Hi,
Currently, MWWin-Gui is not compatible with 2.3
Currently, MWWin-Gui is not compatible with 2.3
- Mon Oct 28, 2013 11:38 pm
- Forum: Software development
- Topic: 2.3 changelog draft
- Replies: 10
- Views: 5629
2.3 changelog draft
Hi, This is the last chance to detect a serious bug before the 2.3 release. I put a last candidate here: m Here is the changelog project main changes 2.2 -> 2.3 ***Control mode*** - main PITCH/ROLL/YAW PID modification (r1474) - the sticks scaling is no more affected by PID coefficients - yaw rate (...
- Mon Oct 28, 2013 3:09 pm
- Forum: Software development
- Topic: Box IDs/Order/General insanity
- Replies: 5
- Views: 1932
Re: Box IDs/Order/General insanity
take the table:
const uint8_t boxids[] PROGMEM = {
and imagine one day, we have a new need for a BOX
BOX_FOR_MAKE_COFFEE with unique id = 32 or more
how do you transmit its status ?
not possible with this way: tmp |= 1 << boxids[BOXITEM];
const uint8_t boxids[] PROGMEM = {
and imagine one day, we have a new need for a BOX
BOX_FOR_MAKE_COFFEE with unique id = 32 or more
how do you transmit its status ?
not possible with this way: tmp |= 1 << boxids[BOXITEM];
- Mon Oct 28, 2013 12:14 am
- Forum: Software development
- Topic: Box IDs/Order/General insanity
- Replies: 5
- Views: 1932
Re: Box IDs/Order/General insanity
Hi, At the beginning, we had only MSP_BOXNAMES. It's used by multiwiiconf to display the box which are configurable. Each box table is identified its position order in the name request. There is however a drawback: requesting all the name in the same request could be huge, especially for OSD. (the n...
- Mon Oct 21, 2013 11:26 pm
- Forum: Software development
- Topic: Please fix use of prog_char
- Replies: 2
- Views: 1778
Re: Please fix use of prog_char
The prog_* types are not accepted by new versions of avr-gcc. The problem was reported by NikTheGreek here for Ubuntu 13.04. I see the same errors with Fedora 19. changing [GPS.cpp, line 240] resolves the compile error. void SerialGpsPrint(const char PROGMEM * str) { *******************************...
- Mon Oct 21, 2013 10:53 pm
- Forum: Ideas
- Topic: Better IMU6050 initialization
- Replies: 5
- Views: 2911
Re: Better IMU6050 initialization
spec page 41:
When using SPI interface, user should use DEVICE_RESET (register 107) as well as
SIGNAL_PATH_RESET (register 104) to ensure the reset is performed properly.
When using SPI interface, user should use DEVICE_RESET (register 107) as well as
SIGNAL_PATH_RESET (register 104) to ensure the reset is performed properly.
- Mon Oct 21, 2013 10:31 pm
- Forum: Software
- Topic: Advanced LPF filtering
- Replies: 28
- Views: 13451
Re: Advanced LPF filtering
Hi , I can't understand how the acc_lp_factor works . "accLPF32[axis] -= accLPF32[axis]>>(ACC_LPF_FACTOR); accLPF32[axis] += accADC[axis]; accSmooth[axis] = accLPF32[axis]>>(ACC_LPF_FACTOR);" For me a LFP should be like : fXg = Xg * alpha + (fXg * (1.0 - alpha)); Someone can explain the f...
- Sun Oct 20, 2013 12:00 am
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
Baro signal has some aliasing (i.e.: two successive points with the same value), that happens really often (every 3-5 points). Since the signal in Multiwii (when on cable) is updated at around 3Hz, i think there might be a bigger underlying problem. Please notice that only baro seems to have this i...
- Sat Oct 19, 2013 9:58 pm
- Forum: MultiWii tweaking - flying experience
- Topic: dev_2013_08_23_r1573_pre_2.3 user feedback
- Replies: 14
- Views: 5525
Re: dev_2013_08_23_r1573_pre_2.3 user feedback
1. Where can you adjust the channel for manual gimbal roll / pitch ? Was in config.h before. It's no more settable in config.h It can be done only via GUI. In the gimbal servo setting you can select a static center of each servo, or select the channel which will command this center. (it's less intu...
- Sat Oct 19, 2013 9:53 pm
- Forum: Ideas
- Topic: Better IMU6050 initialization
- Replies: 5
- Views: 2911
Re: Better IMU6050 initialization
Hi,
The spec mentions the SIGNAL_PATH_RESET is specific for SPI. (so not I2C I think)
The spec mentions the SIGNAL_PATH_RESET is specific for SPI. (so not I2C I think)
- Mon Oct 14, 2013 11:58 pm
- Forum: Software development
- Topic: Array out of bounds access
- Replies: 10
- Views: 4533
Re: Array out of bounds access
Hi,
you're apparently right
when rcData[THROTTLE] reaches 2000, there is an overflow here.
you're apparently right
when rcData[THROTTLE] reaches 2000, there is an overflow here.
- Mon Oct 14, 2013 11:54 pm
- Forum: Software development
- Topic: MSP protocol documentation
- Replies: 32
- Views: 10379
Re: MSP protocol documentation
Things that come to mind: conf.mag_declination (what is its value in processing? why is it /10 there? what?) various vbat*scale/min/max related shit. they seem to be getting * 10 / 10 stuff in various places. why. mag_declination is in 1/10 degree. /10 is used because heading is in degree after IMU...
- Mon Oct 14, 2013 11:50 pm
- Forum: Software development
- Topic: MSP protocol documentation
- Replies: 32
- Views: 10379
Re: MSP protocol documentation
ezio wrote:That is perfect!
Thank you very much Alex!
Could we, from this point, put the changes in the protocol in this thread with some decryption ?
Hi,
I added a page here:
http://www.multiwii.com/wiki/index.php? ... l_Protocol
I hope it will be a better basis to discuss&correct things
- Thu Oct 10, 2013 11:21 pm
- Forum: Software development
- Topic: Crius GPS and I2C_GPS_NAV
- Replies: 95
- Views: 61336
Re: Crius GPS and I2C_GPS_NAV
Hi, I did more discovering about my I2C GPS reboot problem in r1573 and I found the dependecy : Reboot when writing to EEPROM happens with TRI and with HEX motor config (only with I2C GPS selected and connected) but doesn't happen for QUADX and QUADP configs (This is why most of you didn't see it.....
- Tue Oct 08, 2013 11:02 pm
- Forum: Software development
- Topic: Crius GPS and I2C_GPS_NAV
- Replies: 95
- Views: 61336
Re: Crius GPS and I2C_GPS_NAV
Hi Roman, yes 328p + I2C board running r1570 maybe I2C errors - I didnt notice. or look! Not getting frozen FC on write for sure. I wrote a few times getting servo directions and PIDS etc correct. WIll try the I2C errors in next couple of days Hi shikra, I'm using r1573 (I use only "packed&quo...
- Tue Oct 08, 2013 10:59 pm
- Forum: Software development
- Topic: Anyone uses TinyGPS and GPSfromOSD ? Could we remove ?
- Replies: 7
- Views: 3021
Re: Anyone uses TinyGPS and GPSfromOSD ? Could we remove ?
I tend to agree.
I doubt TinyGPS is really used.
Mis introduced GPSfromOSD mainly to support MISOSD with a standalone GPS device. Is there someone who currently uses it like this ?
I doubt TinyGPS is really used.
Mis introduced GPSfromOSD mainly to support MISOSD with a standalone GPS device. Is there someone who currently uses it like this ?
- Tue Oct 08, 2013 10:46 pm
- Forum: General discussions
- Topic: problem with RTH
- Replies: 6
- Views: 2086
Re: problem with RTH
but when i try RTH the quad starts spinning (piroueting) , sometimes flying towards home and sometimes not - something is clearly wrong here. you should probably set everything to false here: #define NAV_CONTROLS_HEADING true // copter faces toward the navigation point, maghold must be enabled for ...
- Tue Oct 08, 2013 8:17 pm
- Forum: Software development
- Topic: Maybe two little (long-time) bugs found
- Replies: 5
- Views: 2166
Re: Maybe two little (long-time) bugs found
About first oddity: There is no need to use 4 bytes for previousTime There is an implicit cast 4->2 bytes here : previousTime = micros(); It's more than enough to store a 65ms delay where no more than 10ms is required. About second bug, yes it was one and it is corrected (I hope) like this in curren...
- Tue Oct 08, 2013 8:11 pm
- Forum: Software development
- Topic: Enquiries about codings: Data units and Gyro & acc
- Replies: 5
- Views: 2541
Re: Enquiries about codings: Data units and Gyro & acc
I will try to answer. Please more experienced developers correct me. Your questions refer to the old-stile Alex PID controller. The PID works in three possible modes. The standard ACRO mode, ANGLE_MODE and HORIZON_MODE. HORIZON mode is actually only a combination of the other two (and i will not di...
- Mon Sep 30, 2013 11:28 pm
- Forum: Software development
- Topic: small angles 25deg alternative solution
- Replies: 6
- Views: 6291
- Mon Sep 30, 2013 11:08 pm
- Forum: Software development
- Topic: What about axisPID[THROTTLE]
- Replies: 2
- Views: 1238
Re: What about axisPID[THROTTLE]
It is bugging me a little bit how rcCommand[THROTTLE] is used both for the RC input and for the throttle output. To the point that correction on the throttle are done like rcCommand[THROTTLE]+= throttleAngleCorrection; Wouldn't it be more coherent with the rest of the code to have a value axisPID[T...
- Mon Sep 30, 2013 11:05 pm
- Forum: Software development
- Topic: Arduino src not shared, cpp shared, why?
- Replies: 9
- Views: 3280
Re: Arduino src not shared, cpp shared, why?
Hi, in eg. Alarms.cpp, there is an #include "Arduino.h" . But in the file system layout, Arduino.h is not in the same directory as Alarms.cpp. OK I really should find that migration thread you mentioned there, maybe there is a solution. But till then, what was the intension - that I get t...
- Mon Sep 30, 2013 10:55 pm
- Forum: Software development
- Topic: Arduino src not shared, cpp shared, why?
- Replies: 9
- Views: 3280
Re: Arduino src not shared, cpp shared, why?
Hi, I have looked at the MultiWii code and gotten it to compile in Arduino too, after adding a missing alarmArray. All fine so far... I still need to understand the reasoning behind the structure of the project: There is a MultiWii folder with .ino contents and there is a MultiWii_shared with what ...
- Mon Sep 30, 2013 10:47 pm
- Forum: Software development
- Topic: General servo handler - almost done
- Replies: 115
- Views: 47594
Re: General servo handler - almost done
// get servo middle point from Config or from RC-Data int16_t get_middle(uint8_t nr) { return (conf.servoConf[nr].middle < RC_CHANS) ? rcData[conf.servoConf[nr].middle] : conf.servoConf[nr].middle; } what the HELL is this??? Why is this kinda idiocy not commented at all? rcData[] indexed by servoco...
- Mon Sep 30, 2013 10:39 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
Hi, I did a small overview with the new PRE Code and I stumbled upon a small thing I'd like to adress: I like to start action style with the copter in my hand tilted and then start engines and throttle up in acro and let it loose, I need to fly with my Camera below the copter and becuase of vibrati...
- Mon Sep 30, 2013 10:35 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
Hi, today I tested r1573 in 328 (Crius SE) with I2C_GPS_NAV_v2_2 loaded in Arduino Promini and ALWAYS after powering ON I see three I2C errors in GUI. Then it works normally and number of errors remains on 3, but previously it wasn't like this. Probably just bad timing during bootup, but doesn't lo...
- Wed Sep 25, 2013 11:58 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
HSPalm wrote:Hobby developer here. And I keep asking myself, why I still have to do some basic settings like min/max throttle value in config, I think this would be better off i GUI as it's a pain to tweak config.h values while out flying.
and what about "GUI globalsettings pane" ?
- Wed Sep 25, 2013 11:50 pm
- Forum: MultiWii tweaking - flying experience
- Topic: dev_2013_08_23_r1573_pre_2.3 user feedback
- Replies: 14
- Views: 5525
Re: dev_2013_08_23_r1573_pre_2.3 user feedback
I forgot to mention I also have an OLED_I2C_128x64. I have no sonar. Plus my MAG and BARO are on the MPU-6050 secondary i2C. This morning I tried again, using Arduino 1.5.2 and doing power-off resets after eeprom_clear I get the same results. That is ‘it all works until I bring i2C_GPS into the ske...
- Wed Sep 25, 2013 2:03 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1596217
Re: Altitude Hold improvement solution
I was reading trough the Altitude hold code as of r1555. I noticed that, although the baroPressureSum is calculated quite often, the LPF for alt.EstAlt uses it only every 25ms. not so often in fact. in Sensors.cpp line 731, you can see (for MS baro) that a new pressure measurement in only available...
- Wed Sep 25, 2013 1:56 pm
- Forum: Software development
- Topic: Suggestion for Baro temperature in getEstimatedAltitude
- Replies: 22
- Views: 12669
Re: Suggestion for Baro temperature in getEstimatedAltitude
BTW: According to the datasheet you need to calculate "T2" to get a correct temperature readout below 20 Degree for MS5611. Just saying... right, according to spec an offset of T2 = dT2 / 2^31 should be used to the temperature, we need to evaluate it under 20deg to see if it is really rel...
- Wed Sep 25, 2013 1:51 pm
- Forum: MultiWii tweaking - flying experience
- Topic: dev_2013_08_23_r1573_pre_2.3 user feedback
- Replies: 14
- Views: 5525
Re: dev_2013_08_23_r1573_pre_2.3 user feedback
@linuxslate, thank you for initiating this post
@Wayne: I will check this tonight, maybe a problem with GPS I2C devices with SONAR enabled
@all: are you using the java GUI ? It's important due to one MSP message update
@vistauser: I hope we will have a lot of feedbacks like yours
@Wayne: I will check this tonight, maybe a problem with GPS I2C devices with SONAR enabled
@all: are you using the java GUI ? It's important due to one MSP message update
@vistauser: I hope we will have a lot of feedbacks like yours
- Wed Sep 25, 2013 1:45 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
PatrikE wrote:If RCSERIAL MSP is detected it will a always overide all other RC-commands.
In fact not all, only those which are not set to 0.
=> you can use RCSERIAL to control only the chan you want, and you can still use Conventional RC at the same time for other channels.
- Wed Sep 25, 2013 1:40 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
#2 - possible overflow issue somewhere? If I do full hard yaw side to side the real motor goes 100% for a very short time. Copter nearly perpendicular to ground. Its frigging scary... Its easily repeatable It does NOT happen in ACRO ?? It happens in Horizon. Did not try level. Hi, I don't understan...
- Mon Sep 23, 2013 11:49 pm
- Forum: Software development
- Topic: MSP protocol documentation
- Replies: 32
- Views: 10379
Re: MSP protocol documentation
Hi Could we have a file with protocol decryption which will be updated when there are the changes in MSP protocol ? (something like this m ) Or could we have a descryption in the Protocol.cpp ? it is frustrating to find what the values means if they labeled like this: struct { uint16_t a,b,c,d,e,f;...
- Mon Sep 23, 2013 11:45 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
I've uploaded a first candidate for testing/debugging purpose in the download section of google code
- Mon Sep 23, 2013 11:14 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 47213
Re: Release v2.3 is coming soon... prepare
Stars112 wrote:Hi,
Can anybody fix the problem with the fast yaw (gier) before release 2.3 please?
Fast Yaw bring the PID Controler to Run out...
Greetings from Germany,
Marc
viewtopic.php?f=8&t=3805