Search found 287 matches

by brm
Thu May 08, 2014 6:04 pm
Forum: Software development
Topic: Hardware in the loop simulation
Replies: 18
Views: 6629

Re: Hardware in the loop simulation

the latest git stuff does not compile.
neither windows nor linux...
by brm
Thu May 08, 2014 6:02 pm
Forum: Software development
Topic: need help understanding some code in RX.cpp
Replies: 5
Views: 1947

Re: need help understanding some code in RX.cpp

dominicclifton wrote:Hi Pluschi, thanks for taking the time out to answer my question, much appreciated. That really helps alot. So I'm guessing that with a processor that can measure the ppmsum inputs with greater accuracy this is not needed at all?

yes, a simple averaging thing will do it.
by brm
Wed May 07, 2014 7:57 pm
Forum: Software development
Topic: Hardware in the loop simulation
Replies: 18
Views: 6629

Re: Hardware in the loop simulation

very nice!
need to play with it.
by brm
Mon Apr 28, 2014 7:31 pm
Forum: Software development
Topic: Altitude hold agorithm
Replies: 34
Views: 11766

Re: Altitude hold agorithm

timecop wrote:Vario-based altitude hold fucking sucks.
my 2c


using python i would suggest to use the keyword self.
http://stackoverflow.com/questions/2709821/python-self-explained
you could write self.fuck
by brm
Mon Apr 28, 2014 7:11 pm
Forum: Software development
Topic: Altitude hold agorithm
Replies: 34
Views: 11766

Re: Altitude hold agorithm

Finally, I got to test the proposed change in altitude hold code. The logic behind the fix seemed flawless, but I was half-expecting that there is something I missed and the test would reveal that. Well, imaging my joy when the improved code worked exactly as intended on the first try. It produced ...
by brm
Mon Apr 21, 2014 6:17 pm
Forum: Boards
Topic: Cortex-A9-based DuoVero
Replies: 8
Views: 3230

Re: Cortex-A9-based DuoVero

copterrichie wrote:Maybe a little off the MultiWii topic but very interesting development in the 32bit arena.

http://linuxgizmos.com/linux-module-con ... licopters/


i would wait until the sensor capes for the beaglebone black do appear.
now you pay for the new technology.
by brm
Sun Apr 13, 2014 9:49 am
Forum: Software development
Topic: MultiWii Conf and WinGUI in windows 8
Replies: 3
Views: 2479

Re: MultiWii Conf and WinGUI in windows 8

use another piece os software.
plus there are too many bugs related to the serial port.
by brm
Wed Mar 26, 2014 8:20 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 401046

Re: GPS NAV

houston, we have a problem... ************* Ausnahmetext ************** System.ArgumentOutOfRangeException: Der Wert 4 ist für Value ungültig. Value sollte zwischen 'Minimum' und 'Maximum' liegen. Parametername: Value bei System.Windows.Forms.NumericUpDown.set_Value(Decimal value) bei MultiWiiWinGUI...
by brm
Thu Mar 13, 2014 7:52 pm
Forum: Software
Topic: AfroMini in a Plane Hints ?
Replies: 29
Views: 10384

Re: AfroMini in a Plane Hints ?

I did maiden fly my AfroMini today. Its still alive (!) Works like expected. Acro / Angle / Horizon switch works, Passtrough works. I had very small PID values to avoid that constant servo movements. Going to up those tomorrow. Althold (baro) was difficult. I had the impression the plane pulled up ...
by brm
Fri Mar 07, 2014 9:15 pm
Forum: Ideas
Topic: Fuzzy Quadcopter!
Replies: 10
Views: 4501

Re: Fuzzy Quadcopter!

ned stands for North East Down. so - what do you do with rol and pitch?!? you copter would hover only with your code. what about the radio: desired roll & desired Pitch. where do you feed it?!? and now D like down. you say the uav does nothing .... ever looked how to apply throttle? you need to ...
by brm
Fri Mar 07, 2014 7:36 am
Forum: Ideas
Topic: Fuzzy Quadcopter!
Replies: 10
Views: 4501

Re: Fuzzy Quadcopter!

copterrichie wrote:There are three maybe for threads on Fuzzy Logic, I think it would be helpful to consolidate them into one.

Here is some information on Fuzzy Logic used on arduino: http://zerokol.com/post/51e9324ee84c55a1f5000007/1/en

https://github.com/zerokol/eFLL

thanks for the link.
will look at it - it's c++ - throwing the rest away to stick with c++ :-)
by brm
Thu Mar 06, 2014 9:34 pm
Forum: Ideas
Topic: Fuzzy Quadcopter!
Replies: 10
Views: 4501

Re: Fuzzy Quadcopter!

Anyone has any idea of how it can be done? you can ignore all modes in the first step. errorAngle = constrain((rcCommand[axis]<<1) + GPS_angle[axis],-500,+500) - angle[axis] + conf.angleTrim[axis]; //16 bits is ok here the calculated value "errorAngle" goes into you fuzzy calculation. the...
by brm
Sun Mar 02, 2014 7:01 pm
Forum: Software
Topic: AfroMini in a Plane Hints ?
Replies: 29
Views: 10384

Re: AfroMini in a Plane Hints ?

I have tested using baropid on Arduinoboard but it needs more work to fly properly! It kept altitude but it was flying like a dolphin so it's way to powerful as it is. I don't recommend using it as it works now! what about softer pid settings? and pid calculations have a problem anyway in planes. e...
by brm
Thu Feb 06, 2014 2:46 pm
Forum: Software
Topic: Baseflight aka multiwii port to stm32
Replies: 1036
Views: 2550642

Re: Baseflight aka multiwii port to stm32

Timecop, Would you be capable to make baseflight compatible with the OneShot output method developed by Felix Nielssen (ronco) as implemented in the UltraESC-FlyduinoNanoWii combo? The method is schematised here http://www.multiwii.com/forum/download/file.php?id=1630&mode=view Warthox, the refe...
by brm
Wed Feb 05, 2014 8:48 am
Forum: Software
Topic: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
Replies: 9
Views: 5698

Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86

ST MEMS are shit, particularly popular LSM303DLHC. It's too noise sensitive and has internal parasitic/off-frequency resonances. mpu6050/mpu6000 best choice for now taking into account quality and price http://www.youtube.com/watch?v=yY8xULg1gUU&feature=player_detailpage&list=UUIq1PaR9qEuyT...
by brm
Tue Feb 04, 2014 1:13 pm
Forum: Software
Topic: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86
Replies: 9
Views: 5698

Re: Port of BaseFlight for STM32F4-DISCOVERY board + GY-86

Oh, OK. I thought innovation would start happening after new hardware is released at appropriate euro-prices. Well in either case, looking forward to amazing algorithms grafted on the piece of shit that is baseflight, to take full advantage of 168Mhz + FPU. waiting for st mems devices to appear on ...
by brm
Tue Feb 04, 2014 1:09 pm
Forum: Software
Topic: Harakiri aka multiwii port to stm32
Replies: 1502
Views: 556645

Re: Harakiri aka multiwii port to stm32

mag and acc unit are normalized. in case you are short on cpu cylces just forget si units and all the scaling. what does count in is a normalised vector for acc and mag. and for shure the axis have to be correct. carefull calibration is also a big plus - the calibration in johns code is correct but ...
by brm
Fri Jan 24, 2014 7:03 pm
Forum: Software
Topic: Harakiri aka multiwii port to stm32
Replies: 1502
Views: 556645

Re: Harakiri aka multiwii port to stm32

timecop wrote:
LVNeptune wrote:I believe by flip support they are referring to the Flip FC.


I believe you're a fucking retard.
Based on the context its something about flipping (you know, the quad) while baro mode is enabled.


you're back to live.
i have it black on white ...
by brm
Sat Jan 18, 2014 3:00 pm
Forum: Software
Topic: Harakiri aka multiwii port to stm32
Replies: 1502
Views: 556645

Re: Harakiri aka multiwii port to stm32

one thing which I'm still baffled about is .. It seems like my setups are the only ones suffering from this faceplant flip ( of death ). No one else reported this it seems. I had few of them in previous summer. With different firmware and different boards. I'm not sure if it's board fault or someth...
by brm
Sat Jan 11, 2014 8:49 pm
Forum: Boards
Topic: AfroBGC mini - 2-axis Brushless Gimbal Controller
Replies: 4
Views: 2561

Re: AfroBGC mini - 2-axis Brushless Gimbal Controller

lol,
my next thing is called afro:
- afro esc's
- afro fc
- afro gimbal
- afro power distribtution plate
some oem motors might be missing :mrgreen:
by brm
Sat Jan 11, 2014 3:56 pm
Forum: Boards
Topic: AfroBGC mini - 2-axis Brushless Gimbal Controller
Replies: 4
Views: 2561

Re: AfroBGC mini - 2-axis Brushless Gimbal Controller

ups,
8-bit shit ....

you know, a aBUGSworstnightmare is a debugger ...
by brm
Mon Jan 06, 2014 9:07 pm
Forum: General discussions
Topic: Renaming this subforum
Replies: 5
Views: 2771

Re: Renaming this subforum

Back in 1996 when i picket this nick 32bit was decent. But i 've started microcontroller programming on an 8051 which was only 8bit, so my nick doesn't come from processors but from my shirt number back then. jesus christ superstar ... intel 8051 ... i get ill when seeing these, including 8088 and ...
by brm
Sun Jan 05, 2014 7:49 pm
Forum: Software
Topic: Harakiri aka multiwii port to stm32
Replies: 1502
Views: 556645

Re: Harakiri aka multiwii port to stm32

what about an mpu-3050?
mma comes hand in hand with the mpu-6050.
maybe there are some variants with mpu-3050 and mma unit ...
by brm
Sun Jan 05, 2014 7:46 pm
Forum: General discussions
Topic: Renaming this subforum
Replies: 5
Views: 2771

Re: Renaming this subforum

yes, people do not know the difference between 8 and 32 bits ...
what about frog8?
by brm
Wed Jan 01, 2014 2:10 pm
Forum: Software development
Topic: I think I'm crazy. LQR instead of PID?
Replies: 6
Views: 3428

Re: I think I'm crazy. LQR instead of PID?

Yes I think I'm crazy, but I can easily achieve better results with LQR (linear quadratic regulator) than PID controller (in Simulink for my assignments in the university). Of course if I have the model of my machine I can even make a pole placement controller but that can be a lot of work and not ...
by brm
Wed Dec 25, 2013 9:34 pm
Forum: Software
Topic: Baseflight aka multiwii port to stm32
Replies: 1036
Views: 2550642

Re: Baseflight aka multiwii port to stm32

this must be true love.

if debugging and testing is the process to remove bugs, then writing software
must be the process creating them :mrgreen:

no time for testing and bug catching - we are up in the mountains.
happy new year to all ...
by brm
Tue Dec 24, 2013 8:54 pm
Forum: Software
Topic: Baseflight aka multiwii port to stm32
Replies: 1036
Views: 2550642

Re: Baseflight aka multiwii port to stm32

But it didn't in my case. It could only use it as a ubx gps when i did set gps_baudrate=4 (9600 baud), but i didn't realize that it should have worked then I try It again with Naze32 rev0 and rev4, but with "Chrome Google Baseflight configurator" and I had the same issues, GPS is not dete...
by brm
Thu Dec 19, 2013 8:27 pm
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

if you replace the floats with a matrix, then you have a full kalman filter. the simplification is based on reducing the matrix operations. i use a simple pt1 element for the baro. did you measure the noise? if not then you need to do so. what is a "double Hz filter" if it is a cascaed pt1...
by brm
Mon Dec 16, 2013 9:03 pm
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

will push it later on.

have a quanton right next to me.
time to play with the fpu ;-)
by brm
Mon Dec 16, 2013 5:10 pm
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

hi, the cascaded pt1 has the advantage not creating a 'swing' in the response. it is slower as the pt1. played monopoly on sunday afternoon with my girls - no time to continue. gps is navigation - no sharp changes exptected - can be a solution here. but still, take a pt1 and play with the cutoff fre...
by brm
Mon Dec 16, 2013 4:53 pm
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182462

Re: V2.2 - ACRO PID implementation is wrong, right?

i would not use it as it is not stable.
to much delay for the d-term is deadly.
also 180 degree phase response versa phase 90 is is deadly.
fun to test ;-)
by brm
Sun Dec 15, 2013 10:23 am
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

i am somewhat in doubt after an aggressive flying session. on my smaller quad i got two 'breakouts'. it might be possible that you are operating on the border of the system stability. i made the fir filter optional. will do the same to choose between the normal pt1 element and the cascaded version. ...
by brm
Sun Dec 15, 2013 8:56 am
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

hi,
yes, i flew the original sw - build from the github sources.
then i reduced the d-term to 60 - flew great.

i am looking to reduce the various complementary filters to more 'direct' values.
the d-term is 'size' dependent.
what is the size of the copter you are flying?

best robert
by brm
Sat Dec 14, 2013 12:36 pm
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

i won't hit you as i cannot do it remote ;-)
http://www.rn-wissen.de/index.php/Regelungstechnik
to me you created a cascaded pt1 element at 20 hz.
not what i would call a pt2 element.
but i will give it a try ...

EDIT:
... i did.
the d-term causes the copter to oscilate.
so pls. reduce - no fun to fly ;-)

i changed a few things to test:
by brm
Fri Dec 13, 2013 11:01 pm
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

hi,
pls. update your git repo ;-)
would be very helpfull.

will give it a try.
maybe the d-term is less errorprone to higher order filters.
best
robert
by brm
Tue Dec 10, 2013 10:49 pm
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

hi, no problem at all ... i frequently read only a third of an email m higher order filters have the problem being mathematically unstable on sharp changes. this pictures in the link do show the over shoot scenario. the question of using a higher order filter is simple: do i allow the input signal t...
by brm
Mon Dec 09, 2013 8:11 pm
Forum: Software
Topic: pt1 element
Replies: 27
Views: 14246

Re: pt1 element

hi, i would not add anything called time scaling. as usual there is jitter on the time axe. the pt1 calculation takes this into account. the pt1 element should be calculated using the delta from round to round. if there is a need to average this new delta calmed by a pt1 element, then this is an ind...
by brm
Sun Oct 27, 2013 9:55 pm
Forum: Ideas
Topic: Better IMU6050 initialization
Replies: 5
Views: 2880

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. my doc does not mention spi or i2c Interface when it Comes to resetting the Signal path. the very next chapter mentions a a dif...
by brm
Sun Oct 20, 2013 9:24 am
Forum: Ideas
Topic: Better IMU6050 initialization
Replies: 5
Views: 2880

Re: Better IMU6050 initialization

Alexinparis wrote:Hi,

The spec mentions the SIGNAL_PATH_RESET is specific for SPI. (so not I2C I think)

???
nothing says it is for the spi variant only.
worth giving it a try.
by brm
Wed Oct 16, 2013 8:18 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1376961

Re: Naze32 hardware discussion thread

you prob. have seen to many code snippets when the sensor Fusion 'does' a cross product. a cross product is the area between two vectors and has nothing to do with a coordinate System. guess again what is ned? m Multi wii is not ned. you missed the geometrical view of the cross product. baseflight ...
by brm
Wed Oct 16, 2013 7:08 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1376961

Re: Naze32 hardware discussion thread

mag works - at least updates values. what are you seeing? I don't know, since rev438 my Mag values are flatlining in MultiWiiConf. I rolled back and forth a couple of times with the same result. Might be related to my MultiWiiConf version, though. It's been acting kind of quirky sometimes. what's w...
by brm
Tue Oct 15, 2013 7:18 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1376961

Re: Naze32 hardware discussion thread

I think there are still some problems. Alt is working now, but but Mag values are not. The proper way to handle vertical board mounting would be to rotating final sensor output vector...(which isn't implemented, feel free to patch k, I attached a suggestion with most important transformations. too ...
by brm
Sun Oct 13, 2013 5:19 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1376961

Re: Naze32 hardware discussion thread

For GCC, I would suggest using latest gcc-arm-embedded (m) Everyone who's developing on this code uses latest build of it. I, and a few other people use keil (currently 4.7 or 5.0) These 2 configurations (keil/gcc-arm-emb) get a lot of testing, other toolchains/compilers might not generate good cod...
by brm
Mon Sep 16, 2013 9:42 pm
Forum: Software
Topic: Harakiri aka multiwii port to stm32
Replies: 1502
Views: 556645

Re: Harakiri aka multiwii port to stm32

crazyal wrote:dunno if that's still up to date.
but that's a coding fail:
https://github.com/Crashpilot1000/Summe ... /imu.c#L71
let's read gyro values AFTER we calculate attitude *facepalm*


this is the famous mw sampling of data.
deleting is the best what you can do.
by brm
Mon Sep 16, 2013 7:42 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1376961

Re: Naze32 hardware discussion thread

the amazing Thing of the ten dollar board are the mems devices.
surprisingly good - even better as the mpu60x0.
by brm
Wed Sep 11, 2013 5:23 pm
Forum: Ideas
Topic: Implement features from BradWii softwere
Replies: 6
Views: 2993

Re: Implement features from BradWii softwere

Hooch wrote:Hello.
-Throttle helper (increased throttle when you angle your quadcopter - you will not loose altitude)


that Needs to be handled in alt- hold.
else you have two places where the throttle is being increased.
by brm
Wed Sep 11, 2013 5:15 pm
Forum: Software development
Topic: MSP protocol documentation
Replies: 32
Views: 10175

Re: MSP protocol documentation

timecop wrote:Having descriptive variable names will increase code size.

bad Compiler - use a better one.
by brm
Wed Sep 11, 2013 5:12 pm
Forum: Boards
Topic: Baseflight improved althold
Replies: 40
Views: 13897

Re: Baseflight improved althold

the file with the code snippets has a Copyright at the very beginning.
you obviously did not copy them.

i am not a fan doing so.

here it is just a Placebo test.
no Feedback no source code - that simple.
by brm
Wed Sep 11, 2013 5:10 pm
Forum: Software development
Topic: MSP protocol documentation
Replies: 32
Views: 10175

Re: MSP protocol documentation

Alexinparis: Did you agree to that: m ? It's sole purpose is to send a CPU ID to make it possible to exclude unwanted hardware. Is that in the spirit of multiwii or just born in 2 sick brains? ups - got a head Crash recently? imagine you have a mesh Network. how to address the correct node? the uni...