Search found 154 matches

by rubadub
Thu Oct 02, 2014 11:11 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

before I scour google, I wanted to ask first... is there currently a hack to enable control of pan/tilt servos for an FPV cam on a 4-servo AIRPLANE setup within MW & on a MEGA board? The last piece in my puzzle is controlling the PT gimbal from the MW, since I have a single, long lead from the R...
by rubadub
Thu Oct 02, 2014 10:36 am
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

"your rude post above" Now it is even more evident. Thanks for make 100% clear your position you're welcome... now let it go & learn to move on... So, do you actually have anything constructive to say, or are you just here to troll, be antagonizing, reiterate how much you love MW8's c...
by rubadub
Thu Oct 02, 2014 10:32 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

FYI, for anyone using FLYING_WING... In case anyone wants to play with the rate settings for pitch&roll without having to recompile, here's what I did... //Output.cpp, mixTable() function #elif defined( FLYING_WING ) #elif defined( FLYING_WING ) /***************************** FLYING WING *******...
by rubadub
Thu Oct 02, 2014 10:03 am
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Re:

Seriously ... you don't need any reflow oven station ... just a 3$ cheap battery power iron is enough for the job for DIY Naze32. Actually ... even no soldering at all if you get some GY-86 / GY-87 with already pre solder pin. Hot glue come handy for stick the 10DOF on the STM32 board. that's not &...
by rubadub
Wed Oct 01, 2014 11:46 pm
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Re:

Seriously ... you don't need any reflow oven station ... just a 3$ cheap battery power iron is enough for the job for DIY Naze32. Actually ... even no soldering at all if you get some GY-86 / GY-87 with already pre solder pin. Hot glue come handy for stick the 10DOF on the STM32 board. that's not &...
by rubadub
Tue Sep 30, 2014 11:44 pm
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re:

^^^^ No apologies. I have very little tolerance for stupid people, especially those that want to act like condescending assholes or try to belittle others. Sadly, this seems to be the growing trend around the RC world. Btw, you're seriously kidding yourself if you think that was a real user. It's ju...
by rubadub
Tue Sep 30, 2014 9:09 pm
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

$18 Naze32 clone available at clonespy m and then you order it and have to wait six months for paul to ship, no thanks. show me an afro clone on ebay. I want a full-sensor FC from a little chinese man on ebay. You do know you can build your own full board in 10 minutes for $10....? GOOGLE Then you ...
by rubadub
Tue Sep 30, 2014 10:07 am
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

Jim Lee - you were my inspiration up until D) c++ object oriented. you're on your own my friend... +1 OO Coding ... make no sense with limited memory and CPU power The next step from OO Coding will be to go to virtual machine using Java ... like many server applications do in these days But one thi...
by rubadub
Tue Sep 30, 2014 10:03 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

question: what's the best practice for deciding on "servo rates"? It seems that the only effect they have is to multiply the PID factor by the specified percentage, so then couldn't the values simply be set to 100 and then have the throw controlled only by the PID term? Or, am I missing so...
by rubadub
Tue Sep 30, 2014 1:59 am
Forum: Software development
Topic: PPM Sum Input for CRIUS AIO V2 (aka PL1 / ICP5)
Replies: 24
Views: 5765

Re: PPM Sum Input for CRIUS AIO V2 (aka PL1 / ICP5)

found this thread. I'm trying to setup PPM for AIRPLANE mode on a CRIUS AIOP V2 board. The code suggested above by SpaceFish works fine for reading PPM on PL1. The problem now is that TIMER5 is used for both PPM and for generating PWM servo output on MEGA boards with MEGA_HW_PWM_SERVOS disabled (the...
by rubadub
Tue Sep 30, 2014 12:32 am
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

Jim Lee - you were my inspiration up until D) c++ object oriented. you're on your own my friend... hmmm. there's nothing wrong with going OOP. At first it kinda sux, but, in the long-run, it's much cleaner and better. The funny&stupid thing is that inside of GPS.cpp, there's a class called &quo...
by rubadub
Sun Sep 28, 2014 5:26 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

ezio wrote:
Leo wrote:Thanks. I didn't think of GPS altitude :roll:

Next time I'll pay attention to the GPS conditions in EZ GUI.

Actually MW doesn't use the GPS altitude at all.


don't know if it matters in this context, but PatrikE's fixed-wing NAV code uses GPS altitude instead of baro altitude. Just an FYI...
by rubadub
Sun Sep 28, 2014 5:23 am
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 732140

Re: Naze32 hardware discussion thread

scrat wrote:Just buy acro board.

nope, acro doesn't have baro. onboard baro is fine, but onboard mag has issues.

However, if TC says the sensor interface is moving to SPI, then it doesn't matter anyway...
by rubadub
Thu Sep 25, 2014 1:38 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 732140

Re: Sv: Naze32 hardware discussion thread

sorry if this has been asked before, but, other than removing the chip itself, is there any way to easily disable the onboard mag sensor on the afro naze32? I'm assuming there isn't but figured I'd check just in case... Short answer. No. For the equipped and knowledgeable it's simple. Just remove t...
by rubadub
Wed Sep 24, 2014 6:22 pm
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

Rubadub : MultiWii has assembly coded function for the most resource hungry integer function (multiplication) that's not true, and sounds like a bunch of marketing hype. there's pretty much standard multiplication going on throughout the majority of the code, with only a couple/few assembly routine...
by rubadub
Wed Sep 24, 2014 3:52 am
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 732140

Re: Naze32 hardware discussion thread

sorry if this has been asked before, but, other than removing the chip itself, is there any way to easily disable the onboard mag sensor on the afro naze32? I'm assuming there isn't but figured I'd check just in case...
by rubadub
Wed Sep 24, 2014 2:21 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

ezio wrote:If there is enough demand I will add it. For now easier for me is add custom command.


ok, I'll try to come up with a final prototype for adding the ROLLRATE and PITCHRATE to the protocol for FLYING_WING. I'll post back as soon as it's ready for your inspection/approval...
by rubadub
Wed Sep 24, 2014 2:16 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

quick & easy feature request: in MISC menu, please add options for changing Power Sensor variables, conf.psensornull and conf.pint2ma. The MSP protocol supports it? oops, i just checked, and it doesn't. I can add it to Protocol.cpp with your approval/guidance/blessing. Could we please work some...
by rubadub
Tue Sep 23, 2014 11:19 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

quick & easy feature request:
in MISC menu, please add options for changing Power Sensor variables, conf.psensornull and conf.pint2ma.
by rubadub
Tue Sep 23, 2014 2:03 am
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

KK2 has its own (optimized?) math libraries for dealing with the integer math. Though I haven't verified it, I'm pretty sure that KK did it that way for a good reason. I believe there's even a 24-bit integer type that's used, which seems like a great compromise. signed 16bit is just too damn small t...
by rubadub
Sun Sep 21, 2014 3:41 am
Forum: Software development
Topic: should baro glitch on EEPROM write?
Replies: 1
Views: 403

should baro glitch on EEPROM write?

I wrote a question in the boards/hardware forum, but apparently no one monitors that. I've got a CRIUS AIOP V2 board, and I'm noticing that the altitude from the baro sensor (MS5611) will temporarily spike in the GUI whenever a setting is written to EEPROM. This coincides with a short pause of the i...
by rubadub
Sat Sep 20, 2014 12:46 am
Forum: Shields, boards and sensors
Topic: EEPROM write voltage spike on MEGA, causes baro alt spike?
Replies: 1
Views: 341

EEPROM write voltage spike on MEGA, causes baro alt spike?

Can anyone with a MEGA board & MS5611 please try the following test: ⋅ power up board ⋅ connect to MW GUI ⋅ make sure that the altitude readings from the baro sensor have stabilized in the graph ⋅ make any change (such as an AUX checkbox) and write the cha...
by rubadub
Fri Sep 19, 2014 9:05 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

ok, but would it be able to handle custom MSP commands? I'm playing with creating a custom MSP_SET for setting the ROLLRATE and PITCHRATE variables for flying wings. I had to add two new variables to the conf_t struct and then create a new MSP_SET command & logic for setting these values with t...
by rubadub
Fri Sep 19, 2014 12:51 am
Forum: Software development
Topic: attitude lock mode?
Replies: 8
Views: 1114

Re: attitude lock mode?

some mock-up code... Multiwii.cpp //line 96 #ifdef ACC "ATTITUDE;" #endif //line 150 #ifdef ACC 20, //"ATTITUDE;" #endif //line 183 #if ACC int16_t attilock[2]; #endif //line 976 if (rcOptions[BOXATTITUDE]){ f.ANGLE_MODE=0; f.HORIZON_MODE=0; if (!f.ATTITUDE_MODE) { attilock[ROLL]...
by rubadub
Thu Sep 18, 2014 10:26 pm
Forum: Software development
Topic: attitude lock mode?
Replies: 8
Views: 1114

Re: attitude lock mode?

this describes it pretty accurately: m probably someone (not me) could even copy/adapt the taulabs controller to use in multiwii. yup, there you go, that's what I was referring to. It even states that it gives a more locked-in feel. The implementation would be simple, you basically just need to app...
by rubadub
Thu Sep 18, 2014 8:50 pm
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

MOTOR_STOP is handled later after all mixers. And applies on all models. I was under the impression that this wasn't the case when using a servo pin for throttle. Also, FLYING_WING mode has a motor count of zero in def.h, which would it exclude it from the "motor normalization" section of...
by rubadub
Thu Sep 18, 2014 8:44 pm
Forum: Software development
Topic: attitude lock mode?
Replies: 8
Views: 1114

Re: attitude lock mode?

Ideally, yes, that's true... but, in the real world, if the copter drifts slowly, the gyro's won't detect it.
Angle should be locked with data from acc sensor for it to be a true attitude lock.
by rubadub
Thu Sep 18, 2014 12:17 pm
Forum: Software development
Topic: attitude lock mode?
Replies: 8
Views: 1114

Re: attitude lock mode?

Try: Angle + GPS hold(Position Hold) + Baro (altutude hold)+ Mag (head hold) thanks, but that's not quite it. ANGLE will try to level the 'copter based on the calibrated ACC values and ACC trim. BARO is alt hold, which isn't really what I'm referring to. MAG *can* be part of the equation, assuming ...
by rubadub
Thu Sep 18, 2014 10:52 am
Forum: Software development
Topic: attitude lock mode?
Replies: 8
Views: 1114

attitude lock mode?

I searched around, but couldn't find anything relevant, or perhaps I missed it. Is there an 'attitude lock' flight mode in MW? i.e., releasing the sticks will hold copter's attitude (Roll/Pitch/Yaw angles all held fixed). I'm not talking about HORIZON either. I want the ability to set the copter's a...
by rubadub
Thu Sep 18, 2014 7:53 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

ok, but would it be able to handle custom MSP commands? I'm playing with creating a custom MSP_SET for setting the ROLLRATE and PITCHRATE variables for flying wings. I had to add two new variables to the conf_t struct and then create a new MSP_SET command & logic for setting these values with th...
by rubadub
Thu Sep 18, 2014 5:51 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

might be a stupid question, but can the CLI feature in EZ-GUI be used to send raw MSP_SET* messages? Or, does it only support the baseflight CLI features? Technically it is possible. Everything you put there is send to the flight control board. But it will be very difficult to do it as you have to ...
by rubadub
Wed Sep 17, 2014 11:30 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 282969

Re: MultiWii EZ-GUI

might be a stupid question, but can the CLI feature in EZ-GUI be used to send raw MSP_SET* messages? Or, does it only support the baseflight CLI features?
by rubadub
Wed Sep 17, 2014 11:07 pm
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

quick question: from looking at the code, it appears that the MOTOR_STOP option doesn't have any effect on FLYING_WING mode. I've made the following change, but I'm not sure what consequences it might have on Patrik's NAV code /***************************** FLYING WING ******************************...
by rubadub
Wed Sep 17, 2014 9:51 pm
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

PatrikE wrote:I tested 0.8 and the throws was close to recommendations in the manual for the plane.
It would be easier to be able to adjust from Gui..

In Baseflight version it can be set from CLI.


ok, thanks.
yes, it would be great to have in the GUI or CLI, at least for the MEGA versions...
by rubadub
Wed Sep 17, 2014 11:03 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

What's the reasoning behind selecting the default values of 0.5 for these constants? It's away to keep symmetrical throws on combinated full throws on Roll/Pitch. If you apply Roll without the 0.5 constant it can use whole Servorange. When you then apply elevator that servo can't move past the endp...
by rubadub
Wed Sep 17, 2014 3:08 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

questions about ROLLRATE and PITCHRATE constants for flying wing's. What's the reasoning behind selecting the default values of 0.5 for these constants? What effect would changing them have on flying wing performance? - I read the code & can understand the algorithm, but I'm trying to get a real...
by rubadub
Tue Sep 16, 2014 9:24 pm
Forum: Software development
Topic: RSSI injection on RC channel
Replies: 25
Views: 2973

Re: RSSI injection on RC channel

Thanks for comitting - this is nice feature Rubadub For me jumpy display of RSSI on an OSD is annoying - I get asked more to average readings than display actual... I have also noticed that for the digital RSSI, you can get 100% RSSI then 0% because the one rx packet didn't get processed by the rx....
by rubadub
Tue Sep 16, 2014 3:11 pm
Forum: Software development
Topic: RSSI injection on RC channel
Replies: 25
Views: 2973

Re: RSSI injection on RC channel

FYI, one thing I did personally was avoid using the rcData value because it is an averaged value. #if defined(RX_RSSI_CHAN) extern volatile uint16_t rcValue[]; uint16_t r = map((uint16_t)constrain(rcValue[RX_RSSI_CHAN],1000,2000), 1000, 2000, 0, 1023); #else uint16_t r = analogRead(RX_RSSI_PIN); #en...
by rubadub
Fri Sep 12, 2014 1:28 am
Forum: Software development
Topic: RSSI injection on RC channel
Replies: 25
Views: 2973

Re: RSSI injection on RC channel

i just did it like this: added note that RX_RSSI_CHAN starts at 0 #if defined(RX_RSSI_CHAN) uint16_t r = map((uint16_t)rcData[RX_RSSI_CHAN], 1000, 2000, 0, 1023); #else uint16_t r = analogRead(RX_RSSI_PIN); #endif #define RX_RSSI_CHAN 6 //RSSI injection on selected channel (for PPM, SBUS, etc.) (St...
by rubadub
Thu Sep 11, 2014 6:41 am
Forum: Software development
Topic: RSSI injection on RC channel
Replies: 25
Views: 2973

Re: RSSI injection on RC channel

I ended up doing the following: #if defined(RX_RSSI_CHAN) && RX_RSSI_CHAN>0 uint16_t r = (uint16_t) rcData[RX_RSSI_CHAN]; //range [1000:2000] r=(r-1000)*1023/1000; //scale to 0-1023 range #else uint16_t r = analogRead(RX_RSSI_PIN); #endif same basic concept, just added a little sanity check ...
by rubadub
Mon Sep 08, 2014 9:18 pm
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

some more random ideas... toss this ugly, dated forum system & go with something more modern. find some qualified web coders, get them into quads, and then recruit them to completely redo the web info, consolidtate all the random wikis, doc's, crap into something clean & understandable. come...
by rubadub
Thu Sep 04, 2014 1:42 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

In gps.h. #define FAILSAFE // Enable RTH failsafe incl Auto DisARM at home to autoland Comment that too. aaaah, ok, that must have been it, the defines were all hidden in GPS.h. Do you need approval to send them to config.h? It would be a lot more helpful if they were in the main config file
by rubadub
Wed Sep 03, 2014 10:32 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

It's Failsafe!.. Failsafe throttle is 1350 if you have not changed it. Roll 1450 is there to put the plane in a large left turn instead of flying level for ever.(Flyaway) Start Transmitter and Angle mode should be disabled. Make sure you commented FAILSAFE in config. yes, but the strange thing is t...
by rubadub
Wed Sep 03, 2014 7:35 am
Forum: Shields, boards and sensors
Topic: Need Crius AIOP V2 schematic please...
Replies: 0
Views: 604

Need Crius AIOP V2 schematic please...

Can someone please provide or show me where I can find a schematic for the CRIUS AIOP v2 board? I'm having an issue with very unstable & inaccurate MS5611 baro readings from one of my CRIUS AIOP V2 boards. I own two boards and only one is exhibiting strange behavior. MWGUI shows alt values jumpi...
by rubadub
Wed Sep 03, 2014 2:04 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

another issue that I'm finding is that ANGLE mode is enabled by default during testing (ANGLE box is green in MWGUI) and I can't disable it. I have FAILSAFE disabled in config.h and I have no receiver connected to the FC. THR channel reads 1350 & ROLL reads 1450 (not sure why, should be at 1500)...
by rubadub
Wed Sep 03, 2014 1:24 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

The Idéa behind it is that it should work with a minimum of sensors. And there can be problem if the Baro is affected by airspeed. GPS altitude is good enough for RTH But not precision Navigation. My plane rarely diff more than 2-3 meters in alt.' In void FW_NAV() you can change it to use Baro. // ...
by rubadub
Tue Sep 02, 2014 11:46 pm
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

LVNeptune wrote:
$18 Naze32 clone available at clonespy http://witespyquad.gostorego.com/the-flip32.html


and then you order it and have to wait six months for paul to ship, no thanks.
show me an afro clone on ebay. I want a full-sensor FC from a little chinese man on ebay.
by rubadub
Tue Sep 02, 2014 11:20 pm
Forum: Software development
Topic: Why development has stopped?
Replies: 230
Views: 28376

Re: Why development has stopped?

wow, lot's of stuff going on this thread. Here are some pretty clear points that I can see IMO: move to github & decide on a *group* of people that can handle the main repo & not just one guy being the supreme overlord who decides which patch stays & which doesn't. branch, branch, branch...
by rubadub
Tue Sep 02, 2014 10:04 pm
Forum: Software development
Topic: RSSI injection on RC channel
Replies: 25
Views: 2973

Re: RSSI injection on RC channel

ReadError wrote:For what its worth, Baseflight has this feature..
https://github.com/multiwii/baseflight/ ... #L493-L499


cool, lol, almost the exact same thing that I came up with... 8-)
by rubadub
Tue Sep 02, 2014 10:40 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 97878

Re: Airplane mode

For planes BaroMode will control throttle Not Elevator It's meant for copter use where throttle is used for controlling altitude. It's a little wrong approach for planes... Otherwise i don't think throttle should be controlled in V2.3. You can test to clear Eeprom. Is all servo/Esc on correct pins?...