Search found 65 matches

by csurf
Wed Feb 03, 2016 9:52 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

I think there are a couple of bugs with the latest baseflight build from github repo. The first is with the servo config tab. The servo info via the CLI 'servo' command is correct, but it appears corrupted when accessed via the servo window in ezgui. The values are all scrambled & incorrect for ...
by csurf
Sun Aug 02, 2015 8:07 pm
Forum: Software development
Topic: MultiWii OSD - MWOSD
Replies: 873
Views: 335922

Re: MultiWii OSD - MWOSD

(It's unlisted as what I'm doing is a bit illegal in Germany) Oh, I'm not upset or anything at all... These things happen and I will be flying again... This is ridiculous and very stupid. you admit that it's illegal, and yet you don't even bother to setup RTH and failsafe features, you just allow y...
by csurf
Wed Jul 22, 2015 5:48 pm
Forum: Software development
Topic: MultiWii OSD - MWOSD
Replies: 873
Views: 335922

Re: MultiWii OSD - MWOSD

@Leo, is your computer cpu hitting 100%? If so, then maybe that's your problem. I think someone else mentioned that the java app will completely load the processor, and on a slow computer, it will freeze and not respond. I've had it happen to me as well. You need a relatively fast computer with a lo...
by csurf
Mon Jul 20, 2015 5:18 pm
Forum: Software development
Topic: MultiWii OSD - MWOSD
Replies: 873
Views: 335922

Re: MultiWii OSD - MWOSD

@Rubadud Vario rate – yep its on the roadmap. Quite likely for next release. Pitch / Roll angles – is quite easy and I think not much memory. Probably in conjunction with schnupperm’s comments above. Disabled by default. Most likely not for next release. I require this as well. are you accepting PR...
by csurf
Wed Apr 09, 2014 11:00 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

In gps.cpp, function GPS_bearing() *bearing = 9000 + atan2(-off_y, off_x) * 5729.57795f; could be simpler, faster and shorter *bearing = atan2(off_x,off_y) * 5729.57795f; Also the parameters int32_t* lat1, int32_t* lon1, int32_t* lat2, int32_t* lon2, of the function do not need to be pointers. Inst...
by csurf
Wed Apr 09, 2014 10:47 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

Is this code base stable enough to use as a daily flyer? if I am not using the nav point, I like the idea of the fence/RTH code. I'm currently using it for daily flying. I don't use the NAV features other than RTH, pos hold, and LAND. It seems to work fine; there's not much difference from the regu...
by csurf
Fri Apr 04, 2014 12:28 am
Forum: Software development
Topic: GPS yaw rate / wind-up...
Replies: 2
Views: 1714

Re: GPS yaw rate / wind-up...

Spin speed is governed with your MAG P. value simply lower MAG P to slow down spin speed. ok, thanks for the tip, but I've already starting to make some other changes to the NAV code. I've implemented the rotation limit that I mentioned above, and am also adding some logic to enable a couple of oth...
by csurf
Wed Apr 02, 2014 12:35 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

ezio wrote:
csurf wrote:where is the source code repo for ez-gui located?

https://github.com/eziosoft/MultiWii_EZ_GUI

thank you :)
by csurf
Wed Apr 02, 2014 7:48 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

where is the source code repo for ez-gui located?
by csurf
Tue Apr 01, 2014 11:08 pm
Forum: MultiWii tweaking - flying experience
Topic: YAW makes copter climb?
Replies: 7
Views: 3308

Re: YAW makes copter climb?

does running comp_pwm increase the risk of damaging or burning up ESCs?
by csurf
Tue Apr 01, 2014 12:43 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

are there instructions on how to compile ez-gui?
by csurf
Mon Mar 31, 2014 10:55 am
Forum: Software development
Topic: GPS yaw rate / wind-up...
Replies: 2
Views: 1714

GPS yaw rate / wind-up...

need some advice/feedback on the following. I'm running EOSBandi's latest 2.3 nav version. During testing of the NAV functions (RTH, NAV missions, etc), I've found that the changes in heading are very abrupt. Within the GPS code, I saw the following... //GPS.cpp @ line 828 void GPS_adjust_heading() ...
by csurf
Sat Mar 29, 2014 3:09 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

uggh, another antagonistic response, what a pain... I would not name my respond antagonistic. Might it be the case that you don't allow others to have a different opinion? challenging a perfectly reasonable request with a counter-argument with no real basis other than for the sake of being conflict...
by csurf
Sat Mar 29, 2014 9:11 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

This change in board temperature can cause a big error in the calculated altitude readings. Why should a digital microcontroller show a big error when temperature changes? The only parts being affected by a temperature change are the analogue sensors. MultiWii code has already the temperature readi...
by csurf
Sat Mar 29, 2014 3:53 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

@csruf MultiWii code has already the temperature reading of the baro sensor for properly adjust the altitude reading. yes, that's correct, but I was referring to the gradual temperature rise during the time that the board slowly heats up to operating temp after being powered on from a cold start. T...
by csurf
Sat Mar 29, 2014 1:38 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

Why is it be impossible to do a temporary PosHold after a GPS failure? Just use the vertical acceleration values instead and try to keep them "zero". Or am I too naive? Not sure if you mean 'alt hold' via the vertical accel readings or an actual position hold (which I think might be tough...
by csurf
Fri Mar 28, 2014 1:06 pm
Forum: Software development
Topic: Powermeter & PSENSORNULL question...
Replies: 11
Views: 3161

Re: Powermeter & PSENSORNULL question...

i agree, it should be calculated correctly in all cases if possible, even if that means seperate formulae following the existing MWC pattern of adding new conditions via pre-compiler defines, something like the following could work... //config.h #define POWERMETER_BIDIR //Multiwii.cpp #ifdef POWERM...
by csurf
Fri Mar 28, 2014 12:37 pm
Forum: Software development
Topic: Powermeter & PSENSORNULL question...
Replies: 11
Views: 3161

Re: Powermeter & PSENSORNULL question...

Not sure about the code as not had time to look so this might be bollox... but consider some use bi-directional sensors... e.g. O current showing around 1.5v Increase in current may be recoreded as a decrease in the analogueread() value from the 0 value depending which may its connected... I don't ...
by csurf
Fri Mar 28, 2014 10:05 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

another quick question about RTH... I'm looking at the code and trying to understand what happens during a GPS NAV event, such as RTH, if the GPS fix is temporarily lost (possibly due to issues with the serial link and/or if the sat count drops below 5). For example, it *appears* that an RTH action...
by csurf
Fri Mar 28, 2014 2:58 am
Forum: Software development
Topic: Powermeter & PSENSORNULL question...
Replies: 11
Views: 3161

Re: Powermeter & PSENSORNULL question...

thanks haydent... I think its either just broken or whoever wrote that piece of code has a weird current sensor. I've been testing with my version and it seems to actually work now... Not sure if the mwc code maintainers will want to take a look at that or not. Hopefully this can at least serve as a...
by csurf
Fri Mar 28, 2014 2:47 am
Forum: Software development
Topic: bad coding in sensor loop...
Replies: 14
Views: 4495

Re: bad coding in sensor loop...

The "reason" the code does ++ in each switch() is because when there's no mag for example, it will just get incremented and fallthrough to the next (where it also might just get incremented etc). If there's no mag or baro or whatever, your version of taskorder will only increment by 1-2 p...
by csurf
Thu Mar 27, 2014 3:33 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: GPS NAV

another quick question about RTH... I'm looking at the code and trying to understand what happens during a GPS NAV event, such as RTH, if the GPS fix is temporarily lost (possibly due to issues with the serial link and/or if the sat count drops below 5). For example, it *appears* that an RTH action ...
by csurf
Thu Mar 27, 2014 3:05 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

question/comment: the multiwii wiki article on altitude/BARO tuning recommends adjusting the altitude D term in 0.2 increments... m Set P and I to 0. Slow increase D from 0 in 0.2 increments until you start to get a slow yo yo movement. Reduce D a littleuntil yo yo movement stops. At this point the ...
by csurf
Thu Mar 27, 2014 2:59 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

Re: winGUI feature request, baro calibration

I'd like to please make a feature request for WinGUI... please add a 'baro calibration' button in order to manually re-calibrate the barometer. It's currently possible to do a baro/gyro calibration using the sticks, but I'm not sure if the serial protocol supports initiating barometer calibration s...
by csurf
Thu Mar 27, 2014 12:04 pm
Forum: Software development
Topic: Powermeter & PSENSORNULL question...
Replies: 11
Views: 3161

Powermeter & PSENSORNULL question...

can someone explain what this is supposed to do or how it's intended to work??? in Multiwii.cpp, @ around line 433 uint16_t p = analogRead(PSENSORPIN); ... powerValue = ( conf.psensornull > p ? conf.psensornull - p : p - conf.psensornull); // do not use abs(), it would induce implicit cast to uint a...
by csurf
Thu Mar 27, 2014 11:37 am
Forum: Software development
Topic: bad coding in sensor loop...
Replies: 14
Views: 4495

Re: bad coding in sensor loop...

I think -= was there because % is more expensive... -=5 is a single? instruction in avr thats fast, foo % 5 is slower.. or someshit, who knows. its all fucking retarded. when you have to sacrifice code readability to do this kinda shit, its just a waste of time. % would be a lot slower since it's d...
by csurf
Thu Mar 27, 2014 11:12 am
Forum: Software development
Topic: bad coding in sensor loop...
Replies: 14
Views: 4495

Re: bad coding in sensor loop...

The "reason" the code does ++ in each switch() is because when there's no mag for example, it will just get incremented and fallthrough to the next (where it also might just get incremented etc). If there's no mag or baro or whatever, your version of taskorder will only increment by 1-2 p...
by csurf
Thu Mar 27, 2014 10:26 am
Forum: Getting Started - MultiWii config and setup
Topic: change powermeter parameters without wiping EEPROM?
Replies: 2
Views: 1009

change powermeter parameters without wiping EEPROM?

I need to adjust the powermeter variables PSENSORNULL and PINT2ma *without* having to wipe out EEPROM (I have my settings configured and so I don't want to touch them anymore). These variables are apparently stored in EEPROM and there doesn't appear to be a way to change them without erasing the EEP...
by csurf
Thu Mar 27, 2014 7:16 am
Forum: Software development
Topic: bad coding in sensor loop...
Replies: 14
Views: 4495

Re: bad coding in sensor loop...

It appears to me that you have not understood the coding completely. That is no a shame. But, lowering the performance of the developers by using words like BAD, HELL, HURT, etc sounds very arrogant... By the way: your proposed changes seem to demonstate your skills, in no way there are clearer or ...
by csurf
Thu Mar 27, 2014 7:02 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 405405

winGUI feature request, baro calibration

I'd like to please make a feature request for WinGUI... please add a 'baro calibration' button in order to manually re-calibrate the barometer. It's currently possible to do a baro/gyro calibration using the sticks, but I'm not sure if the serial protocol supports initiating barometer calibration se...
by csurf
Thu Mar 27, 2014 6:24 am
Forum: Software development
Topic: bad coding in sensor loop...
Replies: 14
Views: 4495

bad coding in sensor loop...

The following code structure exists in the state machine for the sensor loop... if(taskOrder>4) taskOrder-=5; switch (taskOrder) { case 0: taskOrder++; #if MAG if (Mag_getADC() != 0 ) break; // 320 µs #endif case 1: taskOrder++; #if BARO if (Baro_update() != 0 ) break; // for MS baro: I2C set and ge...
by csurf
Tue Feb 04, 2014 1:36 am
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

With my project, I had the idea that I'd eventually start stripping out a bunch of extra stuff that wouldn't be needed for RTH...It would only support either Rx pass-thru or RTH and nothing more... If motor pins are not required, that would free up the SPI port. With that free, and External eeprom ...
by csurf
Tue Feb 04, 2014 1:31 am
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

I believe in keeping things simple or as simple as possible. The key to all of these parameters is not just understanding what they do but also what their limitations are. It is impossible to cater for every eventuality. I'm sure that if asked to define a list of all the scenarios where RTH could/w...
by csurf
Tue Feb 04, 2014 12:49 am
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

so going back to the topic of RTH and initial height, the default is 0cm! So you'd be very unlucky if you needed to initiate this and you were below the treeline! What about failsafe initiating RTH? So much going on within the NAVI code that I can't remember what's coded for this. The code comments...
by csurf
Tue Feb 04, 2014 12:36 am
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

@csurf You clearly are on the wrong forum if you can't deal with timecop. He can be an asshole but if one person is going to ruin your whole day you need to get off the internet. The amount of immaturity in the profane language you keep referencing in your post keeps going higher and higher. It's j...
by csurf
Tue Feb 04, 2014 12:30 am
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

the profanity started with the initial "Fuckin' brilliant" by jean claude van douchebag... it's annoying watching (potentially) clever people pouring resources into dead-end platform with no future. imagine for a second how much more progress there would be in multiwii if garbage like pro...
by csurf
Mon Feb 03, 2014 11:50 pm
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

This is interesting and actually quite funny! I wonder if adding profanity to the code makes it work better! I used to be a COBOL programmer and remember a piece of code that failed that I had to fix. When I opened up the code I immediately noticed lots of words that should not have been there. Evi...
by csurf
Mon Feb 03, 2014 11:40 pm
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

you never heard of baseflight aka multiwii port to 32-bit right ? no, and I really don't care to... why should I? I was in no way asking a question about/commenting on some other MW port or platform. it's irrelevant to this post that deals with the original MW on the AVR. If I knew about or were co...
by csurf
Mon Feb 03, 2014 7:13 pm
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

DId you checked MW2.3-navi ? It is already implemented. Code will be migrated to _shared shortly.... ok, wasn't aware of that...thanks... just checked the code & found this... //Defines the RTH altitude. 0 means keep current alt during RTH (in meters) #define RTH_ALTITUDE 0 //Wait to reach RTH ...
by csurf
Mon Feb 03, 2014 6:54 pm
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

Re: RFC: configurable height for GPS HOME...

But is it a #define? That's the innovative part. Recompile each time you want to change RTH height. Fuckin' brilliant. @timecop...you're clearly an uptight bastard... I'm not listening to you, you're a fuckin moron that thinks you're smarter than you really are. yes, it's a define...as are many, ma...
by csurf
Mon Feb 03, 2014 10:04 am
Forum: Software development
Topic: RFC: configurable height for GPS HOME...
Replies: 22
Views: 5773

RFC: configurable height for GPS HOME...

Hello, here's my first small effort to contribute... In working towards my goal of building a stand-alone MW RTH/nav setup w/ CPPM output (for sending to another FC), I'm considering adding a new config option in my setup called 'NAV_HOME_HEIGHT'... The goal of this config option would be to send th...
by csurf
Mon Feb 03, 2014 9:59 am
Forum: Software development
Topic: PPM passthru for sending nav to other FC?
Replies: 7
Views: 2319

Re: PPM passthru for sending nav to other FC?

update for anyone interested... I successfully managed to get passthru CPPM output to work. I was able to fly my quad by having the MW pass the PPM sum input signal from the Rx through to the KK2 via another PPM sum output signal. Now, I'll just need to work on configuring the rest of the code to tr...
by csurf
Sat Feb 01, 2014 10:25 pm
Forum: Software development
Topic: PPM passthru for sending nav to other FC?
Replies: 7
Views: 2319

Re: PPM passthru for sending nav to other FC?

Thanks for the feedback, but I'd still like to move forward with my (crazy) idea... Perhaps, if anything, it will help me learn to code for MW. I'd really appreciate some constructive, more specific advice on how I'd have to set this up within the code. My plan is to add a new define (ex #define NAV...
by csurf
Sat Feb 01, 2014 6:41 am
Forum: Software development
Topic: GUI via softserial on pro mini
Replies: 0
Views: 669

GUI via softserial on pro mini

I know this has been asked before in a few different ways, but I'm trying to figure out a definitive answer... On a 328p board (arduino nano), how can I setup the GUI to use software serial & leave the HW USART port for GPS comm? I know&understand the implications of this, but I just need it...
by csurf
Thu Jan 30, 2014 11:19 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

thanks for pointing the back button bug. I will take closer look soon. you're welcome...you have a great app & have done an excellent job! Here are some other small items that you might like to consider... - option to 'auto-reconnect' when connection is lost (like when switching out battery), p...
by csurf
Thu Jan 30, 2014 9:52 pm
Forum: Software development
Topic: PPM passthru for sending nav to other FC?
Replies: 7
Views: 2319

Re: PPM passthru for sending nav to other FC?

What flight characteristics do you like about the KK2? I've used both and the multiwii is far far more responsive so rather than hacking together something like that, could you not tune/check how the multiwii flies to get it more like the KK? Also the current code doesn't do that (nor will it ever)...
by csurf
Thu Jan 30, 2014 1:13 pm
Forum: Software development
Topic: PPM passthru for sending nav to other FC?
Replies: 7
Views: 2319

PPM passthru for sending nav to other FC?

Id like to try an experiment where I place an arduino nano w/multiwii + sensors (mag, baro, gps, gyro&accel) between my Rx and another FC (KK2.0). The reason for this is that I want to keep the KK2's flight characteristics but Id like to use the MW as a 'nav computer' for failsafe/RTH. So, my id...
by csurf
Thu Jan 30, 2014 1:00 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

dumb question... how can I disable all sounds from the app? I don't want to hear the beep on startup or the nuclear bomb alert when arming the board At the moment you can't disable all sounds. I will add it in next version. thanks... can I point something else out? the back button doesn't always di...
by csurf
Wed Jan 29, 2014 8:00 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 654360

Re: MultiWii EZ-GUI

dumb question... how can I disable all sounds from the app? I don't want to hear the beep on startup or the nuclear bomb alert when arming the board :(
by csurf
Wed Jan 29, 2014 2:26 am
Forum: Connecting elements
Topic: MEGA_HW_PWM_SERVOS and a tricopter issues
Replies: 13
Views: 4786

Re: MEGA_HW_PWM_SERVOS and a tricopter issues

Thanks alex...I appreciate the help. How much dev would be required to re-route the TRI tail servo to one of the D44-D46 pins? Is it minimal or very involved? I'd be willing to do it if I could get some assistance and feedback on how it should be done... It would require to know how timers work in ...